Jump to content

Manual:$wgOverrideUcfirstCharacters

From mediawiki.org
This page is a translated version of the page Manual:$wgOverrideUcfirstCharacters and the translation is 67% complete.
言語、地域、文字エンコードの設定: $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalization is overridden in Language::ucfirst.
導入されたバージョン:1.34.0 (Gerrit change 502546; git #d46835ef)
除去されたバージョン:使用中
許容される値:(配列)
既定値:[]

See T219279.

Details

The characters should be represented as char_to_convert => conversion_override.

For example, to prevent being taken to the page `Ss` on a wiki when you want to view `ß`, add this to your Manual:LocalSettings.php:

$wgOverrideUcfirstCharacters = [ 'ß' => 'ß', ];