Anybody can help fight spam on the wiki. EmacsWikiAdministrators are particularly effective, however. Please join the team.
Reverting Graffiti and Spam
When you stumble upon a page that has been defaced, proceed as follows:
- Click View other revisions at the bottom.
- From the history, find the last good revision, and view it. Assume it is Revision 246.
- Click Edit revision 246 of this page at the bottom.
- Put revert or something similar into the summary, do not make it a MinorEdit and click “Save”.
If you are an administrator and want to rollback massive banning that cannot be solved by banning and despamming:
- Visit RecentChanges.
- Click on List all changes.
- Click on Include minor changes just to be on the safe side.
- If you are an administrator you will see a rollback link for every edit.
- Click on the rollback link of the last “good” page.
You might even want to rollback a few “good” changes in order to save yourself some work. Just jot down the pages with “good” edits. After the rollback, visit every one of them and revert the rollback as if it were spam. ;)
Here’s a quick sketch of how the spam filtering works:
- before a page is saved, a question is asked unless the cookie shows that user has answered a question before
- the IP number and hostname of the person saving a page is checked against the list on the BannedHosts page, if it exists
- all the URLs on the page are checked against the list on the BannedContent page, if it exists
- the entire text of the page is checked against the list on the BannedRegexps page, if it exists
The syntax used on these pages is simple. Each line can contain a single pattern for rejecting changes to the Wiki. Empty lines are ignored, # starts a comment until the end of the line, tabs and spaces at the beginning and end of all remaining lines are stripped.
These pages can be edited by EmacsWikiAdministrators. When the pages are edited, make “minor” edits to the page to keep them out of default listing of RecentChanges.
Broken regular expressions will crash the script for all pages on the site.
There are two additional defenses we use on this site. Oddmuse:Page Locking is available to EmacsWikiAdministrators.
Does banning actually work?
The wiki keeps a log of rejected edits: 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, currently,
How many revisions does this wiki save?
The details are on Oddmuse:Kept Pages. But basically, when a page is saved…
- all revisions older than two weeks are deleted
- the current revision gets a new timestamp (so it will not be deleted for another two weeks!) and is saved as an old revision (a “kept page”)
- the new page is saved
Thus, you can always go back at least two weeks. – AlexSchroeder