Page MenuHomePhabricator
Feed Search

May 30 2025

Jacobolus added a comment to T271001: Transition to MathML rendering as default.

As far as I can tell all of the browsers in "Grade C" and most of the browsers in "Grade X" currently receive the same high quality math typography from Wikipedia that the "Grade A" browsers get. So if you are suggesting that it's completely fine if every reader who doesn't have "Grade A" browsers or current hardware should receive ugly or even illegible mathematical notation, that would be a huge downgrade/regression compared to current support.

May 30 2025, 12:36 AM · MediaWiki-Platform-Team (Radar), MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), Wikimedia-Site-requests, MW-1.43-release, User-notice, Community-consensus-needed, Math

May 29 2025

Jacobolus added a comment to T271001: Transition to MathML rendering as default.

The page https://en.wikipedia.beta.wmflabs.org/wiki/Extension:Math/Native_MathML/Reported_Cases has completely broken layout so that's not too encouraging. Also this just shows random snippets of formulas out of context, which is okay for testing certain specific features but doesn't do a good job of showing how mathematics appear in context in articles.

May 29 2025, 8:42 PM · MediaWiki-Platform-Team (Radar), MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), Wikimedia-Site-requests, MW-1.43-release, User-notice, Community-consensus-needed, Math
Jacobolus added a comment to T271001: Transition to MathML rendering as default.

In my opinion the #1 requirement for any such potentially disruptive change is to set up a test environment with at least several dozen devices of various display size, operating system, browser, browser version (representing versions back maybe 10 years), and make a test page with a wide range of mathematical expressions drawn from wikipedia articles and shown with sufficient context so that they appear as they would in-article, and then get the rendering across devices evaluated by experts, with release blocked until there has been a sign off that rendering has consistently high quality. This would probably be easiest if a way were figured out to get screenshots of these automatically produced so they could be easily inspected remotely, rather than needing to bring someone to a physical place where the devices sit.

May 29 2025, 5:38 PM · MediaWiki-Platform-Team (Radar), MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), Wikimedia-Site-requests, MW-1.43-release, User-notice, Community-consensus-needed, Math

May 28 2025

Jacobolus added a comment to T271001: Transition to MathML rendering as default.

No you should most certainly not follow any plan like this. The native mathml mode remains completely unready for wide-scale production use, and switching to it as a default for any of the large language Wikipedias any time in 2025 is going to be a huge mess with lots of angry push-back from Wikipedians and Wikipedia readers. Many readers' browsers will render formulas in various broken ways, and most of the rest will have unacceptably ugly spacing and layout problems on many pages.

May 28 2025, 12:56 PM · MediaWiki-Platform-Team (Radar), MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), Wikimedia-Site-requests, MW-1.43-release, User-notice, Community-consensus-needed, Math

Apr 4 2025

Jacobolus added a comment to T201233: Long math output unreadable on small screens due to scrolling off the side of screen.

Math articles are still vaguely readable with this bug, but thousands of them have messed up formatting, in some cases pretty severe, and it's hard to get a good sense of what the appearance will be (once the bug is fixed) which slightly hampers editing in the mean time. If it takes two or three days to roll this back it's not the end of the world, but the faster the better.

Apr 4 2025, 10:24 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), Patch-For-Review, Verified, Readers Essential Work 2025 (Improve display of large content in Vector 2022 and Minerva skins), Design, Mobile, Math
Jacobolus added a comment to T201233: Long math output unreadable on small screens due to scrolling off the side of screen.

In the mean time this can be worked around in two ways:

Apr 4 2025, 4:57 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), Patch-For-Review, Verified, Readers Essential Work 2025 (Improve display of large content in Vector 2022 and Minerva skins), Design, Mobile, Math
Jacobolus added a comment to T201233: Long math output unreadable on small screens due to scrolling off the side of screen.

While we're at it, as you can see from Edtadros's screenshots above, the vertical alignment of inline math is also off, worse than it was yesterday.

Apr 4 2025, 1:57 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), Patch-For-Review, Verified, Readers Essential Work 2025 (Improve display of large content in Vector 2022 and Minerva skins), Design, Mobile, Math

Apr 3 2025

Jacobolus added a comment to T268922: make <math> tags without argument to be inline math.

