r35804 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35803‎ | r35804 | r35805 >
Date:16:43, 3 June 2008
Author:raymond
Status:old
Tags:
Comment:
Allow wikisyntax in these messages. Makes it easier to link to help pages in tbe projects
Modified paths:
  • /trunk/phase3/includes/SpecialUserlogin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialUserlogin.php
@@ -856,15 +856,15 @@
857857
858858 if ( !$this->hasSessionCookie() ) {
859859 if ( $type == 'new' ) {
860 - return $this->mainLoginForm( wfMsg( 'nocookiesnew' ) );
 860+ return $this->mainLoginForm( wfMsgExt( 'nocookiesnew', array( 'parseinline' ) ) );
861861 } else if ( $type == 'login' ) {
862 - return $this->mainLoginForm( wfMsg( 'nocookieslogin' ) );
 862+ return $this->mainLoginForm( wfMsgExt( 'nocookieslogin', array( 'parseinline' ) ) );
863863 } else {
864864 # shouldn't happen
865865 return $this->mainLoginForm( wfMsg( 'error' ) );
866866 }
867867 } else {
868 - return $this->successfulLogin( wfMsg( 'loginsuccess', $wgUser->getName() ) );
 868+ return $this->successfulLogin( wfMsgExt( 'loginsuccess', array( 'parseinline' ), $wgUser->getName() ) );
869869 }
870870 }
871871

Status & tagging log