HelpForAdministrators > HelpOnAdministration > HelpOnSpam
Wikispam is getting more and more annoying. Wiki pages get high ratings in search engines because of the strong linking between the pages (and each other via InterWiki links). This makes them a valuable target to increase the ranking of other pages
Block Spam
You can ban certain content within contributions by listing regular expressions on the your 'BadContent' page.
If a user tries to save a page and its content matches any of these regular expressions, then saving that page will be denied (until the offending content is removed from the editor).
You can also enable an automatic update of BadContent via your wikiconfig. This is enabled by this line:
from MoinMoin.security.antispam import SecurityPolicy
see HelpOnConfiguration/SecurityPolicy
Remove Spam Action
If you are a SuperUser, you can use this action to mass-revert changes of some spammer (or some other bad guy).
- Select "Remove Spam" from the available actions.
- Select the user (usually part of the IP)
- Select "Revert All"
- You will see how moin tries to revert his edits. This does not work in any case, so you maybe have to clean up some of his edits manually.