wikipedia: Fetch Wikidata thumbail before checking for article
A Wikidata entry can have a thumbnail without having the sitelinks. So do the check for sitelinks after fetching the thumbnail to not miss the thumbnail in cases where the Wikidata entry have a thumbnail but no linked articles.
Fixes #558 (closed)