MediaWiki talk:Titleblacklist

From Wikipedia, the free encyclopedia
Jump to: navigation, search
The following instructions were copied from mw:Extension:Title Blacklist.

The title blacklist is maintained as a system message MediaWiki:Titleblacklist.

This page consists of regular expressions, each on a separate line. For example:

Foo <autoconfirmed|noedit|errmsg=blacklisted-testpage> 
[Bb]ar #No one should create article about it

There is no need to use "^" at the beginning, and "$" at the end; these are added automatically.

Each entry may also contain optional attributes, enclosed in <> and divided by |

  • 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
  • errmsg — the name of the message that should be displayed instead of standard

When the action is blocked, one of the following messages is displayed together with the filter row (as $1): titleblacklist-forbidden-edit, titleblacklist-forbidden-move, titleblacklist-forbidden-new-account or titleblacklist-forbidden-upload. Generic filenames have their own custom error message, MediaWiki:Titleblacklist-custom-imagename.

There is also MediaWiki:Titlewhitelist and a global title blacklist.

Only administrators, account creators, and template editors can override this list.

Protected edit request on 12 August 2014[edit]

Please change ".*An hero.* <moveonly>" to ".*An hero.* <moveonly|casesensitive>" to avoid many false positives. Jackmcbarn (talk) 05:29, 12 August 2014 (UTC)

Yes check.svg DoneMr. Stradivarius ♪ talk ♪ 05:43, 12 August 2014 (UTC)

Why are usernames of more than 40 characters disallowed?[edit]

.{40,} <newaccountonly|errmsg=titleblacklist-forbidden-new-account-invalid> # Disallows usernames of more than 40 characters

Why? Matma Rex talk 16:53, 29 August 2014 (UTC)

@Matma Rex: Maybe MZMcBride knows? They're the one who added it back in 2009, and I don't see any discussion about it in the talk page archives. — Mr. Stradivarius ♪ talk ♪ 17:43, 29 August 2014 (UTC)
Mr. Stradivarius, Matma Rex: Err, MediaWiki talk:Titleblacklist/Archive 3#False positives?. :-) --MZMcBride (talk) 04:31, 30 August 2014 (UTC)
@Matma Rex, MZMcBride: Aha - I only checked the archives for 2009, when you added it. I don't see any reason why we can't change this, but should we increase the limit, or just remove it altogether? — Mr. Stradivarius ♪ talk ♪ 10:59, 30 August 2014 (UTC)
I suggest just removing it. MediaWiki limits usernames to 255 bytes already :) Matma Rex talk 11:48, 30 August 2014 (UTC)
@Matma Rex: Now removed. — Mr. Stradivarius ♪ talk ♪ 11:52, 30 August 2014 (UTC)
MediaWiki:Titleblacklist-forbidden-new-account-invalid needs to be updated. Matma Rex talk 12:23, 30 August 2014 (UTC)
@Mr. Stradivarius I think it's quite sensible to have a reasonable human-scale limit to the lengths of names. Names are meant to be identifiers, not manifestos or an opportunity for perfoemance art. Removing this limit will lead to people being able to create accounts with very long names such as User:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX and User:Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum Bum, which risks silting up Wikipedia's processes with repetitions of those names in signatures, templates, etc. It also provides an easy way for vandals and trolls to be annoying (see above example). Even Reddit applies username length limits (of just 15 characters -- we are far more generous), and they don't have the goal of writing an encylopedia. For these reasons, I've reverted your change to this for now, pending a much wider discussion among the community.
@Matma Rex, can you tell me why you wanted this limit removed, and what you believe the benefits would be to the community of doing so? -- The Anome (talk) 14:13, 30 August 2014 (UTC)
Because it's an arbitrary limit of questionable value that I ran into. I don't care enough about this wiki to spend any more time on this discussion that I already have. The drive to inanely "discuss" the most trivial changes has bad effects on me.
By the way, you might want to expand your English-language-centric worldview about the length of persons' names. I found to be a fascinating read. Matma Rex talk 14:53, 30 August 2014 (UTC)
Well this is the English Wikipedia. However, this seems to be a global proiject issue, especially in light of SUL; so soon it may not even matter. Does anyone know if there is a overall limit associated with SUL? — xaosflux Talk 15:30, 30 August 2014 (UTC)
Also notable, the "username" field is simply an identifier, is is not designed to be everyone's "Full name". — xaosflux Talk 15:31, 30 August 2014 (UTC)
Yeah, local username blacklists, in addition to local user renames, will soon® be going away, I imagine. The global title blacklist lives at m:Title blacklist. I don't see a user account name length limitation there off-hand. --MZMcBride (talk) 21:21, 30 August 2014 (UTC)
The name limit at meta and mediawiki (tried at both) seems to be 65 characters long, cf. the new user User:Doe a deer a female deer, Ray, a drop of golden sun, Me, a name. (and trying to type more characters than that triggers the "invalid name" pink warning box), but I can't see why (the string "65" doesn't appear in the meta blacklist).
I'd suggest that 65 characters is a reasonable limit, if the 40-limit has any real reason to be removed. (Are non-latin scripts regularly hitting the character limit in any particular language?)
Afaik, the best overview of technical limitations, is at Wikipedia:Naming conventions (technical restrictions)#Restrictions on usernames, which indicates that somewhere in the code (now or previously) there's a limit of 235 characters.
I'd find it annoying (and basically trollish) if usernames were actually 235 characters long (or really anything over 65). That's a lot of linewrap, in our logs/feeds/etc. Imagine the hypothetical user User:Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam feugiat consectetur diam non sodales. Vivamus eget velit massa. Duis congue congue nibh suscipit molestie. Quisque bibendum sapien eu tellus tempor accumsan. Phasellus sed filling up watchlists/RC/history/IRC with their massive name. If someone wants to have a display name that is 255 characters long, the signature-field is available.
HTH. Quiddity (talk) 22:15, 30 August 2014 (UTC)

