From b7353a746f3b4f96bdc8c6c3b809ebf80eaef7ef Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 12 Sep 2008 22:00:57 +0000 Subject: [PATCH] Add a unique identifier for read-only pages. --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1