Last modified: 2014-11-18 01:22:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75419, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73419 - Math formulas not visible when MathML is enabled.
Math formulas not visible when MathML is enabled.
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Android App (Other open bugs)
Stable
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-14 15:45 UTC by Dmitry Brant
Modified: 2014-11-18 01:22 UTC (History)
5 users (show)

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


Attachments

Description Dmitry Brant 2014-11-14 15:45:07 UTC
When a user is logged in, and the user's preferences include displaying math formulas in MathML (settable in desktop website), the formulas are not shown at all in the app.

Upon examining the received HTML, the problem seems to be the following:

- The actual MathML is wrapped in a span that has a style of "display: none".

- Next to the MathML, there is a "meta" tag that contains the url for a PNG fallback image for the formula, but since it's a "meta" tag, it's not rendered by the WebView.
Comment 1 Gerrit Notification Bot 2014-11-14 16:08:57 UTC
Change 173285 had a related patch set uploaded by Dbrant:
Display fallback math images when MathML is enabled.

https://gerrit.wikimedia.org/r/173285
Comment 2 Gerrit Notification Bot 2014-11-14 18:01:20 UTC
Change 173285 abandoned by Dbrant:
Display fallback math images when MathML is enabled.

Reason:
Superseded by https://gerrit.wikimedia.org/r/173317

https://gerrit.wikimedia.org/r/173285
Comment 3 Dmitry Brant 2014-11-14 18:02:20 UTC
Simpler patch that fixes it:

https://gerrit.wikimedia.org/r/173317

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


Navigation
Links