Manual:$wgCapitalLinkOverrides

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCapitalLinkOverrides and the translation is 50% complete.

Other languages:
English • ‎dansk • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
サイトのカスタマイズ: $wgCapitalLinkOverrides
Per namespace configuration for $wgCapitalLinks .
導入されたバージョン:1.16.0 (r57558)
除去されたバージョン:使用中
許容される値:(配列)
既定値:[]

詳細

Per namespace configuration for $wgCapitalLinks .

例:

$wgCapitalLinkOverrides[ NS_FILE ] = false;
The setting for NS_MEDIA is taken automatically from NS_FILE.


警告

  • 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.