MediaWiki
REL1_20
|
Maintenance script that deletes old (non-current) revisions from the database. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
doDelete ($delete=false, $args=array()) | |
execute () | |
Do the actual work. |
Maintenance script that deletes old (non-current) revisions from the database.
Definition at line 32 of file deleteOldRevisions.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 33 of file deleteOldRevisions.php.
References Maintenance\addOption().
DeleteOldRevisions::doDelete | ( | $ | delete = false , |
$ | args = array() |
||
) |
Definition at line 45 of file deleteOldRevisions.php.
References $count, $res, Maintenance\output(), Maintenance\purgeRedundantText(), and wfGetDB().
Referenced by execute().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 40 of file deleteOldRevisions.php.
References doDelete(), Maintenance\hasOption(), and Maintenance\output().