MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
Protected Member Functions | |
processRow ($row) | |
Protected Attributes | |
$defaultParams | |
Private Member Functions | |
removeWatch ($row) |
Definition at line 34 of file cleanupWatchlist.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from TableCleanup.
Definition at line 42 of file cleanupWatchlist.php.
References Maintenance\addOption().
Do the actual work.
All child classes will need to implement this
Reimplemented from TableCleanup.
Definition at line 48 of file cleanupWatchlist.php.
References Maintenance\hasOption(), and Maintenance\output().
WatchlistCleanup::processRow | ( | $ | row | ) | [protected] |
Definition at line 55 of file cleanupWatchlist.php.
References $title, $wgContLang, Title\makeTitle(), Title\newFromText(), Maintenance\output(), TableCleanup\progress(), and removeWatch().
WatchlistCleanup::removeWatch | ( | $ | row | ) | [private] |
Definition at line 71 of file cleanupWatchlist.php.
References Maintenance\hasOption(), Maintenance\output(), and wfGetDB().
Referenced by processRow().
WatchlistCleanup::$defaultParams [protected] |
array( 'table' => 'watchlist', 'index' => array( 'wl_user', 'wl_namespace', 'wl_title' ), 'conds' => array(), 'callback' => 'processRow' )
Reimplemented from TableCleanup.
Definition at line 35 of file cleanupWatchlist.php.