Jump to content

Manual:$wgCapitalLinks

From mediawiki.org
Page titles and redirects: $wgCapitalLinks
Set this to false to avoid forcing the first letter of links to capitals.
Introduced in version:1.2.4 (r2973)
Removed in version:Still in use
Allowed values:(boolean)
Default value:true

Details

[edit]

Set this to false to avoid forcing the first letter of page titles (including included pages, images, and categories) to capitals.

WARNING: Changing this for a wiki may break links since it makes links COMPLETELY case-sensitive.

Links appearing with a capital at the beginning of a sentence will not go to the same place as links in the middle of a sentence using a lowercase initial; typically, the former has to become a link with a separate display title (e.g., [[Page|page]]). After setting this to false, run the cleanupCaps.php maintenance script to fix the existing links that will be broken.

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.
$wgCapitalLinkOverrides can override this setting on a per namespace basis.

See also

[edit]