MediaWiki
REL1_22
|
Maintenance script that deletes revisions which refer to a nonexisting page. More...
Public Member Functions | |
__construct () | |
execute () | |
Private Member Functions | |
deleteRevs ($id, &$dbw) | |
Delete one or more revisions from the database Do this inside a transaction. |
Maintenance script that deletes revisions which refer to a nonexisting page.
Definition at line 34 of file deleteOrphanedRevisions.php.
Reimplemented from Maintenance.
Definition at line 35 of file deleteOrphanedRevisions.php.
References Maintenance\addOption().
DeleteOrphanedRevisions::deleteRevs | ( | $ | id, |
&$ | dbw | ||
) | [private] |
Delete one or more revisions from the database Do this inside a transaction.
$id | Array of revision id values |
$dbw | DatabaseBase class (needs to be a master) |
Definition at line 86 of file deleteOrphanedRevisions.php.
References array().
Referenced by execute().
Reimplemented from Maintenance.
Definition at line 41 of file deleteOrphanedRevisions.php.
References $count, $res, array(), as, deleteRevs(), Maintenance\hasOption(), list, Maintenance\output(), Maintenance\purgeRedundantText(), and wfGetDB().