* Removed Special:Validate, it's been superseded by the Review extension
[lhc/web/wiklou.git] / includes / PageHistory.php
index ac3f666..3482d07 100644 (file)
@@ -6,9 +6,6 @@
  * @package MediaWiki
  */
 
-/** */
-include_once ( 'SpecialValidate.php' );
-
 define('DIR_PREV', 0);
 define('DIR_NEXT', 1);
 
@@ -53,7 +50,7 @@ class PageHistory {
         * @returns nothing
         */
        function history() {
-               global $wgUser, $wgOut, $wgRequest, $wgTitle, $wgUseValidation;
+               global $wgUser, $wgOut, $wgRequest, $wgTitle;
 
                /*
                 * Allow client caching.
@@ -169,12 +166,6 @@ class PageHistory {
                $s .= $this->endHistoryList();
                $s .= $navbar;
 
-               /*
-                * Article validation line.
-                */
-               if ($wgUseValidation)
-                       $s .= '<p>' . Validation::getStatisticsLink( $this->mArticle ) . '</p>' ;
-
                $wgOut->addHTML( $s );
                wfProfileOut( $fname );
        }