Page MenuHomePhabricator

MediaWiki API not returns the same image for different pages with the same image
Closed, ResolvedPublic

Description

I'm using MediaWiki API to get the main image for Jimi Hendrix and Jimi Hendrix discography articles, and how you see they use the same image (Jimi Hendrix 1967.png) in the Infobox template. But results for both articles are different:

Is this a bug?

Event Timeline

Termininja renamed this task from MediaWiki API not returns the same image for two different pages with the same image to MediaWiki API not returns the same image for different pages with the same image.Apr 24 2016, 3:54 AM
jhobs subscribed.

Upon initial investigation this does not technically appear to be a bug -- the code is doing exactly what is expected of it -- however, it certainly warrants looking into the algorithm that determines which image to use from a page.

Jdlrobson claimed this task.
Jdlrobson subscribed.

@Termininja we recently revamped this. Images can only come from the lead section so you should be getting more consistent results.