fix regression from r43965 -- forgot the .png extension from math URLs, which works...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 26 Nov 2008 02:37:07 +0000 (02:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 26 Nov 2008 02:37:07 +0000 (02:37 +0000)
includes/Math.php

index 0bc24bc..2ed1603 100644 (file)
@@ -300,7 +300,7 @@ class MathRenderer {
        function _mathImageUrl() {
                global $wgMathPath;
                $dir = $this->_getHashSubPath();
-               return "$wgMathPath/$dir/$this->hash";
+               return "$wgMathPath/$dir/{$this->hash}.png";
        }
        
        function _getHashPath() {