Last modified: 2005-11-04 02:36:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5877, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3877 - Unable to render new math images in 1.6
Unable to render new math images in 1.6
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-11-04 02:25 UTC by Brion Vibber
Modified: 2005-11-04 02:36 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Brion Vibber 2005-11-04 02:25:27 UTC
Math.php was recently changed to use 3 levels of subdirectories for the rendered math 
images. Unfortunately the code is broken such that initial rendering is done into the 
wrong directory, so any newly rendered images end up in the wrong directory and aren't 
visible (404).

For instance rendering this bit in the english wikipedia sandbox:

gives this URL:

but the file is actually at:

The subdirectories are the first three digits of the hex output content hash, which is 
used to name the .png files. This value is calculated by texvc, so is not known until 
after texvc returns, but we try to generate the directory and pass it to texvc to tell it 
where to deposit the image... This ends up trying something like "/math///" which reduces 
in Unix semantics to "/math/".

Recommendation: render into the temp directory, then move the image to its final 
Comment 1 Brion Vibber 2005-11-04 02:36:25 UTC
Done; can now render new images. 

Note You need to log in before you can comment on or make changes to this bug.