Login
You're viewing the ruby.social public feed.

Replies

  • Nov 9, 2026, 11:48 AM

    @11011110 I was never an expert on the details of Math formulas on @wikipedia, but this sounds kind of right. I remember the days that it used #MathJax, and it looked okay to me, but some people believed that it was bad and wanted to switch it off very strongly. I don't remember their explanation. I'd love to read more about the debate.

    💬 1🔄 0⭐ 0
  • Nov 9, 2026, 9:55 PM

    @11011110 I read your 2015 blog post and your 2026 blog post, and while I don't see anything wrong in what you write, I wonder what are the arguments of the people who are going the other way. Where did they write about it?

    💬 0🔄 0⭐ 1
  • Nov 9, 2026, 10:37 PM

    @aharoni I'd also be interested in seeing reasoned advocacy for rather than against mathml for this sort of application (displaying formulas in user-edited documents), so if you find it please let me know.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 10, 2026, 1:39 AM

    @11011110 Since MathJax can be fully rendered client-side I wonder if an IA on English Wikipedia is willing to write a gadget for it, similar in spirit with the js snippet from this old task: phabricator.wikimedia.org/T993. The WMF may not like that idea, though. Earlier today I was surprised to see that despite overwhelming support for colored 3d models in meta.wikimedia.org/wiki/Commun no one has written a client side workaround. In general it seems that WMF wikis are less inclined to create fancy gadgets and mostly rely on backend extensions instead.

    💬 1🔄 0⭐ 0
  • Nov 10, 2026, 5:19 AM

    I suspect the WMF would not be on board with gadgets that load big client-side javascript libraries, at least.

    💬 1🔄 0⭐ 0
  • Nov 10, 2026, 9:19 AM

    @11011110 Yeah I think that's one of the biggest concerns. The library can be lazily-loaded which will at least hit only a subset of pages. MathJax 2 is 18-55 kb per docs.mathjax.org/en/v2.7/misc/ and when I test it myself it's 17.2kb compressed for a 63.5kb file. MathJax 4 is much larger, with 228kb of network transfer which is 998kb uncompressed. The CSP can also cause issues. jsDelivr is allowed for now but it could get removed, though this can be worked around fairly easily by moving the JS to whichever site remains in the CSP.
    I think this route is at least worth a try (e.g. reaching out to an IA). If math rendering warrants a blog then it definitely warrants asking for workarounds. I've interacted with Pppery before and he seems to be the kind of person willing to help? Well, you probably know enwiki's IAs better than I do.

    💬 0🔄 0⭐ 0