mwoffliner icon indicating copy to clipboard operation
mwoffliner copied to clipboard

Icons in German Wikivoyage are not scraped and still point to upload.wikimedia.org

Open Jaifroid opened this issue 1 year ago • 7 comments

This may be a similar issue to #1215. Very common icons on almost every page of German Wikivoyage are produced by background-image URLs in CSS that is embedded in the article page. In library.kiwix.org, e.g. here, the icons appear to show correctly, but they are in fact being drawn from the Web. (The new iframe sandbox will probably stop them from being accessed shortly.)

Here is dev tools snapshot of the above page, showing the issue (URLs displayed on right are from the in-page CSS, and correspond to the small icons you can see on the left):

image

On Kiwix JS and KJSWL, the page is blocked from accessing the Web, hence the icons are not shown, as I reported in https://github.com/kiwix/kiwix-js/issues/975. I thought it was a problem with the JS readers, but it turns out that they are working correctly, and the problem is that these icons have not been scraped and included in the ZIM.

Jaifroid avatar Mar 09 '23 00:03 Jaifroid