Legoktm has uploaded a new change for review.

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

Change subject: Don't use deprecated IContextSource::getLang
......................................................................

Don't use deprecated IContextSource::getLang

Change-Id: Ic6c79fb2a8e11b6fa461656012952a7d6fc9ee8c
---
M BookManagerv2.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BookManagerv2 
refs/changes/76/139776/1

diff --git a/BookManagerv2.hooks.php b/BookManagerv2.hooks.php
index 8d2333e..5af91b0 100644
--- a/BookManagerv2.hooks.php
+++ b/BookManagerv2.hooks.php
@@ -232,7 +232,7 @@
         * @return string HTML list item element
         */
        public static function addDate( $i18n, $date, $format, $context ) {
-               $lang = $context->getLang();
+               $lang = $context->getLanguage();
                $user = $context->getUser();
 
                $year = $month = $day = null;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6c79fb2a8e11b6fa461656012952a7d6fc9ee8c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BookManagerv2
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

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

Reply via email to