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

Remove MathJax 2.7.2 workaround from MDL-60458

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_403_STABLE
    • MOODLE_405_STABLE
    • MDL-81236-main
    • Hide
      1. Ensure all settings for the MathJax filter are set to the admin defaults.
      2. Set the MathJax URL to use version 2.7.3 or the current default version 2.7.9 https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js
      3. Ensure the MathJax filter is enabled (should be by default).
      4. Go to a course.
      5. Create a new page within the course.
      6. Under page content, add some math equations using the equation editor. Here's an example: $$ x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12) $$ 
      7. Save the page and view it.
      8. Check that the filter works and that the equation is shown.
      9. Right click on the displayed equation
      10. Select "Accessibility" > "Explorer"
      11. Ensure that options such as "Collapsible Math", "Highlight" and "Background" are enabled.
      12. Reload the page to ensure these settings persist and the equation still displays correctly.
      13. Make sure that there are no JavaScript errors.
      Show
      Ensure all settings for the MathJax filter are set to the admin defaults. Set the MathJax URL to use version 2.7.3 or the current default version 2.7.9 https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js Ensure the MathJax filter is enabled (should be by default). Go to a course. Create a new page within the course. Under page content, add some math equations using the equation editor. Here's an example: $$ x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12) $$  Save the page and view it. Check that the filter works and that the equation is shown. Right click on the displayed equation Select "Accessibility" > "Explorer" Ensure that options such as "Collapsible Math", "Highlight" and "Background" are enabled. Reload the page to ensure these settings persist and the equation still displays correctly. Make sure that there are no JavaScript errors.

      A workaround was implemented to solve the issue of JS errors caused by the `mathjax.sre.js` bug, as explained in https://github.com/mathjax/MathJax/issues/1854. However, since MathJax 2.7.3, the bug has been fixed, making the workaround unnecessary. Additionally, the workaround was causing conflicts with some jQuery plugins. Removing the workaround has resolved the problem of jQuery plugins failing to load properly.

            trishamilan Trisha Milan
            trishamilan Trisha Milan
            cameron1729 cameron1729
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.