Skip to content

Commit

Permalink
Replace usage of SpecialPage::getTitle with getPageTitle
Browse files Browse the repository at this point in the history
Was deprecated in 1.23, see https://gerrit.wikimedia.org/r/#/c/103587/

Thanks to Legoktm for reporting there error here: https://gerrit.wikimedia.org/r/#/c/103934/
  • Loading branch information
garbear committed Dec 30, 2013
1 parent 388b042 commit 1b1b439
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Facebook/SpecialConnect.php
Expand Up @@ -833,7 +833,7 @@ private function debugView() {

// Add an option to debug Open Graph objects
$html .= '
<form action="' . $this->getTitle('Debug')->getLocalUrl() . '" method="POST" style="padding-left:14px;">
<form action="' . $this->getPageTitle('Debug')->getLocalUrl() . '" method="POST" style="padding-left:14px;">
<h3>' . wfMsg('facebook-object-debug-title') . '</h3>
<label for="wpPageName"><p>' . wfMsg('facebook-object-debug') . '</p></label>
<input name="wpPageName" id="wpPageName" size="42" value="" style="font-size:1.75em;" /> &nbsp;
Expand Down Expand Up @@ -1025,7 +1025,7 @@ public function getChooseNameForm($userinfo, $messageKey = '', $existingName = '
$html = wfMsgWikiHtml( $messageKey );

$html .= '
<form action="' . $this->getTitle('ChooseName')->getLocalUrl() . '" method="POST">
<form action="' . $this->getPageTitle('ChooseName')->getLocalUrl() . '" method="POST">
<fieldset id="mw-facebook-choosename">
<legend>' . wfMsg('facebook-chooselegend') . '</legend>
<table>';
Expand Down Expand Up @@ -1225,7 +1225,7 @@ public function getMergeAccountForm($userinfo) {
global $wgSitename;

$html = '
<form action="' . $this->getTitle('MergeAccount')->getLocalUrl() . '" method="POST">
<form action="' . $this->getPageTitle('MergeAccount')->getLocalUrl() . '" method="POST">
<fieldset id="mw-facebook-chooseoptions">
<legend>' . wfMsg('facebook-updatelegend') . '</legend>
' . wfMsgExt('facebook-merge-text', 'parse', array('$1' => $wgSitename )) .
Expand Down Expand Up @@ -1301,7 +1301,7 @@ public function getLogoutAndContinueForm($userinfo, $userId) {
' . wfMsgExt('facebook-continue-text', 'parse', array(
'$1' => '[[' . $wgContLang->getNsText( NS_USER ) . ":$username|$username]]")
) . '
<form action="' . $this->getTitle('LogoutAndContinue')->getLocalUrl() . '" method="post">
<form action="' . $this->getPageTitle('LogoutAndContinue')->getLocalUrl() . '" method="post">
<input type="submit" value="' . wfMsg( 'facebook-continue-button' ) . '" />';
if ( !empty( $this->mReturnTo ) ) {
$html .= '
Expand Down

0 comments on commit 1b1b439

Please sign in to comment.