https://bugzilla.wikimedia.org/show_bug.cgi?id=48867
Web browser: ---
Bug ID: 48867
Summary: Tex code rendering with MathJax not working
Product: MediaWiki
Version: 1.20.5
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
With Mediawiki on sourceforge.net I try to use MathJax 2.2.
After installation on the VPS, the MathJax test is working
(http://freeplane-up.sourceforge.net/wiki/MathJax/test/index.html).
But the MathJax does not recognize by mediawiki.
After setting up LocalSettings.php as example
(https://www.mediawiki.org/wiki/Extension:Math) I have an error when mediawiki
try to render TEX code.
on Apache : PHP Notice: Use of undefined constant MW_MATH_MATHJAX - assumed '
MW_MATH_MATHJAX' in
/home/project-web/freeplane-up/htdocs/wiki/LocalSettings.php on line 309,
referer: http://freeplane-
up.sourceforge.net/wiki/index.php/LaTeX_in_Freeplane
tail of LocalSettings :
$wgUseMathJax = true; // enabeling MathJax as rendering option
$wgDefaultUserOptions['math'] = MW_MATH_MATHJAX; // setting MathJax as default
rendering option (optional)
$wgMathJaxUrl =
'http://freeplane-up.sourceforge.net/wiki/MathJax/MathJax.js?config=TeX-AMS_HTML';
// specifying the path to local MathJax in case MathJax's CDN should not be
used (optional)
?>
When I do a "grep -i MW_MATH_MATHJAX ..." on wiki and MathJax package this
constant is not define other than LocalSettings.php !
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l