MediaWiki
REL1_22
|
Maintenance script to create an account and grant it rights. More...
Public Member Functions | |
__construct () | |
execute () | |
Static Public 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 37 of file createAndPromote.php.
References Maintenance\addArg(), Maintenance\addOption(), and as.
Reimplemented from Maintenance.
Definition at line 48 of file createAndPromote.php.
References $password, $user, array(), Maintenance\error(), Maintenance\getArg(), MWException\getText(), Maintenance\hasOption(), Maintenance\maybeHelp(), User\newFromName(), Maintenance\output(), true, and wfWikiID().
Definition at line 35 of file createAndPromote.php.