Open-CSP / WikiSearchFront

Front-end for the WikiSearch extension.
GNU General Public License v2.0
3 stars 6 forks source link

pdf display sometimes has missing images #23

Open wgevaert opened 2 months ago

wgevaert commented 2 months ago

This line of code assumes that I have a 300px pre-render of the first page of a pdf, which I do not always have.

(It also assumes I use image_auth, which not all wikis might be doing)

Now I have to manually make mw pre-render 300px versions of all pdfs that can appear in search.

Is there a better way to do this?