Page MenuHomePhabricator

MediaViewer do not recognize as public domain images when licensetpl_short is set to "PD"
Closed, ResolvedPublic

Description

Users often abbreviate the public domain to "PD" but MediaViewer seems not recognize as public domain images when licensetpl_short is set to "PD". That is, MediaViewer shows internationalized marker and PD image when licensetpl_short is set to "Public domain" but it don't when licensetpl_short is set to abbreviated "PD". You can compare the result EN Wikipedia (licensetpl_short=PD) and Commons (licensetpl_short=Public domain): https://en.wikipedia.org/wiki/File:US_population_center_700px_Bkell.png and https://commons.wikimedia.org/wiki/File:National_Gallery,_London_-_1890s.png

Thank you.

Event Timeline

Kwj2772 raised the priority of this task from to Low.
Kwj2772 updated the task description. (Show Details)
Kwj2772 added a project: MediaViewer.
Kwj2772 changed Security from none to None.
Kwj2772 added a subscriber: Kwj2772.

Change 177750 had a related patch set uploaded (by Gergő Tisza):
Recognize "PD" as public domain in lincense names

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

Patch-For-Review

Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Needs code review on the Multimedia board.
Gilles edited projects, added CommonsMetadata; removed MediaViewer.
Gilles moved this task from Needs code review to Ready for testing on the Multimedia board.
Gilles added a subscriber: Gilles.

Change 177750 merged by jenkins-bot:
Recognize "PD" as public domain in lincense names

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

Patch was merged, will go live on the 17th.