public function mustBePosted() { return true; }
- protected function getAllowedParams() {
+ public function getAllowedParams() {
return array (
'title' => null,
'token' => null,
);
}
- protected function getParamDescription() {
+ public function getParamDescription() {
return array (
'title' => 'Title of the page you want to delete.',
'token' => 'A delete token previously retrieved through prop=info',
);
}
- protected function getDescription() {
+ public function getDescription() {
return array(
'Deletes a page. You need to be logged in as a sysop to use this function, see also action=login.'
);