Open main menu

Wikimedia Commons β

MediaWiki talk:Listfiles-summary

{{edit protected}}

Please create a local copy of this page, with:

This special page shows all uploaded files. When filtered by user, only files where that user uploaded the most recent version of the file are shown. More options are available in the [{{fullurl:Special:MyGallery|withJS=MediaWiki:JSONListUploads.js}} Gallery tool] <small>(requires Javascript)</small>

thanks. Rd232 (talk) 15:29, 15 September 2011 (UTC)

Here or at MediaWiki:Listfiles-summary/en ? -- RE rillke questions? 16:38, 15 September 2011 (UTC)
I don't think it makes any difference, because en is the default language on Commons. Rd232 (talk) 17:29, 15 September 2011 (UTC)
✓  Done --Mormegil (talk) 15:12, 18 September 2011 (UTC)

Deleted UploadsEdit

{{edit protected}} Please append to the first sentence: "that have not been deleted; for those see Special:Log."

   Done . Removed link to GalleryTool as the MultiMedia-Team will launch their stuff soon, I guess. -- Rillke(q?) 21:32, 10 April 2014 (UTC)
Rillke: Your edit worked, and User:Steinsplitter updated it, but Special:Log was tweaked/broken so the edits no longer work to show a user's deleted contributions.  :-( --Elvey (talk) 06:44, 9 September 2014 (UTC)
Huh, deleted files are still shown, and AFAIR, it was never possible to get a list of files deleted uploaded by a given user. For this, Special:Log/upload/Elvey had to be used and searched for red links. Am I mistaken? -- Rillke(q?) 12:13, 9 September 2014 (UTC)
Thanks for the AGF reply. When I requested the change, I believe it did; that request I made wouldn't have made much sense if that was not the case. But I could be mistaken. Anyway, can we maybe add "for all your uploads including deleted ones, see [[Special:Log/upload/<myself>]]", where <myself> is the user's name...?--Elvey (talk) 01:58, 10 September 2014 (UTC)

So, on en.wikipedia,:

I can click Contributions (top right)... 'Uploads' ... 'upload log' to see all my uploads, including deleted ones. Here on commons,
I can click Uploads (also top right)... 'Special:Log' but I do NOT see all my uploads, including deleted ones, even though the page indicates I will if I click.

It looks like what's needed is to copy/adapt the source code here from en.wikipedia.

The code reads in part: Deleted files are not shown here but are included in the <span class="plainlinks">[{{fullurl:Special:Log/upload|user={{urlencode:{{#titleparts:{{PAGENAME}}|1|2}}}}}} upload log]</span>. which parses as Deleted files are not shown here but are included in the upload log. Looks like some tweaking is needed to {{urlencode}}/{{[[:Template:

  1. titleparts|
  2. titleparts]]}}/{{PAGENAME}} to make it work here.

--Elvey (talk) 02:19, 3 October 2014 (UTC)

{{edit protected}}

Please make this work as it does on en: by default, it's a click or two to get to [[Special:Log/upload/<The name of the user who clicks here>]]. Details, and to the extent I can offer it, the change needed, above.--Elvey (talk) 18:53, 28 October 2014 (UTC)


upload log

upload log

upload log

%5B%5B%3ATemplate%3AUSERNAME%5D%5D %5B%5B%3AUser%3AJarekt%7CJarekt%5D%5D //

Template:USERNAME Jarekt Special:Log/upload/user=~~

Template:USERNAME Jarekt

Template:USERNAME2 ~~~ Special:Log/upload/user=~~

) [{{fullurl:Special:Log/upload|user={{urlencode:{{#titleparts:{{USERNAME}}|1|2}}}}}} upload log] [{{fullurl:Special:Log/upload|user={{urlencode:{{#titleparts:{{Username}}|1|2}}}}}} upload log] [{{fullurl:Special:Log/upload|user=~~}} upload log] {{urlencode:{{#titleparts:{{USERNAME}}|1|2}}}} {{urlencode:{{#titleparts:{{Username}}|1|2}}}} {{fullurl:Special:Log/upload|user=~~}} {{#titleparts:{{USERNAME}}|1|2}} {{#titleparts:{{Username}}|1|2}} Special:Log/upload/user=~~ {{USERNAME}} {{Username}} {{USERNAME2}} {{Username2}} Special:Log/upload/user=~~

I'm the author of the corresponding code at en:MediaWiki:Listfiles-summary. It only uses parser functions and magic words but no templates so I don't see any reason the same code wouldn't work here:
This special page shows all uploaded files that have not been deleted; for those see the <span class="plainlinks">[{{fullurl:Special:Log/upload|user={{urlencode:{{#titleparts:{{PAGENAME}}|1|2}}}}}} upload log]</span>.
I have tested the code at Special:ExpandTemplates with "Special:ListFiles/PrimeHunter" entered in the context title field. It worked perfectly and produced this line:
This special page shows all uploaded files that have not been deleted; for those see the upload log.
I have no deleted files but if I did then they would have been included in the list.
Note: The code only restricts to the username if it's part of the pagename as in Special:ListFiles/PrimeHunter, for example on "Uploads" at Special:Contributions/PrimeHunter. It would currently not work on the "User uploads" link in the tools menu at User:PrimeHunter, because that link makes the url Here the pagename is only "Special:ListFiles", and the username is given in a parameter which may not be accessible to MediaWiki:Listfiles-summary. This could however be fixed in MediaWiki:Gadget-MyUploads.js which generates the "User uploads" link for users with "MyUploads" enabled at Special:Preferences#mw-prefsection-gadgets. PrimeHunter (talk) 05:01, 28 December 2014 (UTC)

{{edit protected}} Please make the edit PrimeHunter has proposed and tested, above. I was looking for a user's deleted contributions today and it took me way too long to figure out how to pull them up. --Elvey (talk) 22:22, 10 August 2015 (UTC)

   Done --Jarekt (talk) 21:05, 5 November 2015 (UTC)
Return to "Listfiles-summary" page.