MediaWiki
REL1_24
|
Maintenance script to create an account and grant it rights. More...
Public Member Functions | |
__construct () | |
execute () | |
Static Private Attributes | |
static | $permitRoles = array( 'sysop', 'bureaucrat', 'bot' ) |
Maintenance script to create an account and grant it rights.
Definition at line 33 of file createAndPromote.php.
Reimplemented from Maintenance.
Definition at line 36 of file createAndPromote.php.
References Maintenance\addArg(), Maintenance\addOption(), and as.
Reimplemented from Maintenance.
Definition at line 50 of file createAndPromote.php.
References $user, array(), Maintenance\error(), Maintenance\getArg(), MWException\getText(), Maintenance\hasOption(), Maintenance\maybeHelp(), User\newFromName(), Maintenance\output(), true, and wfWikiID().
Definition at line 34 of file createAndPromote.php.