ThisWiki is under attack by spammers.  On a near daily basis, off-topic content is added to the wiki, for the
sole purpose of marketing a page or service that has nothing to do with CppUnit.  These spammers can be
categorized by the damage they do:
 * TailEndSpammers - these spammers add links to the end of existing pages.  It is annoying, but trivial to removed.
 * NewPageSpammers - these spammers add new pages, sometimes linking to each other, but mostly just linking to external sites.  Since we can't delete pages, the off-topic page will always remain.
 * LinkReplacementSpammers - these spammers replace existing links with links to their website.  These can be hard to detect, and it take more work to correct the page.
 * PageReplacementSpammers - The worst of the bunch.  They replace legitimate content with their garbage, and it can take quite a while to get the page back to normal.
 
The prime targets of spamming are the pages that every wiki has: FrontPage and RecentChanges.  However, some
spammers are clever enough to go after other targets.

Here are some strategies for fighting these spammers:

'''General Tips''': Watch RecentChanges, and check that any changes are legitimate.  For any changes you
make, create a username (see UserPreferences), so that we get to know who the real people are.  Use the 
"Optional Comment" feature, to note that you are removing spam.

[[Anchor(revert)]]
'''Reverting To Earlier Version''': You can't actually revert the page, but you can get an earlier copy.  This procedure will work whether the spammer just added links at the end or replaced the whole page:
 * Select Info (this icon: http://cppunit.sourceforge.net/wiki/img/moin-info.gif ) to see the last 100 versions of the page.
 * Select the "View" link, and find the one you want.  For instance:
{{{
http://cppunit.sourceforge.net/cgi-bin/moin.cgi/FrontPage?action=recall&date=1103513988
}}}
 * In the address bar, change "recall" to "raw", such as 
{{{
http://cppunit.sourceforge.net/cgi-bin/moin.cgi/FrontPage?action=raw&date=1103513988
}}}
 Hit Enter or click Go to see the Moin source for that page.
 * Copy the text.  In most Windows browsers, the sequence is "Ctrl-A" to select everything, then "Ctrl-C" to copy, or you can use the menus (under Edit).
 * Go back until you see the "normal" page, then select Edit (this icon: http://cppunit.sourceforge.net/wiki/img/moin-edit.gif ).
 * Select the edit box, and paste from the clipboard.  On Windows, use "Ctrl-V", or you can use the menus (under Edit).

'''TailEndSpammers''': Look at the end of recently changed documents.  If there are off-topic links at 
the end, remove them (preferably as a logged-in user).  Leave a blank space (or even a solid line: {{{----}}}) at end of your documents, so that the next spam links don't run into the content.

'''NewPageSpammers''': Look for suspicious new pages.  If the page is nothing but spam, replace the text
with the phrase Delete''''''Me.  The wiki admin can then search for these pages, and remove them at some
later date.

'''LinkReplacementSpammers''': Look closely at the page diffs for external links.  Be careful when
changing them back to the original link.  On FrontPage and RecentChanges, consider creating a new wiki 
page with the external link.

'''PageReplacementSpammers''': Use the procedure under [#revert Reverting To Earlier Version].

For the prime targets, we have backups in the wiki: FrontPageBackup and RecentChangesBackup.  If you
make changes to the main version, try to remember to change these too.
 

----
