From 749a722e717c88fdf485fb851af31310d2c72f33 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 12 Sep 2008 22:22:32 +0000 Subject: [PATCH] $this is better that $wgOut :P --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1