# ActionsConfigure MathJax for en.wikibooksClosed, InvalidPublic

Assigned To
None
Priority
Low
Author
bzimport
Subscribers
Krenair, Petrb, tomasz and 3 others
Projects
Reference
bz42061
Description

Author: benson_muite

Description:
Hi, Can you please install the mathjax mediawiki extension:

as well as the syntax highlighting extension:

http://www.mediawiki.org/wiki/Syntaxhighlight

Version: unspecified
Severity: enhancement

bzimport set Reference to bz42061.
bzimport created this task.Via LegacyNov 13 2012, 12:05 PM
bzimport added a comment.Via ConduitNov 13 2012, 12:07 PM

benson_muite wrote:

These are useful for the wikibook:

http://en.wikibooks.org/wiki/Parallel_Spectral_Numerical_Methods

Krenair added a comment.Via ConduitNov 13 2012, 6:05 PM

You want these installed on wikibooks..? Which language? Does the community support this?

bzimport added a comment.Via ConduitNov 13 2012, 7:20 PM

benson_muite wrote:

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.

Krenair added a comment.Via ConduitNov 13 2012, 7:28 PM

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

bzimport added a comment.Via ConduitNov 13 2012, 7:42 PM

benson_muite wrote:

Thanks. Is it possible to make this the default for a particular set of pages rather than a personal preference?

Dereckson added a comment.Via ConduitNov 13 2012, 8:53 PM

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.

bzimport added a comment.Via ConduitNov 14 2012, 3:44 PM

benson_muite wrote:

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

1. This file was automatically generated by the MediaWiki 1.18.1
2. installer. If you make manual changes, please keep track in case you
3. need to recreate them later. #
4. See includes/DefaultSettings.php for all configurable settings
5. and their default values, but don't forget to make changes in _this_
6. file, not there. #
7. Further documentation for configuration settings may be found at:
8. 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;

Dereckson added a comment.Via ConduitNov 14 2012, 4:18 PM

This need to be discussed first on the local wiki.

Once you got a local consensus, we'll be able to fulfill your request.

bzimport added a comment.Via ConduitNov 14 2012, 5:05 PM

benson_muite wrote:

Have started a discussion. Thanks.

bzimport added a comment.Via ConduitNov 14 2012, 5:23 PM

benson_muite wrote:

Have started a discussion. Thanks.

bzimport added a comment.Via ConduitNov 15 2012, 3:46 PM

benson_muite wrote:

Example of how such a configuration helps LaTeX users create a wiki can be found here: http://www.sherryruan.com/mediawiki/

Aklapper added a comment.Via ConduitNov 19 2012, 11:02 AM

Have started a discussion. Thanks.

bzimport added a comment.Via ConduitNov 19 2012, 3:07 PM

benson_muite wrote:

Discussion is here:

bzimport added a comment.Via ConduitNov 20 2012, 7:22 PM

benson_muite wrote:

Related discussion is here:

https://bugzilla.wikimedia.org/show_bug.cgi?id=31406

Aklapper added a comment.Via ConduitDec 21 2012, 5:58 PM

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.

tomasz added a comment.Via ConduitJun 12 2013, 10:22 PM

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.