(un-indent, cc: Quiddity && Matma Rex) It took a bit of digging, but I found that $wgMaxNameChars is set to 64 on Wikimedia wikis (cf. InitialiseSettings.php.txt). I hadn't realized this (or I'd forgotten). Unfortunately I'm not sure who added this restriction or why. The file's history doesn't go back far enough and I couldn't find a relevant entry in the server admin log. The only hint I uncovered was that at some point Commons likely had a non-default limit. --MZMcBride (talk) 06:03, 1 September 2014 (UTC)

Is mw:Manual:$wgMaxNameChars including or excluding the namespace? The length is different in different languages. In some languages, the length also depends on the gender of the user. "利用者" is only three characters whereas "Utilisateur" is eleven. It would be a bad idea if a user can create a long name on Japanese Wikipedia, but then not use it on French Wikipedia. --Stefan2 (talk) 22:07, 5 September 2014 (UTC)

Hmmmmm: bugzilla:2693#c1. --MZMcBride (talk) 06:05, 1 September 2014 (UTC)

OK. If that's the case, I think we can live with a 64 character limit, so I'm fine with removing the 40 character limit here. On enwiki, we can continue to flag up long names in our local semi-automatic username monitoring processes, as part of the process for human oversight of potentially abusive accounts. We should do some testing, though, just to test that the 64 character limit is actually enforced. -- The Anome (talk) 12:24, 2 September 2014 (UTC)
Agreed. --MZMcBride (talk) 03:06, 5 September 2014 (UTC)


Legoktm (talk) 04:14, 5 September 2014 (UTC)

  • I think that this should be fixed globally. c:MediaWiki:Titleblacklist currently only allows 40 characters. This means that some users who create SUL accounts here can't use them on Commons. --Stefan2 (talk) 22:07, 5 September 2014 (UTC)

Why is this blacklisted? Please fix and explain and move.[edit]

"User:Elvey/COMMONDEER" cannot be moved to "User:Elvey/COMMENDEER", because the title "User:Elvey/COMMENDEER" is on the title blacklist. If you feel that this move is valid, please consider requesting the move first. Why is this blacklisted? Please fix and explain and move.--{{U|Elvey}} (tc) 19:43, 8 September 2014 (UTC)

PS COMMENDEER is the correct spelling per ! --{{U|Elvey}} (tc) 19:44, 8 September 2014 (UTC)

@Elvey: You're hitting .*\p{Lu}(\P{L}*\p{Lu}){9}.* <casesensitive | moveonly> # Disallows moves with more than nine consecutive capital letters. I've performed the move for you. Jackmcbarn (talk) 20:14, 8 September 2014 (UTC)