remove armourMath and wgContLang (bug 60799)

* armourMath is no longer needed

Bug: 60799

Change-Id: I1134d34d403b527821a1f7ccd370e78cf6197d71
This commit is contained in:
physikerwelt 2014-02-03 23:22:26 +00:00 committed by Physikerwelt
parent ff83048597
commit 2c555baf4f

View file

@ -92,7 +92,7 @@ class MathHooks {
* @return string * @return string
*/ */
static function mathTagHook( $content, $attributes, $parser ) { static function mathTagHook( $content, $attributes, $parser ) {
global $wgContLang, $wgUseMathJax, $wgMathDisableTexFilter; global $wgUseMathJax, $wgMathDisableTexFilter;
if ( trim( $content ) === '' ) { // bug 8372 if ( trim( $content ) === '' ) { // bug 8372
return ''; return '';
@ -127,10 +127,9 @@ class MathHooks {
} }
$renderer->writeCache(); $renderer->writeCache();
$result = $wgContLang->armourMath( $renderedMath );
wfProfileOut( __METHOD__ ); wfProfileOut( __METHOD__ );
return $result; return array( $renderedMath, "markerType" => 'nowiki' );
} }
/** /**