|
MediaWiki
REL1_23
|
Implements Special:Unlockdb. More...


Public Member Functions | |
| __construct () | |
| checkExecutePermissions (User $user) | |
| Called from execute() to check if the given user can perform this action. | |
| onSubmit (array $data) | |
| Process the form on POST submission. | |
| onSuccess () | |
| Do something exciting on successful processing of the form, most likely to show a confirmation message. | |
| requiresWrite () | |
| Whether this action requires the wiki not to be locked. | |
Protected Member Functions | |
| alterForm (HTMLForm $form) | |
| Play with the HTMLForm if you need to more substantially. | |
| getFormFields () | |
| Get an HTMLForm descriptor array. | |
| getGroupName () | |
| Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'. | |
Implements Special:Unlockdb.
Definition at line 29 of file SpecialUnlockdb.php.
Definition at line 31 of file SpecialUnlockdb.php.
| SpecialUnlockdb::alterForm | ( | HTMLForm $ | form | ) | [protected] |
Play with the HTMLForm if you need to more substantially.
| $form | HTMLForm |
Reimplemented from FormSpecialPage.
Definition at line 58 of file SpecialUnlockdb.php.
References SpecialPage\msg(), HTMLForm\setHeaderText(), HTMLForm\setSubmitTextMsg(), and HTMLForm\setWrapperLegend().
| SpecialUnlockdb::checkExecutePermissions | ( | User $ | user | ) |
Called from execute() to check if the given user can perform this action.
Failures here must throw subclasses of ErrorPageError.
| $user | User |
| UserBlockedError |
Reimplemented from FormSpecialPage.
Definition at line 39 of file SpecialUnlockdb.php.
References global.
| SpecialUnlockdb::getFormFields | ( | ) | [protected] |
Get an HTMLForm descriptor array.
Reimplemented from FormSpecialPage.
Definition at line 49 of file SpecialUnlockdb.php.
References array().
| SpecialUnlockdb::getGroupName | ( | ) | [protected] |
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-group-*' for valid names This method defaults to group 'other'.
Reimplemented from SpecialPage.
Definition at line 88 of file SpecialUnlockdb.php.
| SpecialUnlockdb::onSubmit | ( | array $ | data | ) |
Process the form on POST submission.
| $data | Array |
Reimplemented from FormSpecialPage.
Definition at line 64 of file SpecialUnlockdb.php.
References $res, global, Status\newFatal(), Status\newGood(), wfRestoreWarnings(), and wfSuppressWarnings().
Do something exciting on successful processing of the form, most likely to show a confirmation message.
Reimplemented from FormSpecialPage.
Definition at line 82 of file SpecialUnlockdb.php.
References $out, SpecialPage\getOutput(), and SpecialPage\msg().
Whether this action requires the wiki not to be locked.
Reimplemented from FormSpecialPage.
Definition at line 35 of file SpecialUnlockdb.php.