MediaWiki  REL1_24
DeleteOldRevisions Class Reference

Maintenance script that deletes old (non-current) revisions from the database. More...

Inheritance diagram for DeleteOldRevisions:
Collaboration diagram for DeleteOldRevisions:

List of all members.

Public Member Functions

 __construct ()
 doDelete ($delete=false, $args=array())
 execute ()

Detailed Description

Maintenance script that deletes old (non-current) revisions from the database.

Definition at line 32 of file deleteOldRevisions.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 33 of file deleteOldRevisions.php.

References Maintenance\addOption().


Member Function Documentation

DeleteOldRevisions::doDelete ( delete = false,
args = array() 
)

Definition at line 45 of file deleteOldRevisions.php.

References $count, $res, array(), as, Maintenance\output(), Maintenance\purgeRedundantText(), and wfGetDB().

Referenced by execute().

Reimplemented from Maintenance.

Definition at line 40 of file deleteOldRevisions.php.

References doDelete(), Maintenance\hasOption(), and Maintenance\output().


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