maintenance/cleanupSpam.php File Reference

Go to the source code of this file.

Functions

 cleanupArticle ($id, $domain)

Variables

 $username = wfMsg( 'spambot_username' )
 $fname = $username
 $wgUser = User::newFromName( $username )
if(!$wgUser->getId()) if(!isset($args[0])) $spec = $args[0]
 $like = LinkFilter::makeLike( $spec )
if(!$like) $dbr = wfGetDB( DB_SLAVE )


Detailed Description

Definition in file cleanupSpam.php.


Function Documentation

cleanupArticle ( id,
domain 
)


Variable Documentation

if (!$like) $dbr = wfGetDB( DB_SLAVE )

Definition at line 80 of file cleanupSpam.php.

$fname = $username

Definition at line 62 of file cleanupSpam.php.

$like = LinkFilter::makeLike( $spec )

Definition at line 74 of file cleanupSpam.php.

Referenced by WhiteSpaceNode::__construct(), and LinkFilter::makeLike().

if (!$wgUser->getId()) if (!isset($args[0])) $spec = $args[0]

$username = wfMsg( 'spambot_username' )

$wgUser = User::newFromName( $username )

Definition at line 63 of file cleanupSpam.php.


Generated on Sat Sep 5 02:08:27 2009 for MediaWiki by  doxygen 1.5.9