Handbuch:$wgOverrideUcfirstCharacters
Einstellungen für Sprache, Region und Zeichenkodierung: $wgOverrideUcfirstCharacters | |
---|---|
List of Unicode characters for which capitalization is overridden in Language::ucfirst. |
|
Eingeführt in Version: | 1.34.0 (Gerrit change 502546; git #d46835ef) |
Entfernt in Version: | Weiterhin vorhanden |
Erlaubte Werte: | (Array) |
Standardwert: | [] |
Andere Einstellungen: Alphabetisch | Nach Funktion |
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 = [ 'ß' => 'ß', ];