mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-18 02:20:46 +00:00
Kill off the long deprecated $wgInputEncoding and $wgOutputEncoding globals
This commit is contained in:
parent
2f7dc372df
commit
34d456e1f8
|
@ -37,7 +37,7 @@ class MathRenderer {
|
||||||
}
|
}
|
||||||
|
|
||||||
function render() {
|
function render() {
|
||||||
global $wgTmpDirectory, $wgInputEncoding;
|
global $wgTmpDirectory;
|
||||||
global $wgTexvc, $wgMathCheckFiles, $wgTexvcBackgroundColor;
|
global $wgTexvc, $wgMathCheckFiles, $wgTexvcBackgroundColor;
|
||||||
|
|
||||||
if( $this->mode == MW_MATH_SOURCE ) {
|
if( $this->mode == MW_MATH_SOURCE ) {
|
||||||
|
@ -68,7 +68,7 @@ class MathRenderer {
|
||||||
escapeshellarg( $wgTmpDirectory ).' '.
|
escapeshellarg( $wgTmpDirectory ).' '.
|
||||||
escapeshellarg( $wgTmpDirectory ).' '.
|
escapeshellarg( $wgTmpDirectory ).' '.
|
||||||
escapeshellarg( $this->tex ).' '.
|
escapeshellarg( $this->tex ).' '.
|
||||||
escapeshellarg( $wgInputEncoding ).' '.
|
escapeshellarg( 'UTF-8' ).' '.
|
||||||
escapeshellarg( $wgTexvcBackgroundColor );
|
escapeshellarg( $wgTexvcBackgroundColor );
|
||||||
|
|
||||||
if ( wfIsWindows() ) {
|
if ( wfIsWindows() ) {
|
||||||
|
|
Loading…
Reference in a new issue