From: Raimond Spekking Date: Tue, 3 Jun 2008 16:43:11 +0000 (+0000) Subject: Allow wikisyntax in these messages. Makes it easier to link to help pages in tbe... X-Git-Tag: 1.31.0-rc.0~47209 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=85ccef34c1c31bdd1ba72c2c89b4e1f312dffa01;p=lhc%2Fweb%2Fwiklou.git Allow wikisyntax in these messages. Makes it easier to link to help pages in tbe projects --- diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index 70323f21df..57737d4da2 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -856,15 +856,15 @@ class LoginForm { if ( !$this->hasSessionCookie() ) { if ( $type == 'new' ) { - return $this->mainLoginForm( wfMsg( 'nocookiesnew' ) ); + return $this->mainLoginForm( wfMsgExt( 'nocookiesnew', array( 'parseinline' ) ) ); } else if ( $type == 'login' ) { - return $this->mainLoginForm( wfMsg( 'nocookieslogin' ) ); + return $this->mainLoginForm( wfMsgExt( 'nocookieslogin', array( 'parseinline' ) ) ); } else { # shouldn't happen return $this->mainLoginForm( wfMsg( 'error' ) ); } } else { - return $this->successfulLogin( wfMsg( 'loginsuccess', $wgUser->getName() ) ); + return $this->successfulLogin( wfMsgExt( 'loginsuccess', array( 'parseinline' ), $wgUser->getName() ) ); } }