Last modified: 2014-02-26 12:53:29 UTC
In Meta the content language is English. My user language there is Hebrew. If I read pages in the Schema namespace, the mw-json-schema-code-samples panel shows the code samples correctly with ltr direction, but the headings should be rtl, because they are in Hebrew.
This is because it's inside the content element (#mw-content-text), which is .mw-content-ltr. I'm not sure what the best way to address this is. Maybe it could be moved out of the content element. Otherwise, it would need to override it.
Adding the mw-content-(ltr|rtl) class according to the user language to the whole pop-up is probably the right way, but explicit dir="ltr" and class="mw-content-ltr" must be set on the code blocks.
[moving from MediaWiki extensions to Analytics product - see bug 61946]