Update comment from addConfig to onResourceLoaderGetConfigVars

In f0c6bec1ac the function addConfig was
renamed to onResourceLoaderGetConfigVars.

Change-Id: I1fd7242b676e90366fbe5bfb95e6e0e3497b917f
This commit is contained in:
Fomafix
2021-11-21 21:38:08 +00:00
committed by jenkins-bot
parent 6ee366a2c8
commit bd4a6f20a3

View File

@@ -169,8 +169,8 @@ class UniversalLanguageSelectorHooks implements
$out->addModules( 'ext.uls.interface' );
}
// This is added here, and not in addConfig to allow skins and extensions to vary it
// For example, ContentTranslation special pages depend on being able to change it.
// This is added here, and not in onResourceLoaderGetConfigVars to allow skins and extensions
// to vary it. For example, ContentTranslation special pages depend on being able to change it.
$out->addJsConfigVars( $config );
if ( $this->config->get( 'ULSPosition' ) === 'personal' ) {