Manual:$wgCapitalLinkOverrides

Per namespace configuration for $wgCapitalLinks.

Example: (Note that the setting for NS_MEDIA is taken automatically from NS_FILE.)

Caveats

 * Some namespaces&mdash;Special, User and Mediawiki, and their associated talk namespaces&mdash;must be capitalized. $wgCapitalLinkOverrides will not affect them.
 * Since Talk namespaces need to directly mirror their associated subject namespaces, the values for those are ignored in favor of the subject namespace's setting.