From fd7fcc6ada354e71af22df54849f308519716844 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 8 Oct 2014 16:41:35 -0700 Subject: [PATCH] Remove PNG image fallback image references - These images currently return server errors - We don't really want to load PNG images for browsers that support MathML or SVG. Bug: 69702 Change-Id: Idd339623efd19a0726b43a6c4adc2fcd832511f6 --- MathMathML.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MathMathML.php b/MathMathML.php index d4f19fe..b244987 100644 --- a/MathMathML.php +++ b/MathMathML.php @@ -448,7 +448,9 @@ class MathMathML extends MathRenderer { } $output .= Xml::tags( $element, array( 'class' => $this->getClassName(), 'style' => 'display: none;' ), $mml ); $output .= $this->getFallbackImage( $this->getMode() ) . "\n"; - $output .= $this->getFallbackImage( MW_MATH_PNG ) . "\n"; + // TODO: Implement PNG image fallbacks without loading images in + // browsers that support MathML or SVG! + // $output .= $this->getFallbackImage( MW_MATH_PNG ) . "\n"; $output .= HTML::closeElement( $element ); return $output; }