Last modified: 2013-12-01 11:38:01 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";
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.