Handbuch:$wgBetterDirectionality

This page is a translated version of the page Manual:$wgBetterDirectionality and the translation is 45% complete.
Einstellungen für Sprache, Region und Zeichenkodierung: $wgBetterDirectionality
Better directionality support.
Eingeführt in Version:1.17.0 (r69185)
Veraltet in Version:1.18.0 (r91518)
Entfernt in Version:1.23.0 (Gerrit change 106914; git #2b5a197b)
Erlaubte Werte:(Wahrheitswert)
Standardwert:false

Better directionality (left-to-right, right-to-left) support, most importantly being to be able to use an LTR interface on an RTL wiki and vice versa.

Diese Variable scheint nun veraltet zu sein, da die Funktionalität standardmäßig aktiviert ist.

Details

  • In rev 69185 (1.17), the page lang and dir is in the user language, and a div is added to bodyContent with lang and dir attributes based on the site content language.

This means basic distinction between the interface and site content language, instead of marking everything in the site content language (old, default behavior).

  • In rev 90264 (1.18), it was re-added under $wgBetterDirectionality = true, and in follow-up commits the implementation was further improved.

Siehe auch