Description: Disable MathJax support MediaWiki does not distribute MathJax in a DFSG-compatible way. Author: Taavi Väänänen Origin: vendor Forwarded: not-needed Last-Update: 2025-04-04 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/extensions/Math/extension.json +++ b/extensions/Math/extension.json @@ -165,8 +165,7 @@ "description": "To access this at run-time, use MathConfig::getValidRenderingModes(). Do not use the non-normalized configuration directly.", "value": [ "source", - "native", - "mathjax" + "native" ] }, "MathEnableWikibaseDataType": { @@ -227,13 +226,6 @@ }, "ForeignResourcesDir": "modules", "ResourceModules": { - "ext.math.mathjax": { - "group": "ext.math", - "scripts": [ - "ext.math.mathjax.js", - "mathjax/es5/tex-chtml.js" - ] - }, "ext.math.styles": { "styles": "ext.math.css" }, --- a/extensions/Math/src/MathConfig.php +++ b/extensions/Math/src/MathConfig.php @@ -45,7 +45,6 @@ self::MODE_LATEXML, self::MODE_MATHML, self::MODE_NATIVE_MML, - self::MODE_NATIVE_JAX ]; /** @@ -56,7 +55,6 @@ self::MODE_MATHML => 5, self::MODE_LATEXML => 7, self::MODE_NATIVE_MML => 8, - self::MODE_NATIVE_JAX => 9 ]; private ServiceOptions $options;