r56704 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56703‎ | r56704 | r56705 >
Date:14:19, 21 September 2009
Author:happy-melon
Status:reverted
Tags:
Comment:
Follow-up to r56684 - fix message parameters for Login::ILLEGAL
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserlogin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUserlogin.php
@@ -460,9 +460,9 @@
461461
462462 case Login::NOT_EXISTS:
463463 if( $wgUser->isAllowed( 'createaccount' ) ){
464 - $this->mainLoginForm( wfMsgExt( 'nosuchuser', 'parseinline', htmlspecialchars( $this->mName ) ) );
 464+ $this->mainLoginForm( wfMsgExt( 'nosuchuser', 'parseinline', htmlspecialchars( $this->mUsername ) ) );
465465 } else {
466 - $this->mainLoginForm( wfMsgExt( 'nosuchusershort', 'parseinline', htmlspecialchars( $this->mName ) ) );
 466+ $this->mainLoginForm( wfMsgExt( 'nosuchusershort', 'parseinline', htmlspecialchars( $this->mUsername ) ) );
467467 }
468468 break;
469469

Follow-up revisions

RevisionCommit summaryAuthorDate
r56937Revert broken rewrite of login system; totally broken....brion00:49, 26 September 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56684Merge in Login rewrite, second time lucky.happy-melon20:28, 20 September 2009

Status & tagging log