2010/11/10 Trevor Parscal tparscal@wikimedia.org:
On 11/10/10 6:52 AM, Aryeh Gregor wrote:
Whatever script makes static dumps should just get ResourceLoader to output one CSS file that contains everything that could be needed, probably with no JS (unless there's some JS static dumps will actually want that I can't think of), and include that statically.
You will need to generate one for right-to-left and one for left-to-right. ResourceLoader has an API that supports generating these responses directly in PHP.
CSSJanus::transform( $css ) in includes/libs/CSSJanus.php is what Trevor's talking about here.
I guess you could take a concatenated version of all style sheets and generate an RTL version of that. What do the current static dumps do?
Roan Kattouw (Catrope)