Extension talk:TitleBlacklist
Contents |
[edit] Using Titleblacklist to block new user creation
[edit] New user regexp not working
Do you have to set a source in LocalSettings for this extension to use MediaWiki:TitleBlacklist ? I have it set up to block a set of keywords from appearing in new usernames, but it isn't working. 202.33.78.114 09:58, 11 January 2010 (UTC)
[edit] Regex
- Documentation says that a Blacklist item "Foo" will be turned into "/^Foo$/usi" - what does usi mean?
- It is possible to have real regex support as in UsernameBlacklist?
- If not, how can one force a specific pattern to be used, e.g. ^[A-Z][a-z]{7}$, i.e. stop any that does NOT match that pattern?
Time in Russia 13:15, 23 February 2011 (UTC)
-
- usi means "Unicode, singeline, case-insensitive"
- What do you mean by real regex?
- I'm not sure whether PRCE regex support this. If they don't, file a bugzilla bug. VasilievVV 16:00, 23 February 2011 (UTC)
[edit] Solution
I have edited the Article page which probably addressees both the problems of:
- Not being able to effect any block of a user name (Titleblacklist looks for "User:" + <newname> e.g "User:Jill Smith"); and
- How to stop any input that does NOT match that pattern (Block everyone in the blacklist then whitelist the patter you find acceptable).
See the Using Titleblacklist to control user account creation, in the article, for a full explanation.--John Bentley 08:19, 16 May 2011 (UTC)
[edit] Can't get URL Blacklist to Work
I have MediaWiki 1.15.3. I uploaded the extension and added this to LocalSettings.php:
require_once( "{$IP}/extensions/TitleBlacklist/TitleBlacklist.php" );
I then edited TitleBlacklist.php and replaced this:
$wgTitleBlacklistSources = array();
with this:
$wgTitleBlacklistSources = array(
array(
'type' => TBLSRC_URL,
'src' => 'http://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
),
);
I then try and create a page with a banned word but it doesn't prevent me doing so. What have I done wrong? Holygamer 02:20, 25 May 2010 (UTC)
[edit] Automatic updating of blacklist?
Does this extension automatically update its blacklist periodically, as Extension:SpamBlacklist does? Thanks, Tisane 16:03, 24 March 2010 (UTC)
[edit] Not Working
This extension is failing to work on Zelda Wiki, and when I tried to use it on my test wiki run on my WAMP server, it failed again. I would like to know why it malfunctions, especially when it works on WiKirby.173.168.217.112 22:06, 28 June 2010 (UTC)
[edit] Make it work for sysops, as well as users
Is it possible to blacklist all users from creating pages with matching expressions, including sysops? - Anonymous
Solution: By default it only affects anonymous users. To make it default for all use $wgGroupPermissions['sysop']['tboverride'] = false;. --Subfader 16:52, 6 March 2011 (UTC)
[edit] Rules per namespace
Is there a way to apply a rule for only specific namespaces? --217.251.116.201 17:33, 26 April 2011 (UTC)
-
- We can customize a top banner depending on the ns with w:MediaWiki:Newarticletext.
- We can change the background colors and the other CSS settings according to the ns into MediaWiki:Common.css.
- JackPotte 18:12, 26 April 2011 (UTC)
[edit] email blacklist
Please actual discussion at en:Wikipedia:Village_pump_(technical)#Email_domain_blacklist. Thanks. Regards, mabdul 13:07, 8 November 2011 (UTC)