(bug 35885) remove api version string and parameter
[lhc/web/wiklou.git] / includes / api / ApiPurge.php
index 3cf32ad..e1ba759 100644 (file)
@@ -89,7 +89,6 @@ class ApiPurge extends ApiBase {
                                        global $wgEnableParserCache;
 
                                        $popts = $page->makeParserOptions( 'canonical' );
-                                       $popts->setTidy( true );
 
                                        # Parse content; note that HTML generation is only needed if we want to cache the result.
                                        $content = $page->getContent( Revision::RAW );
@@ -188,8 +187,4 @@ class ApiPurge extends ApiBase {
        public function getHelpUrls() {
                return 'https://www.mediawiki.org/wiki/API:Purge';
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
 }