Manual:$wgCapitalLinkOverrides

From MediaWiki.org
Jump to: navigation, search
Site customization: $wgCapitalLinkOverrides
Per namespace configuration for $wgCapitalLinks.
Introduced in version: 1.16.0 (r57558)
Removed in version: still in use
Allowed values: array
Default value: empty array

Other settings: Alphabetical | By Function


Per namespace configuration for $wgCapitalLinks.

Example:

$wgCapitalLinkOverrides[ NS_FILE ] = false;

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

Caveats [edit]

  • Some namespaces—Special, User and Mediawiki, and their associated talk namespaces—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.