From: Alexandre Emsenhuber Date: Fri, 12 Sep 2008 22:22:32 +0000 (+0000) Subject: $this is better that $wgOut :P X-Git-Tag: 1.31.0-rc.0~45343 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=749a722e717c88fdf485fb851af31310d2c72f33;p=lhc%2Fweb%2Fwiklou.git $this is better that $wgOut :P --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 71eb8a4cc7..9814b71c01 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(); - $wgOut->wrapWikiMsg( '
$1
', 'readonlytext' ); + $this->wrapWikiMsg( '
$1
', 'readonlytext' ); } // Show source, if supplied