Manual:$wgCapitalLinkOverrides

Details
Per namespace configuration for $wgCapitalLinks.

Since Talk namespaces need to directly mirror their associated content namespaces, the values for those are ignored in favor of the subject namespace's setting. Setting for NS_MEDIA is taken automatically from NS_FILE.

Example:

Caveat
Some namespaces&mdash;Special, User and Mediawiki, and their associated talk namespaces&mdash;must be capitalized. $wgCapitalLinkOverrides will not affect them.