Page MenuHomePhabricator

Prime operator is not rendered correctly with MathJax
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
Christian1985
Feb 12 2026, 9:13 AM
Referenced Files
F72092494: IMG_3087.png
Feb 14 2026, 7:08 AM
F71881915: image.png
Feb 12 2026, 10:15 AM
F71875650: image.png
Feb 12 2026, 9:13 AM

Description

I am using Ubuntu 24.04, Chrome and Media Wiki 1.46.0-alpha (143559b) 09:13, 12. Feb. 2026 mit MathJax rendering.

The code
<math>a^\prime a^{\prime \prime} f^\prime \mu^\prime</math>
wont be rendered correctly. The prime is rendered too far away from the letter. This can be seen in the picture in the default column.

image.png (1,276×154 px, 37 KB)

This ticket is connected to T385948. But I think these tickets are not completly the same.

Details

Related Changes in Gerrit:

Event Timeline

In svg both ' and \prime render the same. Is that intended?

Physikerwelt triaged this task as Medium priority.
Physikerwelt moved this task from Needs clarification to Ready to implement on the Math board.

Change #1239332 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Treat \prime as an operator

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

Change #1239332 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Treat \prime as an operator

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