Legoktm has uploaded a new change for review.

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


Change subject: Replace usage of SpecialPage::getTitle with getPageTitle
......................................................................

Replace usage of SpecialPage::getTitle with getPageTitle

Was deprecated in 1.23, see Icdcf5d5295ef5e7f08b1d403e0c123f78738fd40

Change-Id: I3fca7b060bc7c4e575100afc343fc8ab38380a62
---
M includes/ZeroSpecialPage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess 
refs/changes/07/104007/1

diff --git a/includes/ZeroSpecialPage.php b/includes/ZeroSpecialPage.php
index 0b0cfbf..63e514e 100644
--- a/includes/ZeroSpecialPage.php
+++ b/includes/ZeroSpecialPage.php
@@ -144,7 +144,7 @@
                $output .= Html::element( 'hr' );
                $output .= wfMessage( 
'zero-rated-mobile-access-home-page-selection-text' )->escaped();
                $output .= Html::openElement( 'form' );
-               $currentTitle = $this->getTitle();
+               $currentTitle = $this->getPageTitle();
                $defaultUrl = MobileContext::singleton()->getMobileUrl( 
$currentTitle->getFullURL() );
                $output .= Html::element( 'input', array( 'type' => 'hidden',
                        'name' => 'from',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3fca7b060bc7c4e575100afc343fc8ab38380a62
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroRatedMobileAccess
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to