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

Update to MathJax 2.7.1 to resolve CDN issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.5, 3.2.1, 3.3
    • Fix Version/s: 3.1.6, 3.2.3
    • Component/s: Maths filters
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58722-master

      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

              • Assignee:
                damyon Damyon Wiese
                Reporter:
                damyon Damyon Wiese
                Peer reviewer:
                John Okely
                Integrator:
                Dan Poltawski
                Tester:
                Adrian Greeve
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/May/17