Last modified: 2013-12-01 11:38:01 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 T18779, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16779 - Dead math image URL
Dead math image URL
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
DumpHTML (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: physikerwelt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-24 12:53 UTC by Kelson [Emmanuel Engelhart]
Modified: 2013-12-01 11:38 UTC (History)
2 users (show)

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


Attachments

Description Kelson [Emmanuel Engelhart] 2008-12-24 12:53:41 UTC
By simply calling dumpHTML.php on a page with Mathematics Latex generated pictures, the URLs (for Mathematics Latex generated pictures) are dead.

What I do:
dumpHTML.php -s 152464 -e 152465

What I get:
A static HTML page with URLs like "../../../../../math/1/e/6/1e6e341b47a30a3e3ada904701a1d12f.png".

What I want:
A static HTML page with URLs like "../../../../../images/math/1/e/6/1e6e341b47a30a3e3ada904701a1d12f.png". 

Remark:
Modifying the line 710 in dumpHTML.inc like following seems to resolve the issue : $wgMathPath = "$wgScriptPath/images/math";
Comment 1 physikerwelt 2013-10-22 19:10:48 UTC
I'm not sure if that's a bug. However 
https://gerrit.wikimedia.org/r/#/c/85801/
will change to absolute URL's for the fallback images. If it's merged one day.
You might want to have a look at 
https://www.mediawiki.org/wiki/Manual:DumpBackup.php#Examples
for MathML export.

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


Navigation
Links