Initial stab at breaking math/texvc out to Math extension.
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 9 Apr 2011 00:39:40 +0000 (00:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 9 Apr 2011 00:39:40 +0000 (00:39 +0000)
commitff0524b3bcbd279d9a277cbc15e1892c854a9149
treee714d517c4da73dc2fe4a05df7ed05b659cbccc8
parentdecb7d223bb7eeeda14d73bdb1b17486cc80355e
Initial stab at breaking math/texvc out to Math extension.

* (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable
  math conversion after upgrading, obtain the Math extension from SVN or from
  http://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php:
  require_once "$IP/extensions/Math/Math.php";

This is an initial stab, and a few things remain to be cleaned up:
* messages need to be moved from core to extension
* MW_MATH_* constants should be moved to the extension from core
* old back-compat math names interfaces using those constants should be removed from message files
* classic edit toolbar's math button should be added from the extension (or else dropped) -- currently there's not a clean hook, but could do it by JS
* couple of things like the 'armourMath' function on Language & LanguageConverter may want to be redone just as an unconditional, if that's simpler.

Setting $wgUseTeX alone will no longer have any affect. The var's still there for the moment as a few bits still need to be fully moved out from core.
32 files changed:
RELEASE-NOTES
includes/AutoLoader.php
includes/DefaultSettings.php
includes/Math.php [deleted file]
includes/Preferences.php
includes/Setup.php
includes/installer/LocalSettingsGenerator.php
includes/parser/CoreTagHooks.php
includes/parser/Parser.php
math/.htaccess [deleted file]
math/Makefile [deleted file]
math/README [deleted file]
math/TODO [deleted file]
math/html.ml [deleted file]
math/html.mli [deleted file]
math/lexer.mll [deleted file]
math/mathml.ml [deleted file]
math/mathml.mli [deleted file]
math/parser.mly [deleted file]
math/render.ml [deleted file]
math/render_info.mli [deleted file]
math/tex.mli [deleted file]
math/texutil.ml [deleted file]
math/texutil.mli [deleted file]
math/texvc.ml [deleted file]
math/texvc_cgi.ml [deleted file]
math/texvc_test.ml [deleted file]
math/texvc_tex.ml [deleted file]
math/util.ml [deleted file]
tests/parser/parserTest.inc
tests/parser/parserTests.txt
tests/testHelpers.inc