Page MenuHomePhabricator

Regression: Math Popups Showing plain HTML
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

If you go to the english site of mass-energy equivalence and hover over the formulae E = mc^2 a popup appears that falsly shows plain HTML instead of a parsed version. Here is a screenshot:

Screenshot-Popup-Issue.png (889×1 px, 266 KB)

The possibility of popups for math was introduced here: T208758

Steps to replicate the issue (include links if applicable):

What happens?:

  • Shows a wrongly formatted popup in plain HTML.

What should have happened instead?:

  • Shows a correctly formatted popup.

QA Results - Beta

ACStatusDetails
1T341318#9007514

Event Timeline

@Andreg-p do you also see this in your local development environment?

Change 936311 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/Popups@master] When extract is a string treat it as HTML

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

Jdlrobson renamed this task from Math Popups Showing plain HTML to Regression: Math Popups Showing plain HTML.Jul 10 2023, 5:23 PM
Jdlrobson added a project: Regression.

Change 936311 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] When extract is a string treat it as HTML

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

Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

Hover over a linked formulae, such as E = mc^2 in mass-energy equivalence
✅ AC1: Shows a correctly formatted popup.

Screenshot 2023-07-11 at 7.05.47 PM.png (878×1 px, 195 KB)