Manual:$wgBetterDirectionality

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgBetterDirectionality and the translation is 30% complete.

Other languages:
English • ‎français • ‎日本語 • ‎polski
Localization: $wgBetterDirectionality
Better directionality support.
導入されたバージョン: 1.17.0 (r69185)
廃止予定になったバージョン: 1.18.0 (r91518)
除去されたバージョン: 1.23.0 (git #2b5a197b)
可能な値: boolean
既定値: false
他の設定: アルファベット順 | 機能順

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

注 注: This variable seem to be deprecated now as the functionality is turned on by default.

詳細[edit]

  • 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 ResourceLoader, the directionality was set according to the user language, but this was reverted in rev 81622.
  • In rev 90264 (1.18), it was re-added under $wgBetterDirectionality = true, and in follow-up commits the implementation was further improved.

関連項目[edit]