From 05c39f42a80322c1cf7ce43271afdcd77fce9c0a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 10 Jul 2005 00:24:23 +0000 Subject: [PATCH] * Fix nohistory message on empty page history --- RELEASE-NOTES | 3 ++- includes/PageHistory.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 8ae723f460..7688e0cd30 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -551,8 +551,9 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 1553) Stop forcing lowercase in Monobook skin for German language. * (bug 1064) Implements Special:Unusedcategories * (bug 2311) New language file for Macedonian +* Fix nohistory message on empty page history + - === Caveats === Some output, particularly involving user-supplied inline HTML, may not diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 3092045009..5445934ae6 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -78,7 +78,7 @@ class PageHistory { */ $id = $this->mTitle->getArticleID(); if( $id == 0 ) { - $wgOut->addWikiText( wfMsg('nohistory') ); + $wgOut->addWikiText( wfMsg( 'nohistory' ) ); wfProfileOut( $fname ); return; } -- 2.20.1