From: Brion Vibber Date: Sun, 10 Jul 2005 01:16:05 +0000 (+0000) Subject: * Fix fatal error in history when validation on X-Git-Tag: 1.5.0beta4~176 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=7d0f0c6396a1059f9ac00299df3ca473a1a67537;p=lhc%2Fweb%2Fwiklou.git * Fix fatal error in history when validation on --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7688e0cd30..944c1bdf8a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -552,6 +552,7 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 1064) Implements Special:Unusedcategories * (bug 2311) New language file for Macedonian * Fix nohistory message on empty page history +* Fix fatal error in history when validation on === Caveats === diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 5445934ae6..1bf67a5d46 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -167,7 +167,7 @@ class PageHistory { * Article validation line. */ if ($wgUseValidation) - $s .= '

' . Validation::link2statistics ( $this->mArticle ) . '

' ; + $s .= '

' . Validation::getStatisticsLink( $this->mArticle ) . '

' ; $wgOut->addHTML( $s ); wfProfileOut( $fname );