mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-24 10:49:18 +00:00
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:
parent
4c544f002b
commit
fd7fcc6ada
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue