r43966 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43965‎ | r43966 | r43967 >
Date:02:37, 26 November 2008
Author:brion
Status:ok
Tags:
Comment:
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
Modified paths:
  • /trunk/phase3/includes/Math.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Math.php
@@ -300,7 +300,7 @@
301301 function _mathImageUrl() {
302302 global $wgMathPath;
303303 $dir = $this->_getHashSubPath();
304 - return "$wgMathPath/$dir/$this->hash";
 304+ return "$wgMathPath/$dir/{$this->hash}.png";
305305 }
306306
307307 function _getHashPath() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r43965Follow-up to r43964 (bug 16440)...brion02:28, 26 November 2008

Status & tagging log