Fix for r61055: single-quoted strings doesn't replace \n with newlines :)
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 9 Apr 2010 07:16:12 +0000 (07:16 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 9 Apr 2010 07:16:12 +0000 (07:16 +0000)
includes/OutputPage.php

index eec5620..38b3ef3 100644 (file)
@@ -1911,7 +1911,7 @@ class OutputPage {
                        // Wiki is read only
                        $this->setPageTitle( wfMsg( 'readonly' ) );
                        $reason = wfReadOnlyReason();
-                       $this->wrapWikiMsg( '<div class="mw-readonly-error">\n$1</div>', array( 'readonlytext', $reason ) );
+                       $this->wrapWikiMsg( "<div class='mw-readonly-error'>\n$1</div>", array( 'readonlytext', $reason ) );
                }
 
                // Show source, if supplied