Frederisk / Wikitext-VSCode-Extension

A Visual Studio Code Extension that provides language support for Wikitext.
MIT License
89 stars 14 forks source link

Previewer not loading all media on VSCode #95

Closed MoonnShade closed 2 weeks ago

MoonnShade commented 2 months ago

Hi,

When using the preview function of this extension, the preview page is only loading the first 3 media files. All other files below the first 3 on the page display as empty space. You can still click them if the have links, for example, but they do not show the media itself.

Example:

First media file (video) imagem

Code: imagem

4th media file (image) imagem

Code: imagem

Is this a known issue with VSCode or the extension? Is there a known fix or limitation?

Thanks for the help

Frederisk commented 2 months ago

If possible, could you tell me the address of the host website?

MoonnShade commented 2 months ago

If possible, could you tell me the address of the host website?

Yep! This is the host: otogi.fandom.com

(The website link would be: https://otogi.fandom.com/ )

Frederisk commented 2 months ago

This link will use the API to convert four images to HTML: https://otogi.fandom.com/api.php?action=parse&contentmodel=wikitext&text=[[File:With%20Toka]][[File:With%20Toka]][[File:With%20Toka]][[File:With%20Toka]]&format=xmlfm

Obviously, there is something wrong with the content of the fourth picture:

<img
src="data:image/gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw%3D%3D"
.../>

I'm not sure if this is a bug from this site or from MediaWiki, but it's certainly an upstream issue. I may need to spend some time investigating it, or if possible you could contact the technical administrator of this site to confirm if any MediaWiki Extension is causing the problem.