MediaWiki  REL1_20
NukePage Class Reference

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

Inheritance diagram for NukePage:
Collaboration diagram for NukePage:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 deleteRevisions ($ids)
 execute ()
 Do the actual work.

Detailed Description

Maintenance script that erases a page record from the database.

Definition at line 33 of file nukePage.php.


Constructor & Destructor Documentation

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().


Member Function Documentation

Definition at line 106 of file nukePage.php.

References wfGetDB().

Referenced by execute().

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().


The documentation for this class was generated from the following file: