Project:Protected titles

 is a commonly spammed wiki page (external links or just nonsense text messages).

Suggestion for visitors: Watch this page, W/w/index.php, Talk:Main Page/ and other such pages on your own wikis and add any URLs added by spammers to your Spam blacklist (see SpamBlacklist extension). If you are repeatedly receiving spam on a page that doesn't otherwise exist there are two ways of blocking the page from being edited once you have deleted it.

Method 1: Dummy page
Create a template called   and place it in the problem pages. By having some content on the page you are able to protect it from anonymous editing, which may be more user-friendly than method 2, particularly if the pages may conceivably hold content in the future.

This is the method we have used here on MediaWiki.org.

Method 2: Cascading protection
If you are using a version of MediaWiki with cascading protection enabled, then another method is to create a central page to administer the protection, and within that page transclude each problem page using code like this:

*

Enabling cascading protection for the central page will then protect all transcluded pages as well, even if they don't exist, so it saves you polluting your wiki with a lot of dummy pages that you don't need.