Last modified: 2013-06-12 22:22:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44061, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42061 - Configure MathJax for en.wikibooks
Configure MathJax for en.wikibooks
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: community-consensus-needed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-13 12:05 UTC by benson_muite
Modified: 2013-06-12 22:22 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description benson_muite 2012-11-13 12:05:40 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
Comment 1 benson_muite 2012-11-13 12:07:22 UTC
These are useful for the wikibook:

http://en.wikibooks.org/wiki/Parallel_Spectral_Numerical_Methods
Comment 2 Alex Monk 2012-11-13 18:05:11 UTC
You want these installed on wikibooks..? Which language? Does the community support this?
Comment 3 benson_muite 2012-11-13 19:20:36 UTC
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.
Comment 4 Alex Monk 2012-11-13 19:28:54 UTC
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
Comment 5 benson_muite 2012-11-13 19:42:09 UTC
Thanks. Is it possible to make this the default for a particular set of pages rather than a personal preference?
Comment 6 Dereckson 2012-11-13 20:53:49 UTC
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.
Comment 7 benson_muite 2012-11-14 15:44:14 UTC
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;
Comment 8 Dereckson 2012-11-14 16:18:44 UTC
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.
Comment 9 benson_muite 2012-11-14 17:05:17 UTC
Have started a discussion. Thanks.
Comment 10 benson_muite 2012-11-14 17:23:59 UTC
Have started a discussion. Thanks.
Comment 11 benson_muite 2012-11-15 15:46:03 UTC
Example of how such a configuration helps LaTeX users create a wiki can be found here: http://www.sherryruan.com/mediawiki/
Comment 12 Andre Klapper 2012-11-19 11:02:19 UTC
(In reply to comment #10)
> Have started a discussion. Thanks.

URL/link welcome.
Comment 13 benson_muite 2012-11-19 15:07:38 UTC
(In reply to comment #12)
Discussion is here:

http://en.wikibooks.org/wiki/Wikibooks:Reading_room/Proposals#Settings_for_Mathjax
Comment 14 benson_muite 2012-11-20 19:22:59 UTC
Related discussion is here:

https://bugzilla.wikimedia.org/show_bug.cgi?id=31406
Comment 15 Andre Klapper 2012-12-21 17:58:44 UTC
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.
Comment 16 Tomasz W. Kozlowski 2013-06-12 22:22:14 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links