Fandom Developers Wiki

This is the talk page for discussing improvements to the ListFiles page.

Just a bit of praise[]

This is one of the more stunningly useful bits of code to come out of dev. It's completely assistive to those admin who are really trying to maintain their image libraries — particularly on larger wikis. I've only been using it a few days, and I shudder to think how I got by without it. — CzechOut 13:10, September 28, 2012 (UTC)

I'm glad this ended up being helpful :) -- by the way, if you have ideas for more options you would use if they were available, please feel free to post them here. One idea I was thinking about adding into the script was an option to "preview the image when hovering over the link", that way you can see a quick miniature version of the image without having to actually go to the file page.20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 18:15 UTC, Saturday, 29 September 2012

<label>[]

This doesn't really affect functionality, but many people are used to clicking anywhere on the checkbox or label to check the checkbox. This is achieved by simply enclosing both the label and checkbox inside of the <label> tag, or enclosing the label inside of the <label> tag and specifying the for attribute as the name of the checkbox. Just something little that I feel would improve use. Thanks for this amazing script! --Foodbandlt 23:03, January 28, 2013 (UTC)

Thanks for alerting me to this design oversight. I've updated the code and help page, and the labels should now be clickable.20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 02:03 UTC, Wednesday, 30 January 2013
Thanks! User:Foodbandlt/Sig 03:15, January 30, 2013 (UTC)

UncategorizedFiles[]

Any chance this can be applied to Special:UncategorizedFiles? It seems like a helpful feature. -Revitalizer (talk) 00:23, February 8, 2013 (UTC)

Yep, easily done. Thanks for the suggestion!20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 01:30 UTC, Friday, 8 February 2013
That's awesome, thanks! This will prove mighty helpful (should the cache for UncategorizedFiles ever update :p ). -Revitalizer (talk) 02:07, February 8, 2013 (UTC)

Pages[]

Is there a similar script that list pages, like for Special:Wantedpages and Special:Uncategorizedpages? {{SUBST:User:Lelouch Di Britannia/Sig}} 08:32, January 5, 2015 (UTC)

Can't query for users[]

The script shows the API query which is performed, but there is no input box available for searching just a particular user's upload. Is this because other scripts or default functionality already allows this, or is it a mistake? --SuperSajuuk Talk Page | Tabber Code | Channel 13:29, April 18, 2015 (UTC)

Username-specific[]

Can this script be modified to permit searches for either of the following?

  • UnusedFiles for a particular user
    • i.e., specify a particular username at Special:UnusedFiles
  • A user’s uploads that are unused
    • i.e., report only unused files at Special:ListFiles/<username>

Thanks! :) — SpikeToronto 10:36, January 8, 2017 (UTC)

Bump! — SpikeToronto 11:54, January 15, 2017 (UTC)

So, does the silence mean that this script is closed to further development and/or orphaned? :'( — SpikeToronto 12:18, February 6, 2017 (UTC)

Error[]

On wikis which migrated to fandom.com file names are incorrect. There is "ki/" before each file name. On wikis which haven't migrated yet everything is correct. I checked that on Mozilla Firefox and Google Chrome and this problem occurs on both browsers. Can somebody fix it? Thanks in advance!

Dżemożerca11 ~ Talk 14:29, January 27, 2019 (UTC)

The script was assuming every wiki uses "/wiki/" at start of URL and was always cutting the first six characters off, which isn't right if the wiki uses something like "/fr/wiki/". I've added a fix for this error in Special:Diff/109914, thanks for the report! - OneTwoThreeFall talk 15:47, January 27, 2019 (UTC)
Thanks! ^^ Dżemożerca11 ~ Talk 15:53, January 28, 2019 (UTC)

Suggestion[]

Can you make it so List Files generates a List of Images like how Special:Images does it? Like Left to Right? Instead of in List format. Stevemagegod (talk) 20:34, February 14, 2020 (UTC)

Gadget use[]

Is there a way to enable this as a gadget for a wiki? The new update made it unusable in it's normal form. SilverPlays97 (talk) 00:56, October 8, 2020 (UTC)

This should be working on UCP wikis now. - Adaneth Mirimë (talk) 13:37, November 18, 2020 (UTC)

Video[]

Is it possible to only list videos? Printer89 (talk) 18:53, 4 July 2021 (UTC)

Not working on Special:UncategorizedFiles[]

The script is working for me on Project:ListFiles and Special:ListFiles, but it does not work on Special:UncategorizedFiles and Special:UnusedFiles. Could someone please fix this? ZioreRogue (talk) 02:20, 30 July 2021 (UTC)

Update: It is working, on Oasis, but not on FandomDesktop. ZioreRogue (talk) 21:50, 30 July 2021 (UTC)

This should be fixed with Special:Diff/163238. -- Cube-shaped garbage can 14:31, 2 August 2021 (UTC)
Ah yes, it is now. Thank you very much! ZioreRogue (talk) 18:21, 2 August 2021 (UTC)

Custom lists[]

I realize that the answer is probably no, but I was just wondering if it would be possible to use it on any other lists besides "all files" and "all files but starting/stopping in a certain place in the alphabet".

Example: a category of files, a dpl query, a gallery...

Kuhlau (talk) 12:28, 1 April 2022 (UTC)

Getting no output[]

I tried using this script today on two different wikis and I cannot get any results. I load Project:ListFiles and click "Query" and nothing happens. I changed settings and still get no results. I then clicked "Reset to default settings" and that didn't work either. —Moviesign (talk) 15:26, 16 December 2023 (UTC) EDIT: It still provides a raw list on Special:ListFiles however. —Moviesign (talk) 15:30, 16 December 2023 (UTC)

It's a known issue which was caused by a minor typo. This edit should've got it back working but it was submitted on day-off and hasn't gone live just yet. Suggon (talk) 11:00, 18 December 2023 (UTC)
Took them a while (4 days?) but it should be working now. Suggon (talk) 00:42, 20 December 2023 (UTC)