Last modified: 2014-03-25 20:03:44 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 T59308, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57308 - Only last uploader's name is shown in MultimediaViewer
Only last uploader's name is shown in MultimediaViewer
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
MultimediaViewer (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-20 15:49 UTC by Tisza Gergő
Modified: 2014-03-25 20:03 UTC (History)
5 users (show)

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


Attachments

Description Tisza Gergő 2013-11-20 15:49:26 UTC
By convention, existing files should not be modified significantly by reuploading, so we should show the first uploader (or do something more comples, like a list or a "more" link - but if we only show a single name, first uploader is more important information).
Comment 2 Tisza Gergő 2014-03-25 20:03:44 UTC
Apparently this is not so easy as it seems: the imageinfo API has a revision limit parameter (iilimit) which can be used to get information about the uploader of the first revision, but there is no way to start from the earliest revision, so we would have to start from the first. Most information would be duplicated for each revision (especially metadata can be huge), making this very inefficient: one either has to make an API call for most image information and a separate one for the first uploader, or get everything for every revision, possibly getting dozens of kilobytes of text in response.

The first uploader seems like an obvious thing to look for, we should incorporate easy access to it into one of the APIs (maybe CommonsMetadata, which is somewhat of a catch-all already).

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


Navigation
Links