MediaWiki  1.33.0
cleanup.php File Reference

Go to the source code of this file.

Classes

class  Cleanup
 

Variables

 $IP = getenv( 'MW_INSTALL_PATH' )
 An aggressive spam cleanup script. More...
 
 $maintClass = Cleanup::class
 
 if ($IP===false)
 

Variable Documentation

◆ $IP

$IP = getenv( 'MW_INSTALL_PATH' )

An aggressive spam cleanup script.

Searches the database for matching pages, and reverts them to the last non-spammed revision. If all revisions contain spam, blanks the page

Definition at line 9 of file cleanup.php.

◆ $maintClass

Definition at line 113 of file cleanup.php.

◆ if

if( $IP===false)

Definition at line 10 of file cleanup.php.