mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-23 18:29:39 +00:00
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:
parent
6a0af8f3b4
commit
636f96d3bb
3
Math.php
3
Math.php
|
@ -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';
|
||||
/**
|
||||
|
|
|
@ -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 ==
|
||||
|
|
Loading…
Reference in a new issue