Kill off the long deprecated $wgInputEncoding and $wgOutputEncoding globals

This commit is contained in:
Sam Reed 2011-05-06 22:09:47 +00:00
parent 2f7dc372df
commit 34d456e1f8
1 changed files with 2 additions and 2 deletions

View File

@ -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() ) {