Page MenuHomePhabricator

Dead math image URL
Closed, DeclinedPublic

Description

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";


Version: unspecified
Severity: trivial

Details

Reference
bz16779

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:29 PM
bzimport set Reference to bz16779.

physik wrote:

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.

Nemo_bis changed the task status from Open to Stalled.Apr 3 2015, 10:34 PM

Patch was abandoned, but this should be retested.

Aklapper changed the task status from Stalled to Open.Nov 3 2016, 10:12 AM
Aklapper added a project: TestMe.
Aklapper subscribed.

The DumpHTML has been unmaintained and broken for many years. It is being archived. Declining this task per T280185.