Last modified: 2014-02-26 12:53:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 60233 - Headings in json-schema-code-samples have content language direction instead of user language
Headings in json-schema-code-samples have content language direction instead ...
Status: NEW
Product: Analytics
Classification: Unclassified
EventLogging (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: rtl
  Show dependency treegraph
 
Reported: 2014-01-19 18:20 UTC by Amir E. Aharoni
Modified: 2014-02-26 12:53 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2014-01-19 18:20:52 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.
Comment 1 Matthew Flaschen 2014-01-22 04:52:28 UTC
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.
Comment 2 Amir E. Aharoni 2014-01-22 13:29:36 UTC
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.
Comment 3 Andre Klapper 2014-02-26 12:53:29 UTC
[moving from MediaWiki extensions to Analytics product - see bug 61946]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links