(bug 15791) Typo in API docs, APIProtect has some remnants of help messages from deletion/restoration.

This commit is contained in:
Matt Johnston 2008-09-30 21:03:38 +00:00
parent be1ab8738c
commit cd7aa10e89

View 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.',