Page MenuHomePhabricator

Author and Title not shown with Artwork template on Commons when Label and Description are edited on Wikidata
Closed, ResolvedPublic

Description

See https://commons.wikimedia.org/wiki/Commons:Village_pump/Technical#Author_and_Title_not_shown_with_Artwork_template
for the list of affected files.

Step to reproduce:

  1. Take any file with a {{Artwork}} template where the Author and Title are displayed.
  2. Edit the label and description in Wikidata.
  3. Purge the file on Commons, the Author and the Title disappear.

For https://commons.wikimedia.org/wiki/File:Paul_C%C3%A9zanne_-_Landscape_with_Water_Mill_-_1952.48.1_-_Yale_University_Art_Gallery.jpg
the information disppeared when I did this: https://www.wikidata.org/w/index.php?title=Q49416955&type=revision&diff=946496871&oldid=946495968

Event Timeline

Looks like the issue may be in the code of :c:Module:Artwork, which @Jarekt has been working on. The sandbox version of the module, called by the sandbox version of the template, does not show the problem.

Yann, I think I got it fixed in :c:Module:Artwork,. Please verify.

Yann claimed this task.

Yes, good.