Community
Participate
Working Groups
I am generating Eclipse doc from the following wiki page: http://wiki.eclipse.org/Orion/Documentation/User_Guide/Getting_started This has worked in the past, but inexplicably mediawiki-to-eclipse-help is now missing some of the images during the conversion. There are about 36 images on the page, and the conversion tool is only finding about 10 of them. The resulting HTML has broken links for the remaining images. I can find no pattern between the images that work and the images that don't work. The ant task is not giving any visible errors or warnings. I will attach the console output from running the tool. To give an example, here is an image reference that is not being found: [[Image:Orion-topbanner.png|Common Banner]] And here is an image that works fine: [[Image:Orion-banner-expanded.png|Common banner with menus expanded]] I have tried with both Mylyn WikiText 1.8.0, and the latest 1.9 snapshot from your download page.
Created attachment 236242 [details] Console output from running conversion
After trying many things I am still not able to get a clean conversion to happen. When I delete half the wiki page the rest of the page converts cleanly, including images that are missing when the whole page is converted. So it seems not a problem with the images themselves, but perhaps related to the *number* of images on the page. My workaround for now will be deleting images from our doc until this is figured out.
This is a duplicate of this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=383400 you find the code to fix this problem here: https://git.eclipse.org/r/#/c/6710/ It is broken because newer versions of mediawiki only allow to fetch (default) at a maximum 10 images at once. If you want to make a test with a version that is fixed in this regard you can try out a complete sample using a compiled version of wikitext from here: https://github.com/carstenartur/wikitext/tree/master/wikitext-sample/wikitext-sample
Thanks for pointing that out Carsten. It looks like the bug and fix slipped through the cracks. I'll reopen it and schedule it for the next release so we can take another look at it.
Thank Carsten, that at least saves me from thinking it was a problem in our doc somewhere. I am happy to help verify a fix when it appears in a nightly/snapshot build.
closing as a duplicate of 383400, please reopen if you notice it happening again. *** This bug has been marked as a duplicate of bug 383400 ***