Last modified: 2014-10-15 17:07:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74081, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72081 - Return the number of authors from multiple Information templates
Return the number of authors from multiple Information templates
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CommonsMetadata (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 72082
  Show dependency treegraph
 
Reported: 2014-10-15 16:57 UTC by Tisza Gergő
Modified: 2014-10-15 17:07 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tisza Gergő 2014-10-15 16:57:44 UTC
When there are multiple {{Information}}-like templates on a file page (a typical pairing is {{Artwork}} + {{Photograph}}), CommonsMetadata only returns author information from one of them, which might result in misleading attribution texts (e.g. one is PD, the other not, and CommonsMetadata returns the first one).

As an ugly hack, return in a new field the number of authors (i.e. the number of {{Information}}-like templates with author fields). Clients can use this information to show some sort of warning. (Proper solution of this issue will have to wait for [[c:Commons:Structured_data]].)
Comment 1 Tisza Gergő 2014-10-15 17:07:05 UTC
Tracked in Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/937

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links