Manual:$wgOverrideUcfirstCharacters
Appearance
Language, regional and character encoding settings: $wgOverrideUcfirstCharacters | |
---|---|
List of Unicode characters for which capitalization 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: | [] |
Other settings: Alphabetical | By function |
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 = [ 'ß' => 'ß', ];