MediaWiki
REL1_22
|
Maintenance script that protects or unprotects a page. More...
Public Member Functions | |
__construct () | |
execute () |
Maintenance script that protects or unprotects a page.
Definition at line 31 of file protect.php.
Reimplemented from Maintenance.
Definition at line 32 of file protect.php.
References Maintenance\addArg(), and Maintenance\addOption().
Protect::execute | ( | ) |
Reimplemented from Maintenance.
Definition at line 43 of file protect.php.
References $t, $user, array(), as, Maintenance\error(), WikiPage\factory(), Maintenance\getArg(), Maintenance\getOption(), Maintenance\hasOption(), User\newFromName(), Title\newFromText(), and Maintenance\output().