]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/api/ApiProtect.php
MediaWiki 1.16.1
[autoinstallsdev/mediawiki.git] / includes / api / ApiProtect.php
index ca47c1b8e5429bd295a05c53ea2c660decf27f87..0b1ae4c83552d4b83108b35a565ca020db85d600 100644 (file)
@@ -184,8 +184,12 @@ class ApiProtect extends ApiBase {
                ) );
        }
        
+       public function needsToken() {
+               return true;
+       }
+
        public function getTokenSalt() {
-               return null;
+               return '';
        }
 
        protected function getExamples() {
@@ -196,6 +200,6 @@ class ApiProtect extends ApiBase {
        }
 
        public function getVersion() {
-               return __CLASS__ . ': $Id: ApiProtect.php 62557 2010-02-15 23:53:43Z reedy $';
+               return __CLASS__ . ': $Id: ApiProtect.php 74217 2010-10-03 15:53:07Z reedy $';
        }
 }