Index: trunk/phase3/includes/SpecialUserlogin.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | * @subpackage SpecialPage |
27 | 27 | */ |
28 | 28 | class LoginForm { |
29 | | - var $mName, $mPassword, $mRetype, $mReturnto, $mCookieCheck, $mPosted; |
| 29 | + var $mName, $mPassword, $mRetype, $mReturnTo, $mCookieCheck, $mPosted; |
30 | 30 | var $mAction, $mCreateaccount, $mCreateaccountMail, $mMailmypassword; |
31 | 31 | var $mLoginattempt, $mRemember, $mEmail, $mDomain; |
32 | 32 | |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | $this->mPassword = $request->getText( 'wpPassword' ); |
44 | 44 | $this->mRetype = $request->getText( 'wpRetype' ); |
45 | 45 | $this->mDomain = $request->getText( 'wpDomain' ); |
46 | | - $this->mReturnto = $request->getVal( 'returnto' ); |
| 46 | + $this->mReturnTo = $request->getVal( 'returnto' ); |
47 | 47 | $this->mCookieCheck = $request->getVal( 'wpCookieCheck' ); |
48 | 48 | $this->mPosted = $request->wasPosted(); |
49 | 49 | $this->mCreateaccount = $request->getCheck( 'wpCreateaccount' ); |
— | — | @@ -71,8 +71,8 @@ |
72 | 72 | $wgAuth->setDomain( $this->mDomain ); |
73 | 73 | |
74 | 74 | # When switching accounts, it sucks to get automatically logged out |
75 | | - if( $this->mReturnto == $wgLang->specialPage( 'Userlogout' ) ) { |
76 | | - $this->mReturnto = ''; |
| 75 | + if( $this->mReturnTo == $wgLang->specialPage( 'Userlogout' ) ) { |
| 76 | + $this->mReturnTo = ''; |
77 | 77 | } |
78 | 78 | } |
79 | 79 | |
— | — | @@ -421,7 +421,7 @@ |
422 | 422 | $wgOut->setRobotpolicy( 'noindex,nofollow' ); |
423 | 423 | $wgOut->setArticleRelated( false ); |
424 | 424 | $wgOut->addWikiText( $msg ); |
425 | | - if ( !empty( $this->mReturnto ) ) { |
| 425 | + if ( !empty( $this->mReturnTo ) ) { |
426 | 426 | $wgOut->returnToMain( $auto, $this->mReturnTo ); |
427 | 427 | } else { |
428 | 428 | $wgOut->returnToMain( $auto ); |
— | — | @@ -475,8 +475,8 @@ |
476 | 476 | $linkmsg = 'nologin'; |
477 | 477 | } |
478 | 478 | |
479 | | - if ( !empty( $this->mReturnto ) ) { |
480 | | - $returnto = '&returnto=' . wfUrlencode( $this->mReturnto ); |
| 479 | + if ( !empty( $this->mReturnTo ) ) { |
| 480 | + $returnto = '&returnto=' . wfUrlencode( $this->mReturnTo ); |
481 | 481 | $q .= $returnto; |
482 | 482 | $linkq .= $returnto; |
483 | 483 | } |