MediaWiki
REL1_20
|
Maintenance script to make a page edit. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. |
Maintenance script to make a page edit.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 32 of file edit.php.
References Maintenance\addArg(), and Maintenance\addOption().
EditCLI::execute | ( | ) |
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 44 of file edit.php.
References $page, $wgTitle, $wgUser, Maintenance\error(), WikiPage\factory(), Maintenance\getArg(), Maintenance\getOption(), Maintenance\getStdin(), Maintenance\hasOption(), User\newFromName(), Title\newFromText(), Maintenance\output(), and Maintenance\STDIN_ALL.