Remove $wgUseTeX

$wgUseTeX is not needed in the extension. For backwards compatibility,
it's also set in /mediawiki/includes/DefaultSettings.php and used in
/mediawiki/includes/EditPage.php only.

Change-Id: Ie5bcabf9e2e7474a4d41d1efcc5072c144640388
This commit is contained in:
physikerwelt 2014-01-26 00:02:45 +00:00
parent 6a0af8f3b4
commit 636f96d3bb
2 changed files with 1 additions and 5 deletions

View File

@ -41,9 +41,6 @@ define( 'MW_MATH_MATHJAX', 6 ); /// new in 1.19/1.20
define( 'MW_MATH_LATEXML', 7 ); /// new in 1.22
/**@}*/
/** For back-compat */
$wgUseTeX = true;
/** Location of the texvc binary */
$wgTexvc = dirname( __FILE__ ) . '/math/texvc';
/**

View File

@ -42,8 +42,7 @@ In Ubuntu Precise, all dependencies can be installed using:
Run 'make' (or 'gmake' if GNU make is not your default make). This should
produce the texvc executable.
Then you'll need to set $wgUseTeX to true in your LocalSettings.php. By default,
MediaWiki will search in this directory for texvc, if you moved it elsewhere,
By default, MediaWiki will search in this directory for texvc, if you moved it elsewhere,
you'll have to modify $wgTexvc and set it to the path of the texvc executable.
== Usage ==