[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH] Preferences: disable the Terminology module by default

"Adrien Mbuya Maloba \(@adrienmaloba\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69ef9278555ae_383a4ff80954cb@gitlab-sidekiq-low-urgency-cpu-bound-v2-5457c646d7-q28mt.mail>

Adrien Mbuya Maloba pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
18b3e878 by NasserNgandu at 2026-04-27T19:37:10+03:00
[ENH] Preferences: disable the Terminology module by default
---
* [ENH] Preferences: disable the Terminology module by default

See merge request tikiwiki/tiki!10011

- - - - -


2 changed files:

- lib/prefs/module.php
- modules/mod-func-terminology.php


Changes:

=====================================
lib/prefs/module.php
=====================================
@@ -108,7 +108,7 @@ function prefs_module_list()
             'name' => $modinfo['name'],
             'type' => 'flag',
             'description' => $modinfo['description'],
-            'default' => 'y',
+            'default' => ($modinfo['pref_enabled_by_default'] ?? 'y') === 'y' ? 'y' : 'n',
         ];
     }
     return $pref_modules;


=====================================
modules/mod-func-terminology.php
=====================================
@@ -21,7 +21,8 @@ function module_terminology_info()
                                                 . tra('Defaults to \'Term\''),
                 'profile_reference' => 'category',
             ],
-        ]
+        ],
+        'pref_enabled_by_default' => false,
     ];
 }
 



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/18b3e878198456ac6f9e857563d6fcfc96d25b2f

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/18b3e878198456ac6f9e857563d6fcfc96d25b2f
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.