Skip to content

Figure out "best" image #14

@siznax

Description

@siznax

We get the following images from MediaWiki:API and Wikidata:

Image => Wikidata Property:P18
pageimage => MediaWiki:API (action=query) pageimage
thumbnail => MediaWiki:API (action=query) thumbnail

RESTBase /page/mobile-text also gives us a couple of images:

image => apparently, pageimage (above)
thumb => apparently, scaled (larger) thumbnail (above)

Spot-checking some articles, there were only conflicts with thumbnail, where the RESTBase thumb was the scaled (larger) MediaWiki:API thumbnail.

In the case of Napoleon, the Wikidata Image is a portrait (great!), while the get_query images are an Imperial Coat of Arms (what?).

››› Napoleon (en)

In the case of Stephen Fry, pageimage seems more current.

››› Stephen Fry (en)

In the case of Ella Fitzgerald, it's hard to say.

››› Ella Fitzgerald (en) {}

So, which is the "best" image? I guess it depends on your goal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions