Open wgevaert opened 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?
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?