From: Alexandre Emsenhuber Date: Fri, 9 Apr 2010 07:16:12 +0000 (+0000) Subject: Fix for r61055: single-quoted strings doesn't replace \n with newlines :) X-Git-Tag: 1.31.0-rc.0~37210 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=fd62d7fdfafff4d068b460985b9edc8b774d0279;p=lhc%2Fweb%2Fwiklou.git Fix for r61055: single-quoted strings doesn't replace \n with newlines :) --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index eec5620b93..38b3ef3baa 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1911,7 +1911,7 @@ class OutputPage { // Wiki is read only $this->setPageTitle( wfMsg( 'readonly' ) ); $reason = wfReadOnlyReason(); - $this->wrapWikiMsg( '
\n$1
', array( 'readonlytext', $reason ) ); + $this->wrapWikiMsg( "
\n$1
", array( 'readonlytext', $reason ) ); } // Show source, if supplied