I never noticed this ticket before, but please do not apply any change of this type. It will break the rendering of historical versions of every Wikipedia article with math in it. The "do nothing" alternative is far preferable.

Apr 3 2025, 9:21 PM · Math
Jacobolus added a comment to T201233: Long math output unreadable on small screens due to scrolling off the side of screen.

Is today's regression where block math elements in desktop view are no longer rendering on a new line related to fixes for this? Many pages are currently experiencing this new rendering bug across Wikipedia.

Apr 3 2025, 9:16 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), Patch-For-Review, Verified, Readers Essential Work 2025 (Improve display of large content in Vector 2022 and Minerva skins), Design, Mobile, Math

Mar 31 2025

Jacobolus added a comment to T390512: "Invalid CSRF token" on any actions by registered users.

Thanks for your quick work!

Mar 31 2025, 3:59 AM · SRE, Wikimedia-Incident, MediaWiki-User-login-and-signup
Jacobolus added a comment to T390512: "Invalid CSRF token" on any actions by registered users.

I'm running into the same issue. Couldn't edit (with a message about needing to log out), then couldn't log out ("invalid CSRF token"), cleared my browser's saved data to force log out, and now it's impossible to log in.

Mar 31 2025, 3:30 AM · SRE, Wikimedia-Incident, MediaWiki-User-login-and-signup
Jacobolus added a comment to T255179: Session failures ("invalid CSRF token") preventing edits, login, logout, etc due to kask outage.

I'm currently running into this symptom, 30 March 2025. Any advice on what to try? I can't log out or make edits at the moment. When trying to log out it says I have an invalid CSRF token, and when trying to make edits it says I need to log out first.

Mar 31 2025, 3:20 AM · Wikimedia-Incident, Platform Engineering, MediaWiki-Core-AuthManager, MediaWiki-User-login-and-signup, User-DannyS712

Mar 17 2025

Jacobolus added a comment to T201233: Long math output unreadable on small screens due to scrolling off the side of screen.

Sorry: I missed this reply in 2023.

Mar 17 2025, 11:30 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), Patch-For-Review, Verified, Readers Essential Work 2025 (Improve display of large content in Vector 2022 and Minerva skins), Design, Mobile, Math

Nov 4 2024

Jacobolus added a comment to T271001: Transition to MathML rendering as default.

In every browser on my computer, looking at https://en.wikipedia.beta.wmflabs.org/wiki/Extension:Math/Native_MathML/Reported_Cases the MathML examples are entirely unacceptable. The MathJax SVG has some issues but mostly looks okay. It's plausible that the problems with the MathML rendering is just down to using bad/broken fonts with insufficient character support, bad glyph shapes, poor metrics/kerning, etc. It's never ever going to work to expect every Wikipedia reader to bring their own math font.

Nov 4 2024, 5:20 AM · MediaWiki-Platform-Team (Radar), MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), Wikimedia-Site-requests, MW-1.43-release, User-notice, Community-consensus-needed, Math

Oct 9 2024

Jacobolus added a comment to T271001: Transition to MathML rendering as default.

In response to the "plan" at the top of this page:

Oct 9 2024, 4:05 PM · MediaWiki-Platform-Team (Radar), MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), Wikimedia-Site-requests, MW-1.43-release, User-notice, Community-consensus-needed, Math
Jacobolus added a comment to T271001: Transition to MathML rendering as default.

The above is what the MathML rollout page looks like in my browser. Leaving aside the math font being significantly too large in the top "SVG" example, as you can see, in the MathML version:

Oct 9 2024, 3:27 PM · MediaWiki-Platform-Team (Radar), MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), Wikimedia-Site-requests, MW-1.43-release, User-notice, Community-consensus-needed, Math

Jun 3 2024

Jacobolus added a comment to T182041: Display math generates div inside of paragraph (HTML5 violation).

Even though Mediawiki generally uses space for paragraph breaks, the vertical spacing above and below math formulas should be the same irrespective of where they are relative to paragraphs, and ideally should be relatively little. Extra vertical space around block elements like formulas is not obvious enough a signal of a paragraph break, and having inconsistent spacing doesn't look intentional, it just looks like a sloppy bug.

