Manual:$wgOverrideUcfirstCharacters: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
→Details: pipe |
||
Line 16: | Line 16: | ||
The characters should be represented as <code>char_to_convert => conversion_override</code>. |
The characters should be represented as <code>char_to_convert => conversion_override</code>. |
||
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]]: |
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|LocalSettings.php]]: |
||
<syntaxhighlight lang="php"> |
<syntaxhighlight lang="php"> |
Latest revision as of 00:49, 24 December 2024
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
[edit]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 = [ 'ß' => 'ß', ];