dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

MainImageName tag 'logo' #70

Closed rg777 closed 6 years ago

rg777 commented 6 years ago

A lot of main images are labelled as logo in the wikipedia infobox. Its frustrating that there are so many labels for the same image. I wasted a lot of time debugging it. For those who are facing the same problem please make the following change to page.js const mainImageName = getFileName( info.image || info.bildname || info.imagen || info.Immagine || info.badge || info.logo //add );

dijs commented 6 years ago

Fixed in v4.5.1