Manual talk:$wgCapitalLinks
Add topicUsernames
[edit]This is not working for usernames though. Is that intended? --Knakts 22:23, 2 June 2006 (UTC)
- Usernames are always capitalized for compatibility. --Brion VIBBER 06:16, 3 June 2006 (UTC)
- So how can this forcing of capital letters be removed completely? I am quite anal and really do not like this. 66.24.28.141 01:12, 14 March 2007 (UTC)
- This option will also be helpfull for me --Tsouchon 10:31, 24 March 2011 (UTC)
- Same here. We use email address as usernames (we have no alternative) and having the first letter capitalized really sucks.
- Umm, email addresses are usually considered case insensitive (yes i know, rfc says you can't assume, but I don't think any emails are actually case sensitive in practise). There is no config option to disable capitalization of the special, user, and mediawiki namespaces (Since they're listed in MWNamespace::$alwaysCapitalizedNamespaces ). Bawolff (talk) 14:23, 20 July 2012 (UTC)
- Compatibility with what Brion, ¿could you explain, pretty please? ¿Is this problem still the case in 2015? --Sophivorus (talk) 17:28, 27 July 2015 (UTC)
- I'm working on a patch to allow lower case usernames: allow lower-case user names -- ☠MarkAHershberger☢(talk)☣ 22:52, 18 June 2016 (UTC)
- Compatibility with what Brion, ¿could you explain, pretty please? ¿Is this problem still the case in 2015? --Sophivorus (talk) 17:28, 27 July 2015 (UTC)
- Umm, email addresses are usually considered case insensitive (yes i know, rfc says you can't assume, but I don't think any emails are actually case sensitive in practise). There is no config option to disable capitalization of the special, user, and mediawiki namespaces (Since they're listed in MWNamespace::$alwaysCapitalizedNamespaces ). Bawolff (talk) 14:23, 20 July 2012 (UTC)
- Same here. We use email address as usernames (we have no alternative) and having the first letter capitalized really sucks.
- This option will also be helpfull for me --Tsouchon 10:31, 24 March 2011 (UTC)
- So how can this forcing of capital letters be removed completely? I am quite anal and really do not like this. 66.24.28.141 01:12, 14 March 2007 (UTC)
Media Only?
[edit]Is it possible to have $wgCapitalLinks=False apply to files only and not article? I still would like initial letter to be upper-cased for articles, but the names/links of any uploaded files to stay lower case. This means that abc.png and Abc.png would be different files. --DavidMarsh 02:15, 1 May 2007 (UTC)
- This would be a great feature, making it easier for designers to work with MediaWiki. Jlerner 13:55, 10 April 2008 (UTC)
- This is now possible. See manual:$wgCapitalLinkOverrides Bawolff (talk) 14:23, 20 July 2012 (UTC)
changing from false to true
[edit]Changing $wgCapitalLinks from false to true on a site with page titles beginning with a lower-case letter causes those pages to be inaccessible.
Does anyone have recommendations for changing all page titles to upper-case in a partially or fully automated way so that $wgCapitalLinks can be enabled on such a wiki?
The Python Wikipediabot Framework has the capatility to move pages and categories, but it does not appear to be able to move images. With images it seems you have to delete the old one and upload a new one with the capitalized name. The old pages should be deleted rather than kept as redirects since they will be non-functional when $wgCapitalLinks is true.
If you know of scripts for capitalizing titles, please post the info here as that is an essential step before enabling this option on wikis with lower-case first letter in any page titles.
- I believe that NamespaceDupes.php will fix the broken titles (Run it after changing this setting). Bawolff (talk) 14:23, 20 July 2012 (UTC)
HowTo: switch off sensity for page initals
[edit]All who decided to set $wgCapitalLinks
to false
long time ago, missing the function provided by the newer config value $wgAllowDisplayTitle
, can switch easily to title-overriding now, purchasing the implicit redirection from lowercase to uppercase forms. Try the following recipe:
- Move all pages to the uppercase variant.
- Remove the lowercase variants (yes, redirects will be implicit later).
- Remove the statement
$wgCapitalLinks = false;
- Add the statement
$wgAllowDisplayTitle = true;
- Be happy!
--Peu 10:32, 21 January 2009 (UTC)
Feature and description
[edit]Why is this feature called `$wgCapitalLinks` and also described as such, when it actually means that not just 'links' but page names become case-insensitive? --Bachsau (talk) 00:11, 4 April 2018 (UTC)
- Because within the function of wikis, page names always are (or can be) links. - IcarusATB (talk) 14:00, 27 January 2019 (UTC)