From bd4a6f20a31546a43976d7089a3cf1630d636f71 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Sun, 21 Nov 2021 21:38:08 +0000 Subject: [PATCH] Update comment from addConfig to onResourceLoaderGetConfigVars In f0c6bec1accc513f6c4931c56a72ba83ff6c364f the function addConfig was renamed to onResourceLoaderGetConfigVars. Change-Id: I1fd7242b676e90366fbe5bfb95e6e0e3497b917f --- includes/UniversalLanguageSelectorHooks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/UniversalLanguageSelectorHooks.php b/includes/UniversalLanguageSelectorHooks.php index f310a1be..36521e07 100644 --- a/includes/UniversalLanguageSelectorHooks.php +++ b/includes/UniversalLanguageSelectorHooks.php @@ -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' ) {