Page MenuHomePhabricator

$wgCapitalLinks = false; no longer working for user names
Closed, InvalidPublic

Description

Author: CobraSA

Description:
$wgCapitalLinks = false;
Allow non forced capitalization

In 1.12 it was working for user names too, when I upgraded to 1.16 it was no longer working for user names, it it forced capitalization for user names.

Still working on pages.


Version: 1.16.x
Severity: normal
OS: Windows 7
Platform: PC

Details

Reference
bz26391

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:13 PM
bzimport set Reference to bz26391.
bzimport added a subscriber: Unknown Object (MLST).

It's not a bug, it's a feature

http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks

Note: This settings affects all namespaces except Special, (and as of 1.16) Mediawiki and User. In versions before 1.16, it affects the MediaWiki namespace, but remember that MediaWiki only recognizes pages in upper case. So if you for example edit "MediaWiki:sidebar" you will see nothing has changed, but editing "MediaWiki:Sidebar" works normally.

Note: $wgCapitalLinkOverrides can override this setting on a per namespace basis.

http://www.mediawiki.org/wiki/Manual:$wgCapitalLinkOverrides

CobraSA wrote:

In 1.12.0 it works for user names too
Since 1.13 it doesn't work for user names

Updating to 1.16 has broken user rights so for now I test 1.13 1.14 & 1.15 to see if it breaks user rights too.

CobraSA wrote:

I have written i localsettings
$wgCapitalLinkOverrides[ User ] = false;

And users still are capitalized. What am I doing wrong?

$wgCapitalLinkOverrides[ NS_USER ] = false;

$wgCapitalLinkOverrides has no affect on user and mediawiki namespaces (According to the docs anyways).