X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/d75ce11339b35963b5f8c3d53190819c1c025716..2acc6b86c3191c408dc027d5164c397bea97d37b:/includes/api/ApiImport.php diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php index 032b684c..d33a472a 100644 --- a/includes/api/ApiImport.php +++ b/includes/api/ApiImport.php @@ -149,6 +149,10 @@ class ApiImport extends ApiBase { ) ); } + public function needsToken() { + return true; + } + public function getTokenSalt() { return ''; } @@ -161,7 +165,7 @@ class ApiImport extends ApiBase { } public function getVersion() { - return __CLASS__ . ': $Id: ApiImport.php 62599 2010-02-16 21:59:16Z reedy $'; + return __CLASS__ . ': $Id: ApiImport.php 74217 2010-10-03 15:53:07Z reedy $'; } }