Jun 3 2024, 2:28 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), RESTBase Sunsetting, Content-Transform-Team-WIP, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), HTML5, Math

Dec 8 2023

Jacobolus added a comment to T339999: <math display=block> does not interact well with floating images.

@Jdlrobson The issue is the interaction between floating images and the CSS for display=block math formulas, as viewed in the desktop site. However semantically invalid it may be, the previous colon indentation method renders correctly (or at least correctly enough to be usable), whereas the display=block method renders (in my opinion) severely incorrectly.

Dec 8 2023, 4:10 AM · Math

Dec 7 2023

Jacobolus added a comment to T339999: <math display=block> does not interact well with floating images.

Are those all visible now?

Dec 7 2023, 6:58 PM · Math
Jacobolus changed the visibility for F41563286: Screen Shot 2023-12-05 at 10.50.53 AM.png.
Dec 7 2023, 6:50 PM
Jacobolus changed the visibility for F41563266: Screen Shot 2023-12-05 at 10.44.32 AM.png.
Dec 7 2023, 6:49 PM

Dec 5 2023

Jacobolus reopened T339999: <math display=block> does not interact well with floating images as "Open".
Dec 5 2023, 6:50 PM · Math
Jacobolus added a comment to T339999: <math display=block> does not interact well with floating images.

Here's a screenshot from English Wikipedia "Ellipse":

Screen Shot 2023-12-05 at 10.44.32 AM.png (1×1 px, 249 KB)

Dec 5 2023, 6:49 PM · Math

Jul 22 2023

Jacobolus added a comment to T341666: Wikimedia\RequestTimeout\RequestTimeoutException on de:Holomorphe_Funktion and several other math-heavy articles.

For whatever it's worth, this bug definitely is not caused by article content changes of the past 2 weeks. It affects some pages that have not been modified in that timeframe.

Jul 22 2023, 6:19 AM · Cite, Math, Performance Issue, Wikimedia-production-error

Jun 21 2023

Jacobolus added a comment to T182041: Display math generates div inside of paragraph (HTML5 violation).

Is there a place where we can test a wide variety of formulas with the new rendering mode?

Jun 21 2023, 4:54 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), RESTBase Sunsetting, Content-Transform-Team-WIP, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), HTML5, Math
Jacobolus created T339999: <math display=block> does not interact well with floating images.
Jun 21 2023, 12:47 AM · Math
Jacobolus created T339996: <math display=block> sometimes creates unnecessary vertical scrollbars which hijack readers' attempts to scroll.
Jun 21 2023, 12:29 AM · Math

Jun 20 2023

Jacobolus added a comment to T182041: Display math generates div inside of paragraph (HTML5 violation).

This bug makes <math display=block>...</math> fundamentally broken, and encourages authors to prefer using :<math>...</math> for indentation even though that generates a definition list which causes problems for some screen readers, or alternately to jump through hoops to instead adopt a template workaround.

Jun 20 2023, 7:14 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), RESTBase Sunsetting, Content-Transform-Team-WIP, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), HTML5, Math
Jacobolus added a comment to T182041: Display math generates div inside of paragraph (HTML5 violation).

In a related example, if you explicitly add the following (invalid as written) raw HTML to a wiki page:

Jun 20 2023, 5:30 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), RESTBase Sunsetting, Content-Transform-Team-WIP, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), HTML5, Math

Jun 16 2023

Jacobolus added a comment to T201233: Long math output unreadable on small screens due to scrolling off the side of screen.

Would it be possible to add some facility for wiki authors explicitly describe two versions of the formula for different sized displays?

Jun 16 2023, 7:06 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), Patch-For-Review, Verified, Readers Essential Work 2025 (Improve display of large content in Vector 2022 and Minerva skins), Design, Mobile, Math

Mar 5 2023

Jacobolus added a comment to T182041: Display math generates div inside of paragraph (HTML5 violation).

I made a demonstration here, https://en.wikipedia.org/wiki/User:Jacobolus/math_block_example

Mar 5 2023, 8:25 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), RESTBase Sunsetting, Content-Transform-Team-WIP, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), HTML5, Math
Jacobolus created T331242: `<math display=block>` generates incorrect HTML markup with mismatched elements and bare text nodes.
Mar 5 2023, 7:52 PM · Math