From: Alexandre Emsenhuber Date: Fri, 12 Sep 2008 22:24:15 +0000 (+0000) Subject: and pass the reason too *stab* X-Git-Tag: 1.31.0-rc.0~45342 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=518f7e58b285b0885d6faff61149a9ca584875f1;p=lhc%2Fweb%2Fwiklou.git and pass the reason too *stab* --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 9814b71c01..17a774d50d 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->wrapWikiMsg( '
$1
', 'readonlytext' ); + $this->wrapWikiMsg( '
$1
', array( 'readonlytext', $reason ) ); } // Show source, if supplied