Put new compact language links Beta Feature behind a feature flag
Add new $wgULSCompactLinks feature flag, defaulting to false (as is standard for Beta Features). Only allow enabling of the feature if ULS position is 'interlanguage'. Change-Id: Ia268c3a49b5aa14b6a00e33c7f01a61eba48e776
This commit is contained in:
committed by
James D. Forrester
parent
fd92954e1c
commit
7f405134c7
@@ -172,6 +172,16 @@ $GLOBALS['wgULSNoWebfontsSelectors'] = array( '#p-lang li.interlanguage-link > a
|
||||
*/
|
||||
$GLOBALS['wgULSFontRepositoryBasePath'] = false;
|
||||
|
||||
/**
|
||||
* Whether the "Compact language links" Beta Feature is exposed. Requires
|
||||
* $wgULSPosition to be 'interlanguage'.
|
||||
*
|
||||
* Defaults to false.
|
||||
*
|
||||
* @since 2014.03
|
||||
*/
|
||||
$GLOBALS['wgULSCompactLinks'] = false;
|
||||
|
||||
// Internationalization
|
||||
$GLOBALS['wgExtensionMessagesFiles']['UniversalLanguageSelector'] =
|
||||
__DIR__ . '/UniversalLanguageSelector.i18n.php';
|
||||
|
||||
Reference in New Issue
Block a user