Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58722

Update to MathJax 2.7.1 to resolve CDN issue

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.5, 3.2.1, 3.3
    • 3.1.6, 3.2.3
    • Maths filters
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-58722-master
    • Hide

      Upgrade your site.
      Use the equation editor in Atto - verify the equation preview is working.
      Open the debugging tools for your browser and verify that mathjax files are loaded from cloudflare only (nothing should come from the mathjax cdn).
      Verify there are no 404s reported for mathjax js files.

      Show
      Upgrade your site. Use the equation editor in Atto - verify the equation preview is working. Open the debugging tools for your browser and verify that mathjax files are loaded from cloudflare only (nothing should come from the mathjax cdn). Verify there are no 404s reported for mathjax js files.

    Description

      Mathjax CDN is expiring in a few days and they keep messing about.

      They (very late) realised that when they shut down their CDN, all the users of the CDN have to mess about to get the extensions working (accessibility being the most important one, but mchem is optional, but pretty important too).

      We already dealt with this in MDL-58461 by installing the accessibility extensions locally.

      Because MathJax released 2.7.1 which bundles those extensions instead - it would be better for us to remove our version of those extensions and update to 2.7.1.

      The benefits are that the extensions will stay compatible with different mathjax versions, one less third party library to update and mchem is easily supported by changing config (using the current solution anyone who wanted mchem would have to download and install it themselves).

      See their updated notice about the cdn: https://www.mathjax.org/cdn-shutting-down/

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              damyon Damyon Wiese
              John Okely John Okely
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/May/17