Bartosz Dziewoński 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: I560157cbd0f69bf5b1956474a70bb49e564ac08d
---
M includes/CE_GlobalFunctions.php
M specials/Comment/CE_CommentSpecial.php
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Bartosz Dziewoński: Verified; Looks good to me, approved
diff --git a/includes/CE_GlobalFunctions.php b/includes/CE_GlobalFunctions.php
index 69226bd..cdeadd1 100644
--- a/includes/CE_GlobalFunctions.php
+++ b/includes/CE_GlobalFunctions.php
@@ -351,7 +351,7 @@
{
$uploadWindowPage = SpecialPage::getPage(
'UploadWindow' );
if( isset( $uploadWindowPage ) ) {
- $uploadWindowUrl =
$uploadWindowPage->getTitle()->getFullURL( 'sfDelimiter=' .
+ $uploadWindowUrl =
$uploadWindowPage->getPageTitle()->getFullURL( 'sfDelimiter=' .
urlencode( $cegDefaultDelimiter ) .
'&sfInputID=collabComEditFormFileAttach' .
'&wpIgnoreWarning=true'
);
diff --git a/specials/Comment/CE_CommentSpecial.php
b/specials/Comment/CE_CommentSpecial.php
index 0fa098f..247ca0c 100644
--- a/specials/Comment/CE_CommentSpecial.php
+++ b/specials/Comment/CE_CommentSpecial.php
@@ -70,7 +70,7 @@
$popt = new ParserOptions();
$popt->setEditSection(false);
- $pout = $wgParser->parse($queryText, $this->getTitle(), $popt);
+ $pout = $wgParser->parse($queryText, $this->getPageTitle(),
$popt);
$result = $pout->getText();
$wgOut->addHTML($result);
wfProfileOut( __METHOD__ . ' [SemanticComments]' );
--
To view, visit https://gerrit.wikimedia.org/r/103983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I560157cbd0f69bf5b1956474a70bb49e564ac08d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticComments
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits