"Jim Wilson" wilson.jim.r@gmail.com wrote in message news:ac08e8d0702071247x28a130dfva87b91e4859fb060@mail.gmail.com...
I suppose it goes without saying that this could be achieved with an Extension. Perhaps some kind of regex blacklist or whitelisting
extension?
So for example you could have a page called [[MediaWiki:TitlesBlacklist]] which could be a newline separated list of regular expressions to block
for
title creation. (With of course an associated [[MediaWiki:TitlesWhitelist]]). Then have an extension which applies the rules prior to page submission, and also on retrieval (in case some malicious user finds a way through).
[Example snipped]
I would suggest that it only applies when creating new pages - particularly if it is editable on-wiki, otherwise you risk hiding legitimate content, or being unable to delete the vandalism. A bad regex could disable the whole wiki, for example. i.e. this is not a way of implementing regex-based page protection.
On a slightly tangentual note, I don't know if other people have realised this, but with the new cascading protection you can block named pages from being created, by creating e.g. [[Project:Banned pages]], transcluding any pages that users shouldn't be able to create, and enabling cascading protection. All the included pages can now no longer be created (or require login to create, depending on protection level).
- Mark Clements (HappyDog)