MediaWiki  REL1_20
CleanupSpam Class Reference

Maintenance script to cleanup all spam from a given hostname. More...

Inheritance diagram for CleanupSpam:
Collaboration diagram for CleanupSpam:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Private Member Functions

 cleanupArticle ($id, $domain)

Detailed Description

Maintenance script to cleanup all spam from a given hostname.

Definition at line 31 of file cleanupSpam.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 33 of file cleanupSpam.php.

References Maintenance\addArg(), and Maintenance\addOption().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 41 of file cleanupSpam.php.

References $count, $dbr, $res, $wgUser, cleanupArticle(), Maintenance\error(), Maintenance\getArg(), Maintenance\hasOption(), LinkFilter\makeLikeArray(), User\newFromName(), Maintenance\output(), wfGetDB(), and wfMessage().


The documentation for this class was generated from the following file: