Manual:Pywikibot/spamremove.py

spamremove.py is a script used to remove links that are being or have been spammed.

Usage:

It will use Special:Linksearch to find the pages on the wiki that link to that site, then for each page make a proposed change consisting of removing all the lines where that url occurs. You can choose to:


 * accept the changes as proposed
 * edit the page yourself to remove the offending link
 * not change the page in question

Command line options:

In addition, these arguments can be used to restrict changes to some pages: