From 7d0f0c6396a1059f9ac00299df3ca473a1a67537 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 10 Jul 2005 01:16:05 +0000 Subject: [PATCH] * Fix fatal error in history when validation on --- RELEASE-NOTES | 1 + includes/PageHistory.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.20.1