Extension:TitleBlacklist

The Title Blacklist extension allows wiki administrators to block the creation, movement and upload of pages where the page title matches one or more regular expressions.

Requirements
The Title Blacklist extension requires MediaWiki 1.12.0 or above (requires AbortMove hook).

Installation

 * 1) Check out all extension files from Subversion and place them in a TitleBlacklist subdirectory within your MediaWiki extensions directory
 * 2) Add the line   to your LocalSettings.php file

Installation can be verified through the Special:Version page on the wiki.

Editing the blacklist
The title blacklist is maintained as a message page called "titleblacklist", which can be found at MediaWiki:Titleblacklist.

The page is formatted as a set of text line list, where each blocked page title regular expression exists as a single list item, for example:

Foo  [Bb]ar #No one should create article about it

Besides regex, blacklist entry may contain attrubites (like ) There are following attributes:
 * autoconfirmed — only non-autoconfirmed users are unable to create/upload/move such pages
 * noedit — users are also unable to edit this article
 * casesensitive — don't ignore case when checking title for being blacklisted

Customising warning messages
When an attempt to create a page is blocked due to a blacklisted title, a warning message is shown to the user. This can be customised via message MediaWiki:Titleblacklist-forbidden

Change log
A complete log of changes to the extension code (including internationalisation updates from third parties) is available from the Subversion log, however, summarised information on changes between point releases is given below:

Resources on regular expressions

 * Brief Introduction to Regular Expressions
 * http://etext.lib.virginia.edu/services/helpsheets/unix/regex.html
 * The 30 Minute Regex. Tutorial
 * http://codeproject.com/dotnet/RegexTutorial.asp