|
MediaWiki
REL1_20
|
Maintenance script that erases a page record from the database. More...


Public Member Functions | |
| __construct () | |
| Default constructor. | |
| deleteRevisions ($ids) | |
| execute () | |
| Do the actual work. | |
Maintenance script that erases a page record from the database.
Definition at line 33 of file nukePage.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 34 of file nukePage.php.
References Maintenance\addArg(), and Maintenance\addOption().
| NukePage::deleteRevisions | ( | $ | ids | ) |
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 41 of file nukePage.php.
References $count, $res, $title, deleteRevisions(), Maintenance\getArg(), Maintenance\getOption(), Title\newFromText(), Maintenance\output(), Maintenance\purgeRedundantText(), and wfGetDB().