Jump to content


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



Set this to false to avoid forcing the first letter of page titles (including included pages, images and categories) to capitals. WARNING: may break links! This 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 cleanupCaps.php 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.

On Wiktionary projects of all languages, this setting is disabled, but enabled on all other Wikimedia projects except a few Wikipedia languages listed in https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php (Lojban, Paiwan, Sakizaya and Atayal as of 2022).

See also