TerraCodes has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/393126 )

Change subject: $wmf* -> $wmg*
......................................................................

$wmf* -> $wmg*

Part of https://gerrit.wikimedia.org/r/#/c/392184/

Bug: T45956
Change-Id: Id41b30fea99d855199a0d73a22f8dfa4d63aca28
---
M .phpcs.xml
M WikimediaMessages.hooks.php
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaMessages 
refs/changes/26/393126/1

diff --git a/.phpcs.xml b/.phpcs.xml
index cb8a83c..010dbb2 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -7,7 +7,7 @@
        </rule>
        <rule ref="MediaWiki.NamingConventions.ValidGlobalName">
                <properties>
-                       <property name="ignoreList" type="array" 
value="$wmfRealm" />
+                       <property name="ignoreList" type="array" 
value="$wmgRealm" />
                </properties>
        </rule>
        <file>.</file>
diff --git a/WikimediaMessages.hooks.php b/WikimediaMessages.hooks.php
index d9b4cec..14f8232 100644
--- a/WikimediaMessages.hooks.php
+++ b/WikimediaMessages.hooks.php
@@ -20,7 +20,7 @@
         * @return bool
         */
        public static function onMessageCacheGet( &$lcKey ) {
-               global $wgLanguageCode, $wmfRealm;
+               global $wgLanguageCode, $wmgRealm;
 
                static $keys = [
                        'acct_creation_throttle_hit',
@@ -46,7 +46,7 @@
                        'ipb-confirmhideuser', // T121639
                ];
 
-               if ( $wmfRealm === 'labs' && $lcKey === 'privacypage' ) {
+               if ( $wmgRealm === 'labs' && $lcKey === 'privacypage' ) {
                        $lcKey = 'wikimedia-privacypage-labs';
                } else {
                        if ( in_array( $lcKey, $keys, true ) ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/393126
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id41b30fea99d855199a0d73a22f8dfa4d63aca28
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikimediaMessages
Gerrit-Branch: master
Gerrit-Owner: TerraCodes <terraco...@tools.wmflabs.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to