jenkins-bot has submitted this change and it was merged.

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: I85e86fc836c408154ae531fa6fcd7edcb30fe2fe
---
M Collection.body.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  MaxSem: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Collection.body.php b/Collection.body.php
index 02eb105..820f5e8 100644
--- a/Collection.body.php
+++ b/Collection.body.php
@@ -81,7 +81,7 @@
                                return;
                        case 'stop_book_creator':
                                $title = Title::newFromText( $request->getVal( 
'referer', '' ) );
-                               if ( is_null( $title ) || $title->equals( 
$this->getTitle( $par ) ) ) {
+                               if ( is_null( $title ) || $title->equals( 
$this->getPageTitle( $par ) ) ) {
                                        $title = Title::newMainPage();
                                }
                                if ( $request->getVal( 'disable' ) ) {
@@ -344,7 +344,7 @@
                        "</script>" );
 
                $title = Title::newFromText( $referer );
-               if ( is_null( $title ) || $title->equals( $this->getTitle( $par 
) ) ) {
+               if ( is_null( $title ) || $title->equals( $this->getPageTitle( 
$par ) ) ) {
                        $title = Title::newMainPage();
                }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I85e86fc836c408154ae531fa6fcd7edcb30fe2fe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Collection
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to