Merge "Minor changes to Ic50d01f5 Accept-Language code."
[lhc/web/wiklou.git] / includes / api / ApiOptions.php
index 61da785..7bcfe1e 100644 (file)
@@ -109,7 +109,7 @@ class ApiOptions extends ApiBase {
 
        public function getParamDescription() {
                return array(
-                       'token' => 'An options token previously obtained through the meta=userinfo',
+                       'token' => 'An options token previously obtained through the action=tokens',
                        'reset' => 'Resets all preferences to the site defaults',
                        'change' => 'Pipe-separated list of changes, formatted name=value (e.g. skin=vector), value cannot contain pipe characters',
                        'optionname' => 'A name of a option which should have an optionvalue set',
@@ -136,6 +136,10 @@ class ApiOptions extends ApiBase {
                return '';
        }
 
+       public function getHelpUrls() {
+               return 'https://www.mediawiki.org/wiki/API:Options';
+       }
+
        public function getExamples() {
                return array(
                        'api.php?action=options&reset=&token=123ABC',