MediaWiki
REL1_20
|
Maintenance script that outputs page text to stdout. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. |
Maintenance script that outputs page text to stdout.
Definition at line 33 of file getText.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 34 of file getText.php.
References Maintenance\addArg(), and Maintenance\addOption().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 41 of file getText.php.
References $title, Maintenance\error(), Revision\FOR_PUBLIC, Maintenance\getArg(), Maintenance\hasOption(), Title\newFromText(), Revision\newFromTitle(), Maintenance\output(), Revision\RAW, and wfGetDB().