From: Chad Horohoe Date: Fri, 12 Sep 2008 22:00:57 +0000 (+0000) Subject: Add a unique identifier for read-only pages. X-Git-Tag: 1.31.0-rc.0~45345 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=b7353a746f3b4f96bdc8c6c3b809ebf80eaef7ef;p=lhc%2Fweb%2Fwiklou.git Add a unique identifier for read-only pages. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index f90febbe77..25a71805af 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1252,7 +1252,7 @@ class OutputPage { // Wiki is read only $this->setPageTitle( wfMsg( 'readonly' ) ); $reason = wfReadOnlyReason(); - $this->addWikiMsg( 'readonlytext', $reason ); + $wgOut->wrapWikiMsg( '
$1
', 'readonlytext' ); } // Show source, if supplied