Page MenuHomePhabricator

Don't pick image if that image is on the page for project-related reasons and is irrelevant to article subject
Closed, ResolvedPublic

Description

screenshot

If a page has no real images but only an icon from a link to a sister project (or similar): Don't show any image. The icon on the hovercard has no real information for the reader.

Example:
Open https://de.wikipedia.org/wiki/Kolumba_%28Museum%29 and hover about the first link to https://de.wikipedia.org/wiki/Pritzker-Architektur-Preis

See screenshot for output.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=62947

Attached:

Screenshot_(1).png (883×1 px, 608 KB)

Details

Reference
bz63185

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:51 AM
bzimport added a project: PageImages.
bzimport set Reference to bz63185.
bzimport added a subscriber: Unknown Object (MLST).

Expanding this to also include copyright tags as reported here: https://www.mediawiki.org/w/index.php?title=Talk:Beta_Features/Hovercards&topic_postId=rrrxxk325eh3z744&workflow=rrrxxk2xh165ymys#flow-post-rrrxxk325eh3z744

This may be tricky to implement as Hovercards uses the code of another extension to extract text snippets and images.

Discussed with Prateek, no easy way to call out irrelevant images. This is a larger nuance for Page Images to fix. Prateek is going to mark this bug as Wont Fix.

Just moving to PageImages, since the bug is there and not here.

Change 127190 had a related patch set uploaded by MaxSem:
Calculate width properly if image is bounded by height only

https://gerrit.wikimedia.org/r/127190

Change 127190 merged by jenkins-bot:
Calculate width properly if image is bounded by height only

https://gerrit.wikimedia.org/r/127190