Page MenuHomePhabricator

Make Special:Listfiles show the quantity of globalusage for a file
Open, Needs TriagePublic

Description

In order to help editors prioritize file editing and curation, make Special:Listfiles show a counter for the globalusage of each file.

English Translation:
Uploaders of pictures can examine their uploads using Special:Listfiles. On each of the file description pages, its inclusion is recorded for each of the individual projects. During many years, I've learned a lot about image editing, allowing me to improve my pictures.
This is quite time consuming, hence I would like to have an extension of Special:Listfiles that marks included images (just a hint, not the complete list where the photograph is used). --(translation by AFBorchert (talk) 07:29, 10 November 2015 (UTC))

Original German:
Jeder Uploader von Bildern kann über die Dateiliste seine hochgeladenen Bilder ansehen. Bei jedem einzelnen Bild ist die Verwendung in den einzelnen Sprachversionen angegeben.
Im Laufe der Jahre habe ich viel über Bildbearbeitung gelernt und kann meine Bilder entsprechend verbessern. Es ist sehr zeitaufwändig, deshalb wünsche ich mir eine Erweiterung der Dateiliste um eingebunden (nur einen Hinweis, nicht wo das Foto eingebunden ist). Gruss --Nightflyer (talk) 22:50, 9 November 2015 (UTC)


Example links:
https://commons.wikimedia.org/wiki/Special:ListFiles
For a specific user:
https://commons.wikimedia.org/w/index.php?title=Special:ListFiles&dir=prev&user=Charlesjsharp
For a specific file:
https://commons.wikimedia.org/wiki/File:Gal%C3%A1pagos_marine_iguana.jpg#globalusage (A file used on 9 wikis or 12 pages)
https://commons.wikimedia.org/wiki/File:FullMoon2010.jpg#globalusage (A featured picture used on hundreds of wikis/pages)


This card tracks a proposal from the 2015 Community Wishlist Survey: https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey
This proposal received 10 support votes, and was ranked #66 out of 107 proposals. https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey/Multimedia#Use_of_pictures_in_wikipedia

Event Timeline

DannyH created this task.Dec 7 2015, 11:10 PM
DannyH raised the priority of this task from to Needs Triage.
DannyH updated the task description. (Show Details)
DannyH moved this task to Wishlist 51-on on the Community-Wishlist-Survey-2015 board.
DannyH added a subscriber: DannyH.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 7 2015, 11:10 PM
IMPORTANT: If you are a community developer interested in working on this task: The Wikimedia Hackathon 2016 (Jerusalem, March 31 - April 3) focuses on #Community-Wishlist-Survey projects. There is some budget for sponsoring volunteer developers. THE DEADLINE TO REQUEST TRAVEL SPONSORSHIP IS TODAY, JANUARY 21. Exceptions can be made for developers focusing on Community Wishlist projects until the end of Sunday 24, but not beyond. If you or someone you know is interested, please REGISTER NOW.
Restricted Application added a subscriber: JEumerus. · View Herald TranscriptJan 21 2016, 2:51 PM
DannyH updated the task description. (Show Details)Feb 6 2016, 12:16 AM
DannyH set Security to None.

If I understand correctly, this is requesting a single additional column in https://commons.wikimedia.org/wiki/Special:ListFiles that lists the number of pages/wikis each image is used at.

E.g. https://commons.wikimedia.org/wiki/File:Monks_in_Wat_Phra_Singh_-_Chiang_Mai.jpg
as seen in https://commons.wikimedia.org/w/index.php?title=Special:ListFiles&offset=20130512111402&limit=20&user=JJ+Harrison&ilshowall=1
would have an extra column titled "Usage (pages / wikis)", and the row for that image would say "11 / 9" (it's currently used in 11 pages across 9 wikis).

As noted in the discussion, there is already a way to get this via tool labs, using the Glamorous tool,
e.g. http://tools.wmflabs.org/glamtools/glamorous.php?doit=1&username=JJ+Harrison&use_globalusage=1&ns0=1&show_details=1&projects[wikipedia]=1&projects[wikimedia]=1&projects[wikisource]=1&projects[wikibooks]=1&projects[wikiquote]=1&projects[wiktionary]=1&projects[wikinews]=1&projects[wikivoyage]=1&projects[wikispecies]=1&projects[mediawiki]=1&projects[wikidata]=1&projects[wikiversity]=1
but that is a complete list of usages, and takes a long time to generate/load.

I think there are 2 potential goals here:

  1. Do the task as suggested, and add a simple numerical count to the Special:ListFiles page, in core.
  2. Make Glamorous faster to load, which will encourage everyone to use it more. - Possibly just reducing the number of results (default is currently 1,000) would help a lot? I've asked at https://bitbucket.org/magnusmanske/glamtools/issues/46/increase-speed-or-reduce-freeze-of --- Once Glamorous is faster, Add a link to Glamorous, within https://commons.wikimedia.org/wiki/MediaWiki:Listfiles-summary (the description line at the top of the special page). If possible it should automatically use the name of the user, if a specific user's uploads are being looked at.

Doing #1 would help all 3rd party mediawiki users, as well as all Wikimedia users who just want a simple results count. Hopefully, it is relatively easy to pull the globalusage figures for each file, and add them to a new column?
Doing #2 would help the power-users.

Quiddity renamed this task from Use of pictures in Wikipedia to Make Special:Listfiles show the quantity of globalusage for a file.Sep 9 2016, 7:44 PM
Quiddity updated the task description. (Show Details)
Quiddity moved this task from To triage to Multimedia-related on the MediaWiki-Special-pages board.
Quiddity added a subscriber: Nightflyer.

Does this look like a good Outreachy project, scope wise?
From above, 1) looks easy, not sure about 2)

Scope wise, and Outreachy internship project should ideally take 2-3 weeks for an experienced developer .

Legoktm removed a subscriber: Legoktm.Sep 12 2016, 9:34 AM

No, this is not a good outreachy/GSoC project.

srishakatux added a subscriber: srishakatux.

Removing the Possible-Tech-Projects tag as we are planning to kill it soon! This project does not seem to fit in the Outreach-Programs-Projects category in its current state, so I am not adding that tag right now!