Gentlemen, how may I prevent users from creating pages whose titles match a certain regular expression?
Sure there is Special:ProtectedTitles, but that isn't for regular expressions (and how one puts things into it isn't clear.)
Yes, there is $wgLegalTitleChars, but that isn't a regular expression either.
Yes there are $wgSpamRegex and $wgSummarySpamRegex, but these are for the page bodies, not the titles.
Hmmm, need an array of arrays($namespace,$regexp,$message_to_print_when_they_match_that_regexp). If $namespace is NULL, match any namespace.
Try Extension:Titleblacklist[1]
Greets, Wuzur
[1] http://www.mediawiki.org/wiki/Extension:Title_Blacklist
On Mon, Mar 30, 2009 at 2:01 AM, jidanni@jidanni.org wrote:
Gentlemen, how may I prevent users from creating pages whose titles match a certain regular expression?
Sure there is Special:ProtectedTitles, but that isn't for regular expressions (and how one puts things into it isn't clear.)
Yes, there is $wgLegalTitleChars, but that isn't a regular expression either.
Yes there are $wgSpamRegex and $wgSummarySpamRegex, but these are for the page bodies, not the titles.
Hmmm, need an array of arrays($namespace,$regexp,$message_to_print_when_they_match_that_regexp). If $namespace is NULL, match any namespace.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org