Public Member Functions | |
| __construct ($table, $dryrun=false) | |
| cleanup () | |
| init ($count, $table) | |
| progress ($updated) | |
| runTable ($table, $where, $callback) | |
| hexChar ($matches) | |
| processPage ($row) | |
Definition at line 8 of file cleanupTable.inc.
| TableCleanup::__construct | ( | $ | table, | |
| $ | dryrun = false | |||
| ) |
| TableCleanup::cleanup | ( | ) |
Reimplemented in CapsCleanup.
Definition at line 17 of file cleanupTable.inc.
References runTable().
| TableCleanup::hexChar | ( | $ | matches | ) |
Definition at line 79 of file cleanupTable.inc.
| TableCleanup::init | ( | $ | count, | |
| $ | table | |||
| ) |
Definition at line 28 of file cleanupTable.inc.
References $count, table, and wfTime().
Referenced by runTable().
| TableCleanup::processPage | ( | $ | row | ) | [abstract] |
Reimplemented in CapsCleanup, ImageCleanup, TitleCleanup, and WatchlistCleanup.
| TableCleanup::progress | ( | $ | updated | ) |
Definition at line 36 of file cleanupTable.inc.
References printf(), table, wfTime(), wfTimestamp(), and wfWikiID().
Referenced by WatchlistCleanup::processPage(), TitleCleanup::processPage(), ImageCleanup::processPage(), and CapsCleanup::processPage().
| TableCleanup::runTable | ( | $ | table, | |
| $ | where, | |||
| $ | callback | |||
| ) |
Definition at line 63 of file cleanupTable.inc.
References $count, $result, $row, $sql, and init().
Referenced by cleanup(), and CapsCleanup::cleanup().
1.5.9