From: Brion Vibber Date: Sun, 10 Jul 2005 00:24:23 +0000 (+0000) Subject: * Fix nohistory message on empty page history X-Git-Tag: 1.5.0beta4~177 X-Git-Url: https://git.cyclocoop.org/admin/%7B%24plugin.url%7Cescape%7D?a=commitdiff_plain;h=05c39f42a80322c1cf7ce43271afdcd77fce9c0a;p=lhc%2Fweb%2Fwiklou.git * Fix nohistory message on empty page history --- 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; }