Page MenuHomePhabricator

Fix formatting issues with mathematic formulas (<math>)
Closed, ResolvedPublic

Description

Origin: This is a wish from the German Community Wishlist Survey 2017. It did not get voted as a top wish, but because the individual issues it contains are rather small, independent projects, they are recommended for volunteer developers, e.g. to be tackled during the Wikimania Hackathon 2017.

Original wish (German): https://de.wikipedia.org/wiki/Wikipedia:Umfragen/Technische_Wünsche_2017/Lesen#Follow-up_zu_dem_Wunsch_Schriftgröße_mathematischer_Formeln_vereinheitlichen

Problem: There are some formatting issues when using the <math> markup. The wish mentioned above lists some issues that are occurring throughout different browsers. These individual issues are subtasks of this task. They can be tackled separately or together.
related task from the 2015 survey: https://phabricator.wikimedia.org/T132607

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

If anyone want's to hack on this but needs help finding where to start, whom to speak with or similar – starting this week there is now a weekly Technical Advice IRC meeting open for all volunteer developers: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting

Hello @Debenben!

I created his task and its subtasks because the wish was in our 2017 Wishlist Survey and didn't become a top wish – but it seemed like a doable project for volunteers:

https://phabricator.wikimedia.org/T172865 - Fix formatting issues with mathematic formulas: remove wrong bold formatting
https://phabricator.wikimedia.org/T172867 - Fix formatting issues with mathematic formulas: fix baseline and font size
https://phabricator.wikimedia.org/T172868 - Fix formatting issues with mathematic formulas: remove wrong line spacing
https://phabricator.wikimedia.org/T172873 - Fix formatting issues with mathematic formulas: fix display of special characters

Now I'm pinging you because there are questions in some of the subtasks, e.g. how to reproduce the described problems. Could you add the information that's missing in my description?

Best,
Johanna

As a MathJax team member, I'm not sure T172873 is really doable by a volunteer. The only option that doesn't require MathJax devs to do something would be to switch mathoid to use a different font (e.g., STIX, Latin Modern) which seems to require consideration from WMF (and the community) ; some visual regression testing would then seem wise in that case.

Physikerwelt claimed this task.
Physikerwelt added a subscriber: Physikerwelt.

as only https://phabricator.wikimedia.org/T172873 remains as open subtask, I am closing this one.