r103182 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103181‎ | r103182 | r103183 >
Date:15:56, 15 November 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix syntax error

Explicitly define some member variables
Modified paths:
  • /trunk/extensions/CentralAuth/specials/SpecialMergeAccount.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/specials/SpecialMergeAccount.php
@@ -1,6 +1,8 @@
22 <?php
33
44 class SpecialMergeAccount extends SpecialPage {
 5+
 6+ protected $mUserName, $mAttemptMerge, $mMergeAction, $mPassword, $mWikiIDs, $mSessionToken, $mSessionKey;
57 function __construct() {
68 parent::__construct( 'MergeAccount', 'centralauth-merge' );
79 }
@@ -17,7 +19,7 @@
1820
1921 if ( !$wgUser->isLoggedIn() ) {
2022 $loginpage = SpecialPage::getTitleFor( 'Userlogin' );
21 - $loginurl = $loginpage->getFullUrl( array( 'returnto' => $this->getTitle->getPrefixedText() ) );
 23+ $loginurl = $loginpage->getFullUrl( array( 'returnto' => $this->getTitle()->getPrefixedText() ) );
2224 $wgOut->addWikiMsg( 'centralauth-merge-notlogged', $loginurl );
2325 $wgOut->addWikiMsg( 'centralauth-readmore-text' );
2426

Status & tagging log