https://bugzilla.wikimedia.org/show_bug.cgi?id=34470
--- Comment #5 from foma...@googlemail.com 2012-02-19 12:59:10 UTC --- Ok, there is one situation for a edit section button outside of the mw-content-ltr or mw-content-rtl container when you create a edit section button for the first heading as a gadget like [[de:MediaWiki:Gadget-Einleitung-bearbeiten.js]]. For this situation the automatic user interface based flipped definition is necessary: .editsection { float: right; margin-left: 5px; } For edit section buttons inside the mw-content-ltr/mw-content-rtl container should not flipped and should depend mw-content-ltr/mw-content-rtl. ----- new ----- /* Edit section links */ /* outside of mw-content-ltr/mw-content-rtl */ .editsection { float: right; margin-left: 5px; } /* Correct directionality when page dir is different from site/user dir */ /* @noflip */ .mw-content-ltr .editsection, .mw-content-rtl .mw-content-ltr .editsection { float: right; margin-left: 5px; } /* @noflip */ .mw-content-rtl .editsection, .mw-content-ltr .mw-content-rtl .editsection { float: left; margin-right: 5px; } ----- LTR wikis with RTL user interface have the same problem with the margin. The float definition and the margin definition must kept together. Why depends the language and the direction of the first heading on the user interface language and not on the page content language? I think the language and the direction of the first heading should also depend on the page content language. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l