Template talk:Lowercase-user

From Wikipedia, the free encyclopedia

[edit] User:

The "This user would prefer the username" blurb doesn't need to be displayed when RealTitle is enabled
The "This user would prefer the username" blurb doesn't need to be displayed when RealTitle is enabled

(moved from Interiot's talk page) Interiot, you recently edited {{Template:Lowercase-user}} to include "User:" (namespace, whatever). May I ask why? It reads a lot better on a user's page without the User: stuck in, as the user probably does not want User: to actually be in their user name. -- stillnotelf is invisible 02:02, 16 November 2006 (UTC)

See Wikipedia:Village pump (technical)#Name technical restrictions workaround. We now have a fix in that can make the title at the top of the page appear the correct way. So, if you go to User:Stillnotelf, you can see "User:stillnotelf" at the very top rather than the capitalized version (and see "pH" on PH, etc). (currently it requires a modification to your monobook.js, but fr.wikipedia.org already has this turned on by default, and I hope enwiki will too) For this specific template, if User: isn't included, then what you see at the top of User:Stillnotelf is "stillnotelf" with no User: in front of it, making it briefly confusing whether you're on a user page or not. --Interiot 02:12, 16 November 2006 (UTC)
Okay, I changed it slightly. When you don't have the RealTitle javascript working (which hopefully will be a rare occurrence soon), it will show without the User:. When you do have the RealTitle working, it will show with the User:, so there's no confusion about which namespace the page is in. --Interiot 02:17, 16 November 2006 (UTC)
Looks perfect to me, thanks! I'd've broken the code if I mucked around, and just reverting would have been rude. -- stillnotelf is invisible 02:44, 16 November 2006 (UTC)

Technical note: The compromise above includes a hack that doesn't fail gracefully for browsers that don't understand CSS. For those browsers, the user's name will end up being displayed twice in the "This user would prefer the username" blurb. (tested on Lynx and w3m) It would be good if there could be another way to implement this compromise. --Interiot 03:33, 16 November 2006 (UTC)

I certainly have no objection to "compromising" by "ignoring my complaints" while the inclusion of the new script into Monobook.js is being worked out. I would point out that non-CSS browers with the name printed twice are probably less common than normal browers being hit with an odd User:, though, for what that's worth (since it's an issue of reading oddly either way, not being broken). You're much better read on this issue than I; I just noticed the change on my watchlist and realized it made user pages look a little funny, so I bow to your judgement. -- stillnotelf is invisible 05:53, 16 November 2006 (UTC)
Well, if we Wikipedia:Village pump (technical)#Name technical restrictions workaround|get enough input] to make this change site-wide, then "ignore" would be a reasonable option since almost everyone would see what's depicted in the screenshot on the right (only people who have javascript turned off would see "This user would prefer the username User:stillnotelf.") --Interiot 06:38, 16 November 2006 (UTC)
Actually, there was a clearly better solution... have the javascript figure out if the namespace is included or not, and if not, add it itself. It turns out most uses of {{wrongtitle}} templates don't include the namespace, BUT a few do, so if the javascript can sort it all out, that's the best solution. I've made this change to my code, and it's working great. This removes all hackery from the templates, and moves it to the javascript where it arguably belongs. --Interiot 03:30, 21 November 2006 (UTC)

[edit] Separate template (or a parameter) needed for user talk pages

Since it is unwanted that talk pages also should be categorized in Category:Wikipedians with usernames with lowercase initial letters, a separate template, or a switch parameter should be created so that user talk pages could also have lowercase initial letter. __meco 10:02, 9 May 2007 (UTC)

You can already do this by using {{lowercase-user|category=}}. —{admin} Pathoschild 02:26:21, 10 May 2007 (UTC)
That does not work presently. __meco 10:56, 24 June 2007 (UTC)

[edit] Categories

Is this template the cause of some users being sorted under lowercase headings in categories? e.g. Category:Administrators open to recall.

Assuming that it is:

Wikipedia:Categorisation says "Don't start the category sort key with a lower case letter, unless you want to create a separate caption with that lower case letter in the category (note that the first lower case letter caption starts only after the last upper case letter caption)".

In the case of users, I could care less whether somebody wants to be called "kingboyk" or "Kingboyk", what I want is to find them under "K". Altering category sorting to placate the "owner" of the page at the expense of the person using the category is not how we're meant to do things, so I would like to request that this be changed.

If this template isn't causing the behaviour:

Please point out to this ignoramus what is causing it :) Thanks. --kingboyk (talk) 17:40, 4 January 2008 (UTC)

Could you please provide more specific examples? I don't see your name in Category:Wikipedia administrators open to recall. Two users in that category listed under small letters did that with a lowercase sorting key (such as [[Category:Wikipedia administrators open to recall|anetode]] inside their user pages wikicode ∴ AlexSm 18:00, 4 January 2008 (UTC)