MDL-58461 filter_mathjaxloader: Update defaults

Also included a version bump for Moodle in order to trigger a filter upgrade.
This commit is contained in:
Damyon Wiese 2017-04-03 12:36:45 +08:00
parent 3db9004f7d
commit 21b4989ac4
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ if ($ADMIN->fulltree) {
$item = new admin_setting_configtext('filter_mathjaxloader/httpsurl',
new lang_string('httpsurl', 'filter_mathjaxloader'),
new lang_string('httpsurl_help', 'filter_mathjaxloader'),
'https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js',
'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
PARAM_RAW);
$settings->add($item);
@ -44,6 +44,7 @@ if ($ADMIN->fulltree) {
$settings->add($item);
$default = '
MathJax.Ajax.config.path["Contrib"] = "{wwwroot}/filter/mathjaxloader/contrib";
MathJax.Hub.Config({
config: ["Accessible.js", "Safe.js"],
errorSettings: { message: ["!"] },

View File

@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2017040700.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2017041100.00; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.