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: I771f42d23b0df4aaf77d0ec0d842d24cdad7ebb7
---
M SpecialOpenID.body.php
M SpecialOpenIDConvert.body.php
M SpecialOpenIDLogin.body.php
M SpecialOpenIDServer.body.php
4 files changed, 9 insertions(+), 9 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
diff --git a/SpecialOpenID.body.php b/SpecialOpenID.body.php
index 39c73a0..22a34d2 100644
--- a/SpecialOpenID.body.php
+++ b/SpecialOpenID.body.php
@@ -378,7 +378,7 @@
function scriptUrl( $par = false ) {
if ( !is_object( $par ) ) {
- $nt = $this->getTitle( $par );
+ $nt = $this->getPageTitle( $par );
} else {
$nt = $par;
}
diff --git a/SpecialOpenIDConvert.body.php b/SpecialOpenIDConvert.body.php
index b24e091..89c622f 100644
--- a/SpecialOpenIDConvert.body.php
+++ b/SpecialOpenIDConvert.body.php
@@ -269,7 +269,7 @@
Html::rawElement( 'form',
array(
'id' => 'openid_form',
- 'action' =>
$this->getTitle()->getLocalUrl(),
+ 'action' =>
$this->getPageTitle()->getLocalUrl(),
'method' => 'post',
'onsubmit' => 'openid.update()'
),
@@ -336,7 +336,7 @@
$wgOut->addHtml(
Xml::openElement( 'form',
array(
- 'action' => $this->getTitle( 'Delete'
)->getLocalUrl(),
+ 'action' => $this->getPageTitle(
'Delete' )->getLocalUrl(),
'method' => 'post'
)
) .
diff --git a/SpecialOpenIDLogin.body.php b/SpecialOpenIDLogin.body.php
index 2f58c4c..ee1871c 100644
--- a/SpecialOpenIDLogin.body.php
+++ b/SpecialOpenIDLogin.body.php
@@ -118,7 +118,7 @@
}
if ( !is_null( $openid_url ) && strlen( $openid_url ) >
0 ) {
- $this->login( $openid_url, $this->getTitle(
'Finish' ), $skipTokenTestBecauseForcedProvider );
+ $this->login( $openid_url, $this->getPageTitle(
'Finish' ), $skipTokenTestBecauseForcedProvider );
} else {
$this->providerSelectionLoginForm();
}
@@ -163,7 +163,7 @@
Html::rawElement( 'form',
array(
'id' => 'openid_form',
- 'action' =>
$this->getTitle()->getLocalUrl(),
+ 'action' =>
$this->getPageTitle()->getLocalUrl(),
'method' => 'post',
'onsubmit' => 'openid.update()'
),
@@ -218,7 +218,7 @@
$wgOut->addHTML(
Xml::openElement( 'form',
array(
- 'action' => $this->getTitle(
'ChooseName' )->getLocalUrl(),
+ 'action' => $this->getPageTitle(
'ChooseName' )->getLocalUrl(),
'method' => 'POST'
)
) .
diff --git a/SpecialOpenIDServer.body.php b/SpecialOpenIDServer.body.php
index b75de13..1af59f5 100644
--- a/SpecialOpenIDServer.body.php
+++ b/SpecialOpenIDServer.body.php
@@ -354,7 +354,7 @@
$query = array(
'wpName' => $otherName,
- 'returnto' => $this->getTitle(
'Continue' )->getPrefixedURL(),
+ 'returnto' => $this->getPageTitle(
'Continue' )->getPrefixedURL(),
);
$title = SpecialPage::getTitleFor( 'Userlogin'
);
@@ -593,7 +593,7 @@
$wgOut->addHtml(
Xml::openElement( 'form',
array(
- 'action' => $this->getTitle(
'DeleteTrustedSite' )->getLocalUrl(),
+ 'action' => $this->getPageTitle(
'DeleteTrustedSite' )->getLocalUrl(),
'method' => 'post'
)
) .
@@ -962,6 +962,6 @@
* @return String
*/
function serverUrl() {
- return $this->getTitle()->getFullURL( '', false,
PROTO_CANONICAL );
+ return $this->getPageTitle()->getFullURL( '', false,
PROTO_CANONICAL );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/103961
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I771f42d23b0df4aaf77d0ec0d842d24cdad7ebb7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OpenID
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits