Allow the main functionality of ULS to be disabled

Allow the cache-breaking toolbar and cookie-based user language
selection features to be disabled, while still allowing Wikibase to have
its language autocompletion drop-downs on special pages.

Change-Id: Iba18f666fdcf5b87b7068ab6b1537c868c8fe861
This commit is contained in:
Tim Starling
2012-11-15 16:27:23 +11:00
parent a844d86849
commit 6abb1b3d4a
2 changed files with 23 additions and 2 deletions

View File

@@ -68,6 +68,14 @@ $wgULSIMEEnabled = true;
*/
$wgULSLanguageDetection = true;
/**
* Enable language selection. If language selection is disabled, the classes
* and RL modules are registered for the use of other extensions, but no
* language selection toolbar is shown, and it will not be possible to change
* the interface language using a cookie.
*/
$wgULSEnable = true;
$dir = __DIR__;
// Internationalization