On the world's largest encyclopedia that anyone can edit, and where its content has a powerful search engine presence, spam is an inevitable and ongoing problem.Link spam in particular can easily go under the radar. Most search engines such as Google base their results not only on the search terms but also by how many other sites link back to a certain site, and how many other sites link to those sites, etc. Wikipedia is one of the top 10 websites in the world, so obviously it is a prime target for link spamming. Fortunately admins have numerous tools to fight any form of spam.
The first attempts to prevent the spam follows how you would deal with any abuse. In ascending order of the things you should try:
A nifty bot that patrols recent changes and reverts edits containing certain external links. The configuration for this bot can get quite complex, but in its simplest form you can add the link to therevert list usingregular expressions. This does not preventreference spamming, and limits it to a single revert. To ensure the bot always reverts a link addition you can also add the regex tooverride list orhard override list, but this should only be used for short-term issues. Beyond the simple revert lists, you can instruct the bot to only revert on certain pages, or from certain users, and even have it issue customized warnings. See the bot'suser page for the full instructions.Please read the instructions and ensure you know what you are doing. Seek help from other admins atWP:AN if you are unsure. Alternatively you can request link additions atUser talk:XLinkBot/RevertList.
For long-term repeated addition of spam links, there is the MediaWiki-providedSpackBlackList extension.
Before adding links here:
If you are sure the spam blacklist is the appropriate route:
If you need help at any time you can request additions to the blacklist atMediaWiki talk:Spam-blacklist, or seek help from other admins atWP:AN.
Theedit filter is a last resort and restricted only to the most complex cases of spam abuse. Creation of new filters requires theabusefilter user right, which admins can assign to themselves, but you shouldnot do this unless you are very familiar withregular expressions and how theabuse filter extension works. Like the spam blacklist, the edit filter affects every single edit that comes through, so a small typo can cause massive disruption. If you have never worked with filters, give theguideline a thorough read. Simply put,do not attempt to modify or create filters unless you are certain of what you are doing, and always test them in log-only mode first.
There are several filters that regularly pick up spam-related abuse. You can monitor their logs to identify recent cases of spam:
Any inquiries on whether an edit filter is appropriate or feasible can be brought to theedit filter noticeboard.