From: Matt Johnston Date: Tue, 30 Sep 2008 21:03:38 +0000 (+0000) Subject: (bug 15791) Typo in API docs, APIProtect has some remnants of help messages from... X-Git-Tag: 1.31.0-rc.0~44978 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=cd7aa10e893f3de126ca09072d7f7f3aba0cbb31;p=lhc%2Fweb%2Fwiklou.git (bug 15791) Typo in API docs, APIProtect has some remnants of help messages from deletion/restoration. --- diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php index d0069cfed8..9b190e1ff4 100644 --- a/includes/api/ApiProtect.php +++ b/includes/api/ApiProtect.php @@ -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.',