Page MenuHomePhabricator

SVG fallback images failing on chrome/safari on mac
Closed, ResolvedPublic

Description

Some pages are not displaying images in SVG mode in chrome.

I'm getting blank images in https://en.wikipedia.org/w/index.php?title=Wikipedia:Reference_desk/Mathematics

pasted_file (245×1 px, 93 KB)

other pages seem to be displaying OK. It might a tempory problem now sorted, but leaving some problems.

I've tried math purging but that not working.

Event Timeline

SalixAlba raised the priority of this task from to High.
SalixAlba updated the task description. (Show Details)
SalixAlba added a project: Math.
SalixAlba subscribed.

Seems like it affecting new images. I I look at an existing page everything looks good. Once I start editing the page all the equations display as blank.

Looking at the page source its attempting to load URL like

https://en.wikipedia.org/w/index.php?title=Special:MathShowImage&hash=83af21a11e0e4b5161fa6c9b4d39913a&mode=mathml

Loading this in a new tab just gives
Exception encountered, of type "BadMethodCallException"

If I change the URL to

https://en.wikipedia.org/w/index.php?title=Special:MathShowImage&hash=83af21a11e0e4b5161fa6c9b4d39913a&mode=5

then it displays OK.

Change 230393 had a related patch set uploaded (by Physikerwelt):
Fix: Special page ShowMathImage should read the mode as string

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

@SalixAlba: Thank you very much for reporting this. This was really a stupid mistake. Sorry.

Change 230393 merged by jenkins-bot:
Fix: Special page ShowMathImage should read the mode as string

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