Update comment from addConfig to onResourceLoaderGetConfigVars
In f0c6bec1ac the function addConfig was
renamed to onResourceLoaderGetConfigVars.
Change-Id: I1fd7242b676e90366fbe5bfb95e6e0e3497b917f
This commit is contained in:
@@ -169,8 +169,8 @@ class UniversalLanguageSelectorHooks implements
|
|||||||
$out->addModules( 'ext.uls.interface' );
|
$out->addModules( 'ext.uls.interface' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is added here, and not in addConfig to allow skins and extensions to vary it
|
// This is added here, and not in onResourceLoaderGetConfigVars to allow skins and extensions
|
||||||
// For example, ContentTranslation special pages depend on being able to change it.
|
// to vary it. For example, ContentTranslation special pages depend on being able to change it.
|
||||||
$out->addJsConfigVars( $config );
|
$out->addJsConfigVars( $config );
|
||||||
|
|
||||||
if ( $this->config->get( 'ULSPosition' ) === 'personal' ) {
|
if ( $this->config->get( 'ULSPosition' ) === 'personal' ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user