Follow-up r61055: prevent "\n" appearing as text.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Wed, 3 Feb 2010 15:57:54 +0000 (15:57 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Wed, 3 Feb 2010 15:57:54 +0000 (15:57 +0000)
includes/Article.php

index 8168024..f575df1 100644 (file)
@@ -1215,7 +1215,7 @@ class Article {
                        $id = User::idFromName( $rootPart );
                        $ip = User::isIP( $rootPart );
                        if ( $id == 0 && !$ip ) { # User does not exist
-                               $wgOut->wrapWikiMsg( '<div class="mw-userpage-userdoesnotexist error">\n$1</div>',
+                               $wgOut->wrapWikiMsg( "<div class=\"mw-userpage-userdoesnotexist error\">\n\$1</div>",
                                        array( 'userpage-userdoesnotexist-view', $rootPart ) );
                        }
                }