Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/275549

Change subject: Replace deprecated Language::getLanguageNames()
......................................................................

Replace deprecated Language::getLanguageNames()

Change-Id: I0f14396509c09b949c25397ed2e8459f7752ea5f
---
M Polyglot.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Polyglot 
refs/changes/49/275549/1

diff --git a/Polyglot.php b/Polyglot.php
index 72546b7..176d818 100644
--- a/Polyglot.php
+++ b/Polyglot.php
@@ -88,7 +88,7 @@
        }
 
        if ( $wgPolyglotLanguages === null ) {
-               $wgPolyglotLanguages = array_keys( Language::getLanguageNames() 
);
+               $wgPolyglotLanguages = array_keys( 
Language::fetchLanguageNames() );
        }
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f14396509c09b949c25397ed2e8459f7752ea5f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Polyglot
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to