Page MenuHomePhabricator

Please set the "title" property for the image on an image description page
Closed, DeclinedPublic

Description

Author: dbenbenn

Description:
I noticed today that Google now indexes image description pages (see
http://www.google.com/search?q=petersen+graph+site%3Acommons.wikimedia.org).
Unfortunately, Google Images still doesn't find anything useful (see
http://images.google.com/images?q=petersen%20graph%20site%3Acommons.wikimedia.org).
I suspect the problem might be that on image description pages, the actual
<img> tag has no useful attributes. Perhaps if the "title" attribute is set to
the image's title, that will encourage better search engine indexing.


Version: 1.6.x
Severity: normal

Details

Reference
bz5416

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport set Reference to bz5416.
bzimport added a subscriber: Unknown Object (MLST).

With r25335 Tim set the title attribute for the <a> tag to the imagename, when a caption was not given by the user. Should we do this for the image description page too?

At the moment the rendered HTML looks like:

<a href="/wikitest/images/d/d3/imagename.jpg">
<img alt="Image:Imagename.jpg" src="/wikitest/images/thumb/d/d3/Imagename.jpg/1024px-Imagename.jpg" border="0" height="223" width="1024">
</a>

It seems that both Bing and Google find plenty of relevant image results now. I don't think this bug is still an issue. We might consider closing it ?