mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-27 17:01:07 +00:00
remove armourMath and wgContLang (bug 60799)
* armourMath is no longer needed Bug: 60799 Change-Id: I1134d34d403b527821a1f7ccd370e78cf6197d71
This commit is contained in:
parent
ff83048597
commit
2c555baf4f
|
@ -92,7 +92,7 @@ class MathHooks {
|
|||
* @return string
|
||||
*/
|
||||
static function mathTagHook( $content, $attributes, $parser ) {
|
||||
global $wgContLang, $wgUseMathJax, $wgMathDisableTexFilter;
|
||||
global $wgUseMathJax, $wgMathDisableTexFilter;
|
||||
|
||||
if ( trim( $content ) === '' ) { // bug 8372
|
||||
return '';
|
||||
|
@ -127,10 +127,9 @@ class MathHooks {
|
|||
}
|
||||
|
||||
$renderer->writeCache();
|
||||
$result = $wgContLang->armourMath( $renderedMath );
|
||||
wfProfileOut( __METHOD__ );
|
||||
|
||||
return $result;
|
||||
return array( $renderedMath, "markerType" => 'nowiki' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue