Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/139778
Change subject: Don't use deprecated IContextSource::getLang
......................................................................
Don't use deprecated IContextSource::getLang
Change-Id: I365a785b58e42138b29c7f3609b5b12c2cf234df
---
M VideoClass.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Video
refs/changes/78/139778/1
diff --git a/VideoClass.php b/VideoClass.php
index 4fbe9b3..16c9507 100644
--- a/VideoClass.php
+++ b/VideoClass.php
@@ -246,7 +246,7 @@
foreach( $categories_array as $ctg ) {
$ctg = trim( $ctg );
if( $ctg ) {
- $catName =
$this->context->getLang()->getNsText( NS_CATEGORY );
+ $catName =
$this->context->getLanguage()->getNsText( NS_CATEGORY );
$tag = "[[{$catName}:{$ctg}]]";
if( strpos( $categoryWikiText, $tag )
=== false ) {
$categoryWikiText .= "\n{$tag}";
--
To view, visit https://gerrit.wikimedia.org/r/139778
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I365a785b58e42138b29c7f3609b5b12c2cf234df
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Video
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits