MediaWiki
REL1_20
|
Maintenance script to change the password of a given user. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. |
Maintenance script to change the password of a given user.
Definition at line 34 of file changePassword.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 35 of file changePassword.php.
References Maintenance\addOption().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 43 of file changePassword.php.
References $user, Maintenance\error(), Maintenance\getOption(), MWException\getText(), Maintenance\hasOption(), User\newFromId(), User\newFromName(), and Maintenance\output().