Jump to content

Manual:$wgOverrideUcfirstCharacters/en-gb

From mediawiki.org
This page is a translated version of the page Manual:$wgOverrideUcfirstCharacters and the translation is 33% complete.
Language, regional and character encoding settings: $wgOverrideUcfirstCharacters
List of Unicode characters for which capitalisation is overridden in Language::ucfirst.
Introduced in version:1.34.0 (Gerrit change 502546; git #d46835ef)
Removed in version:Still in use
Allowed values:(array)
Default value:[]

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 LocalSettings.php:

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