Original Issue:https://github.com/openzim/mwoffliner/issues/164
See http://en.wikipedia.org/api/rest_v1/page/mobile-sections/Wilson%E2%80%93Cowan_model
Images with the class mwe-math-fallback-image-inline don't have an alt or alttext property.
Original Issue:https://github.com/openzim/mwoffliner/issues/164
See http://en.wikipedia.org/api/rest_v1/page/mobile-sections/Wilson%E2%80%93Cowan_model
Images with the class mwe-math-fallback-image-inline don't have an alt or alttext property.
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/services/mobileapps | master | +1 -1 | Mobileapps: Mobile View MathML Fallback Image doesn't have 'alt' property |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | vadim-kovalenko | T209277 Mobile View MathML Fallback Image doesn't have `alt` property | |||
Open | None | T63566 Images: Record alt/longdesc attributes along with the image |
This issue is affecting Kiwix clients that need access to the alt text of the fallback images, so that we can typeset equations using MathJax. I'm sure it should be a relatively simple fix. The alt text is provided on equivalent Wikipedia pages.
A few days ago a user has open a third ticket (https://github.com/openzim/mwoffliner/issues/1402) about that on MWoffliner. I don't really understand why this old bug, which seems easy to fix, has not been tackled so far.
Seems like an issue with Mobile-Content-Service
Parsoid
https://en.wikipedia.org/api/rest_v1/page/html/Wilson%E2%80%93Cowan_model
<img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/bf5be62d9f63f5df52e8bc156f950d41e131d99f" class="mwe-math-fallback-image-inline" aria-hidden="true" style="vertical-align: -0.838ex; width:4.425ex; height:2.843ex;" alt="E(t)"/>
Page Content Service
https://en.wikipedia.org/api/rest_v1/page/mobile-html/Wilson%E2%80%93Cowan_model
<img src="//wikimedia.org/api/rest_v1/media/math/render/svg/e2434c9d80c34c95e25cc81ba6700f756a29dac5" class="mwe-math-fallback-image-inline" aria-hidden="true" style="vertical-align: -0.838ex; width:3.821ex; height:2.843ex;" alt="I(t)">
Image attributes removal for mobile-sections has been introduced here - link.
Should we rollback the line with img: ['about', 'alt', 'resource'] to enable the alt attribute for images in mobile-section response?
cc: @MSantos , @Jgiannelos
Change 887947 had a related patch set uploaded (by Vadim Kovalenko; author: Vadim Kovalenko):
[mediawiki/services/mobileapps@master] Mobileapps: Mobile View MathML Fallback Image doesn't have 'alt' property
Change 887947 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Mobileapps: Mobile View MathML Fallback Image doesn't have 'alt' property