* Fix nohistory message on empty page history
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Jul 2005 00:24:23 +0000 (00:24 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 10 Jul 2005 00:24:23 +0000 (00:24 +0000)
RELEASE-NOTES
includes/PageHistory.php

index 8ae723f..7688e0c 100644 (file)
@@ -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
index 3092045..5445934 100644 (file)
@@ -78,7 +78,7 @@ class PageHistory {
                 */
                $id = $this->mTitle->getArticleID();
                if( $id == 0 ) {
-                       $wgOut->addWikiText( wfMsg('nohistory') );
+                       $wgOut->addWikiText( wfMsg( 'nohistory' ) );
                        wfProfileOut( $fname );
                        return;
                }