Podręcznik:$wgRestrictDisplayTitle
Appearance
Parser: $wgRestrictDisplayTitle | |
---|---|
Restrict {{DISPLAYTITLE}} to titles that normalize to the same canonical database key |
|
Wprowadzono w wersji: | 1.14.0 (r39552) |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (wartość logiczna) |
Domyślna wartość: | true |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
Restricts display titles to titles that normalize to the same canonical database key as the real page title.
This roughly means that only capitalization variations of the title are accepted.
If set to false
, any display title is allowed.
This is not recommended however, as it breaks the wiki convention that a page's title is its name, and thus can be used for linking to it.
Wersja MediaWiki: | ≥ 1.22 |
Additionally, some inline CSS rules like display: none;
which can cause the text to be hidden or unselectable are disallowed.