Topic on Project:Support desk

html2wiki plugin, pages and images loaded, but they do not show

8
Bigfoot c (talkcontribs)

Dear all, Thanks to your contributions I was able to upload a whole bunch of collected html files into my locally xamp-hosted wiki for testing purposes. The plugin reports that all files and images were imported. I can click on individual links and the website opens as expected. However, since the pages were linked before, all cross-reference are gone now. Even worse the plugin reports that the images were uploaded, but when clicking on an image I get the error that the object could not be found on the server, meaning that the upload is confirmed but there are no pictures to be found. Could somebody please shed some light on how to procede after uploading the html-files. Do I have to redo all <a href> linking in my wiki via creating new pages (and copying the content back and forth)? Moreover please do let me know where I might find the images and add them to my article(s).

Sorry for being such a noob. I just started working with mediawiki.

Thanks a mil in advance for any input and your time.

Below please find my mediawiki-specs Software Version MediaWiki 1.29.1 PHP 7.1.7 (apache2handler) MariaDB 10.1.25-MariaDB

Kind regards

BC

This post was hidden by Malyacko (history)
Malyacko (talkcontribs)

What "plugin"? How exactly did you "upload html files"? Inside of MediaWiki somehow? What are exact error messages after which steps? In general, see https://www.mediawiki.org/wiki/Manual:How_to_debug

Bigfoot c (talkcontribs)

Dear Malyacko, Thank you for your reply. I was indeed talking about Extension:Html2Wiki, sorry if that was not quite clear. As far as error messages go, I should have added that there were no error messages during the import in question. All files were imported.

AhmadF.Cheema (talkcontribs)

I think Extension:Html2Wiki was the "plugin" being mentioned.

For images, check in your <Wiki root>/images/ directory and its sub-directories to confirm whether the images got uploaded or not.

Bigfoot c (talkcontribs)

Dear AhmadF.Cheema

Thanks a mil for your answer. I too a peek into the folder you mentioned and found the pictures I was looking for. So I guess I need to readjust the url(s) manually? Does the same apply to the url(s) of linked websites, because I actually thought that an import would keep the structure of hyperlinks within the website(s) to be imported. If I am supposed to go through each imported site and reset the links manually, I might opt for a different approach. Would be great if you somebody else could provide some detail. Thanks a mil in advance for helping out.

AhmadF.Cheema (talkcontribs)

If you found your images inside sub-directories with names constituting of, apparently random, two characters - then these images are where they are supposed to be and you don't need to readjust their "url(s) manually" (see Manual:Configuring file uploads#Upload directory).

According to Extension:Html2Wiki documentation, everything should be done automatically, having not used the extension personally, I can't really say why this isn't happening.

Bigfoot c (talkcontribs)

Thanks a mil for your input. I will read through the manual again and try things out. Maybe I can identify the issue. Thank you very much for taking the time to answer my question(s). Will let you know in case I figure it out.