Siebrand has uploaded a new change for review.

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

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

Replace deprecated Language::getLanguageName()

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


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

diff --git a/Polyglot.php b/Polyglot.php
index 176d818..7836c5c 100644
--- a/Polyglot.php
+++ b/Polyglot.php
@@ -330,7 +330,7 @@
                $nt = Title::newFromText( $l );
                $language_urls[] = array(
                        'href' => $nt->getFullURL(),
-                       'text' => $wgContLang->getLanguageName( $lang ),
+                       'text' => $wgContLang->fetchLanguageName( $lang ),
                        'class' => 'interwiki-' . $lang,
                );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibcbd089c61d1f6633dfc9c7fc2d24fe3e8085a60
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