Last modified: 2013-06-12 22:22:14 UTC
Hi, Can you please install the mathjax mediawiki extension: http://www.mediawiki.org/wiki/Extension:MathJax http://www.mathjax.org/ as well as the syntax highlighting extension: http://www.mediawiki.org/wiki/Syntaxhighlight
These are useful for the wikibook: http://en.wikibooks.org/wiki/Parallel_Spectral_Numerical_Methods
You want these installed on wikibooks..? Which language? Does the community support this?
Yes, I would like these installed. Currently needed in English. Not sure if the community supports this, but these packages are essential for rendering mathematics correctly. Mathjax is supported by a large number of mathematics organizations, see http://en.wikipedia.org/wiki/MathJax Syntax highlighting is less essential, but would also be quite useful.
All wikis already have SyntaxHighlight and MathJax support via the Math extension. You can turn on MathJax rendering by going to https://en.wikibooks.org/wiki/Special:Preferences#mw-prefsection-rendering
Thanks. Is it possible to make this the default for a particular set of pages rather than a personal preference?
No. What we can do is to define it as a default preference for anonymous users and newly registered accounts. Existing user accounts will keep their current setting.
That should be fine. Is it possible to change some of the local configuration settings for mathjax so that it is easier to display LaTeX formulae and equation numbers. In particular, the sections below relevant to mathjax: <?php # This file was automatically generated by the MediaWiki 1.18.1 # installer. If you make manual changes, please keep track in case you # need to recreate them later. # # See includes/DefaultSettings.php for all configurable settings # and their default values, but don't forget to make changes in _this_ # file, not there. # # Further documentation for configuration settings may be found at: # http://www.mediawiki.org/wiki/Manual:Configuration_settings #require_once("/mediawiki/extensions/Math/Math.php"); #$wgTexvc = '/mediawiki/extensions/Math/math/texvc'; require_once("$IP/extensions/MathJax/MathJax.php"); MathJax_Parser::$MathJaxJS = 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'; MathJax_Parser::$MathJaxConfig = "$IP/extensions/MathJax/mwMathJaxConfig.js"; MathJax_Parser::$disabled = false; MathJax_Parser::$do_number = true; MathJax_Parser::$do_dollar = true; MathJax_Parser::$do_dollardollar = true; $wgParserCacheType = CACHE_NONE; $wgEnableUploads = true;
This need to be discussed first on the local wiki. Appropriated place could be http://en.wikibooks.org/wiki/Wikibooks:Reading_room/Proposals Once you got a local consensus, we'll be able to fulfill your request.
Have started a discussion. Thanks.
Example of how such a configuration helps LaTeX users create a wiki can be found here: http://www.sherryruan.com/mediawiki/
(In reply to comment #10) > Have started a discussion. Thanks. URL/link welcome.
(In reply to comment #12) Discussion is here: http://en.wikibooks.org/wiki/Wikibooks:Reading_room/Proposals#Settings_for_Mathjax
Related discussion is here: https://bugzilla.wikimedia.org/show_bug.cgi?id=31406
benson_muite: Is there any consensus? http://en.wikibooks.org/w/index.php?title=Wikibooks:Reading_room/Proposals&oldid=2441427#Settings_for_Mathjax looks like there wasn't much feedback.
Closing as RESOLVED INVALID since there hasn't been any update on this bug for six months. Please feel free to reopen if you still want to get this done & get community consensus.