Manual:CleanupSpam.php

From MediaWiki.org
Jump to: navigation, search

cleanupSpam.php is a maintenance script located in the maintenance directory that can be used to get rid of spam links.

Usage[edit | edit source]

Option/Parameter Description
--all Clean up spam on all local wikis ($wgLocalDatabases)
<hostname> The spam URL that you want to get rid of (e.g. google.com). For example: php cleanupSpam.php google.com