1
## Please edit system and help pages ONLY in the master wiki!
2
## For more information, please see MoinMoin:MoinDev/Translation.
5
#acl -All:write Default
8
HelpForAdministrators > HelpOnAdministration > HelpOnSpam
10
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
16
You can ban certain content within contributions by listing regular expressions on the your 'BadContent' page.
18
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).
20
You can also enable an automatic update of BadContent via your wikiconfig. This is enabled by this line:
22
from MoinMoin.security.antispam import SecurityPolicy
24
see HelpOnConfiguration/SecurityPolicy
26
== Remove Spam Action ==
28
If you are a [[HelpOnSuperUser|SuperUser]], you can use this action to mass-revert changes of some spammer (or some other ''bad guy'').
30
1. Select "Remove Spam" from the available actions.
31
1. Select the user (usually part of the IP)
32
1. Select "Revert All"
33
1. You will see how moin tries to revert his edits. This does not work in every case, so you may have to clean up some of his edits manually.