From 85ccef34c1c31bdd1ba72c2c89b4e1f312dffa01 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 3 Jun 2008 16:43:11 +0000 Subject: [PATCH] Allow wikisyntax in these messages. Makes it easier to link to help pages in tbe projects --- includes/SpecialUserlogin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() ) ); } } -- 2.20.1