Follow up r67798. Use wfMsgExt() with 'parseinline' and 'replaceafter' as pointed...
authorPlatonides <platonides@users.mediawiki.org>
Thu, 10 Jun 2010 11:53:59 +0000 (11:53 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 10 Jun 2010 11:53:59 +0000 (11:53 +0000)
includes/specials/SpecialUserlogin.php

index 84f8fdd..ed1bbc0 100644 (file)
@@ -982,7 +982,7 @@ class LoginForm {
 
                # Don't show a "create account" link if the user can't
                if( $this->showCreateOrLoginLink( $wgUser ) )
-                       $template->set( 'link', preg_replace('/(^<p>|<\/p>$)/', '', wfMsgWikiHtml( $linkmsg, $link ) ) );
+                       $template->set( 'link', wfMsgExt( $linkmsg, array( 'parseinline', 'replaceafter' ), $link ) );
                else
                        $template->set( 'link', '' );