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

Replies

  • 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