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

Upgrade MathJax to 2.7 (when it's released) for Moodle 3.2 release

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      (Simey to add additional testing instructions for upgrade here, don't pass without them ) Thanks Dan

      Upgrade test
      1. Before upgrade (you can tweak the version number down and run mdk version.php in a separated branch)
      2. Check out the settings at Site administration ► Plugins ► Filters ► MathJax.
      3. Make sure that the url for https is https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js
      4. Search for the setting httpsurl on the database, on mdl_config_plugins
      5. Please note that value
      6. Now, do version bump and run upgrade.
      7. Check out the settings at Site administration ► Plugins ► Filters ► MathJax.
      8. Make sure that the url for https is https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js
      9. Search for the setting httpsurl on the database, on mdl_config_plugins again.
      10. PLEASE MAKE SURE now, the value for that field is https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js.
      Regression test
      1. MathJax is enabled by default, but if not go to Site administration ► Plugins ► Filters ► Manage filters.
        • Activate MathJax.
      2. Make sure that your html editor has an equation editor enabled:
        Home ► Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings.
      3. Check out the settings at Site administration ► Plugins ► Filters ► MathJax.
      4. Make sure that the url for https is https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js
      5. Go to a course.
      6. Create a page and create some math equations with the equation editor.
      7. Make sure that there are no JavaScript errors.
      8. Save the page and view it.
      9. Check that the filter works and that the equation is shown.
      10. Enable the TeX filter and test from point 4 onwards to make sure that the TeX filter has not been affected.
      Show
      (Simey to add additional testing instructions for upgrade here, don't pass without them ) Thanks Dan Upgrade test Before upgrade (you can tweak the version number down and run mdk version.php in a separated branch) Check out the settings at Site administration ► Plugins ► Filters ► MathJax. Make sure that the url for https is https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js Search for the setting httpsurl on the database, on mdl_config_plugins Please note that value Now, do version bump and run upgrade. Check out the settings at Site administration ► Plugins ► Filters ► MathJax. Make sure that the url for https is https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js Search for the setting httpsurl on the database, on mdl_config_plugins again. PLEASE MAKE SURE now, the value for that field is https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js . Regression test MathJax is enabled by default, but if not go to Site administration ► Plugins ► Filters ► Manage filters. Activate MathJax. Make sure that your html editor has an equation editor enabled: Home ► Site administration ► Plugins ► Text editors ► Atto HTML editor ► Atto toolbar settings. Check out the settings at Site administration ► Plugins ► Filters ► MathJax. Make sure that the url for https is https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js Go to a course. Create a page and create some math equations with the equation editor. Make sure that there are no JavaScript errors. Save the page and view it. Check that the filter works and that the equation is shown. Enable the TeX filter and test from point 4 onwards to make sure that the TeX filter has not been affected.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-56017-master
    • Sprint:
      3.2 Sprint 7

      Description

      see MDL-52752 for previous upgrade

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16