From 0c38e6e3c12a29e2a3529817f7bfd71be1dcf48b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 26 Nov 2008 02:37:07 +0000 Subject: [PATCH] fix regression from r43965 -- forgot the .png extension from math URLs, which works on my apache install but not on the live upload server :P --- includes/Math.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Math.php b/includes/Math.php index 0bc24bc9c0..2ed1603376 100644 --- a/includes/Math.php +++ b/includes/Math.php @@ -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() { -- 2.20.1