Math library for MediaWiki (patched)
Go to file
physikerwelt 5245d0f555 Introduce getter and setter for the MathRenderer
Adds a new method isChanged() for determining if a value was changed.
This is done in preparation for a more elaborated caching method that is
handled inside the abstract base class.

Change-Id: Ica15f77d96453d30edd3a117c7185c694ad3691e
2013-05-03 21:12:36 +00:00
db Breaking the 'math' table setup out to Math extension. Should be the last main step in extension-ification of the math options! 2011-04-22 21:37:16 +00:00
math Restructuring Math classes 2013-02-07 20:35:45 -08:00
modules MathJax: Remove our RGB extension again, added in MathJax 2.1 2013-04-29 00:15:25 +02:00
tests Introduce getter and setter for the MathRenderer 2013-05-03 21:12:36 +00:00
.gitignore Ignore .DS_Store 2012-06-02 11:42:18 +02:00
.gitreview Adding .gitreview 2012-03-23 10:30:45 -07:00
.jshintignore JSHint: ignore modules/MathJax 2013-01-18 12:22:28 +01:00
.jshintrc JSHint: Add .jshintrc 2013-02-06 19:54:07 -08:00
Math.hooks.php remove unused code 2013-04-26 14:17:37 +00:00
Math.i18n.php Localisation updates from http://translatewiki.net. 2013-04-28 23:56:50 +00:00
Math.php Remove dead config variable, wgMathJaxUrl 2013-05-03 05:41:22 -04:00
MathMathJax.php Introduce getter and setter for the MathRenderer 2013-05-03 21:12:36 +00:00
MathRenderer.php Introduce getter and setter for the MathRenderer 2013-05-03 21:12:36 +00:00
MathSource.php Introduce getter and setter for the MathRenderer 2013-05-03 21:12:36 +00:00
MathTexvc.php Introduce getter and setter for the MathRenderer 2013-05-03 21:12:36 +00:00
README MathJax: Allow user to configure MathJax 2013-04-27 16:27:15 +02:00
mathParserTests.txt Restructuring Math classes 2013-02-07 20:35:45 -08:00

README

This version (for MediaWiki 1.19) has some changes since previous versions:

* rendering options have been reduced to just 'Always PNG' and 'Leave it as TeX'
** all other rendering options will merge to PNG.
* initial experimental support for integrating MathJax client-side rendering

See the README in the math subdirectory for more info on setting up the
low-level conversion tools.

MathJax configuration:
Client-side configuration of MathJax can be done by specifying a mathJax.config
table, which takes a table as described in:
http://docs.mathjax.org/en/v1.1-latest/options/index.html#configuration

Example:
if ( typeof mathJax === 'undefined' ) {
  mathJax = {};
  mathJax.config = {
    showProcessingMessages: true
  };
}

For testing your installation run
php tests/phpunit/phpunit.php extensions/Math/tests/
from your MediWiki home path.