MediaWiki  REL1_19
CleanupSpam Class Reference
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

Definition at line 26 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 27 of file cleanupSpam.php.

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

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:


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