https://bugzilla.wikimedia.org/show_bug.cgi?id=28693

Robin Pepermans (SPQRobin) <robinp.1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robinp.1...@gmail.com

--- Comment #4 from Robin Pepermans (SPQRobin) <robinp.1...@gmail.com> 
2011-07-11 15:19:30 UTC ---
It would be useful for e.g. the Translate extension where the direction depends
on the language of the interface message (see e.g. r91881 where I added classes
named *-ltr, *-rtl added by Language->getDir() in PHP.

However, overall I don't think @doubleflip would be needed, Translate is more
an exceptional extension in terms of directionality.
Core MW is OK without it: I added sitedir-ltr/rtl (on body) for the site
content language, and mw-content-ltr/rtl classes for the page content language,
and that seems to be enough for most things. (I also had to add rules like
.mw-content-ltr .mw-content-rtl { ... } to circumvent the CSS priority system,
for cases where there was different directionality within the content.)

I think it would be more useful if there was something like
/* @flipclasses */ .class-ltr { margin-left:1em; }
that would generate
.class-ltr { margin-left:1em; }
and
.class-rtl { margin-right:1em; }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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

Reply via email to