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
This commit is contained in:
Gabriel Wicke 2014-10-08 16:41:35 -07:00 committed by Krinkle
parent 4c544f002b
commit fd7fcc6ada
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}