MediaWiki
REL1_22
|
Maintenance script to cleanup all spam from a given hostname. More...
Public Member Functions | |
__construct () | |
execute () | |
Private Member Functions | |
cleanupArticle ($id, $domain) |
Maintenance script to cleanup all spam from a given hostname.
Definition at line 31 of file cleanupSpam.php.
Reimplemented from Maintenance.
Definition at line 33 of file cleanupSpam.php.
References Maintenance\addArg(), and Maintenance\addOption().
CleanupSpam::cleanupArticle | ( | $ | id, |
$ | domain | ||
) | [private] |
Definition at line 95 of file cleanupSpam.php.
References $rev, $title, Revision\DELETED_TEXT, Maintenance\error(), WikiPage\factory(), ContentHandler\getForTitle(), Maintenance\hasOption(), LinkFilter\matchEntry(), Title\newFromID(), Revision\newFromTitle(), Maintenance\output(), Revision\RAW, text, wfGetDB(), and wfMessage().
Referenced by execute().
Reimplemented from Maintenance.
Definition at line 41 of file cleanupSpam.php.
References $count, $dbr, $res, $wgUser, array(), as, cleanupArticle(), Maintenance\error(), Maintenance\getArg(), global, Maintenance\hasOption(), LinkFilter\makeLikeArray(), User\newFromName(), Maintenance\output(), wfGetDB(), and wfMessage().