(bug 15791) Typo in API docs, APIProtect has some remnants of help messages from...
authorMatt Johnston <mattj@users.mediawiki.org>
Tue, 30 Sep 2008 21:03:38 +0000 (21:03 +0000)
committerMatt Johnston <mattj@users.mediawiki.org>
Tue, 30 Sep 2008 21:03:38 +0000 (21:03 +0000)
includes/api/ApiProtect.php

index d0069cf..9b190e1 100644 (file)
@@ -129,7 +129,7 @@ class ApiProtect extends ApiBase {
 
        public function getParamDescription() {
                return array (
-                       'title' => 'Title of the page you want to restore.',
+                       'title' => 'Title of the page you want to (un)protect.',
                        'token' => 'A protect token previously retrieved through prop=info',
                        'protections' => 'Pipe-separated list of protection levels, formatted action=group (e.g. edit=sysop)',
                        'expiry' => 'Expiry timestamp. If set to \'infinite\', \'indefinite\' or \'never\', the protection will never expire.',