MediaWiki
REL1_22
|
Maintenance script to remove broken, unparseable titles in the watchlist table. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
processRow ($row) | |
Protected Attributes | |
$defaultParams | |
Private Member Functions | |
removeWatch ($row) |
Maintenance script to remove broken, unparseable titles in the watchlist table.
Definition at line 39 of file cleanupWatchlist.php.
Reimplemented from TableCleanup.
Definition at line 47 of file cleanupWatchlist.php.
References Maintenance\addOption().
Reimplemented from TableCleanup.
Definition at line 53 of file cleanupWatchlist.php.
References Maintenance\hasOption(), and Maintenance\output().
WatchlistCleanup::processRow | ( | $ | row | ) | [protected] |
Definition at line 60 of file cleanupWatchlist.php.
References $title, TableCleanup\$updated, $wgContLang, global, Title\makeTitle(), Title\newFromText(), Maintenance\output(), TableCleanup\progress(), and removeWatch().
WatchlistCleanup::removeWatch | ( | $ | row | ) | [private] |
Definition at line 76 of file cleanupWatchlist.php.
References array(), 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 40 of file cleanupWatchlist.php.