MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
Private Member Functions | |
cleanupArticle ($id, $domain) |
Definition at line 26 of file cleanupSpam.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 27 of file cleanupSpam.php.
References Maintenance\addArg(), and Maintenance\addOption().
CleanupSpam::cleanupArticle | ( | $ | id, |
$ | domain | ||
) | [private] |
Definition at line 88 of file cleanupSpam.php.
References $page, $title, Revision\DELETED_TEXT, Maintenance\error(), WikiPage\factory(), LinkFilter\matchEntry(), Title\newFromID(), Revision\newFromTitle(), Maintenance\output(), wfGetDB(), and wfMsgForContent().
Referenced by execute().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 34 of file cleanupSpam.php.
References $count, $dbr, $res, $wgLocalDatabases, $wgUser, cleanupArticle(), Maintenance\error(), Maintenance\getArg(), Maintenance\hasOption(), LinkFilter\makeLikeArray(), User\newFromName(), Maintenance\output(), wfGetDB(), and wfMsg().