ListFiles

ListFiles is a site-wide and user script for file management. It provides a form for building URL's to query the MediaWiki API, as well as an extensive list of options for formatting the data after retrieval. Some things you can do with this script are:
 * Alphabetically enumerate all files on a wiki
 * Search for all files that have a certain prefix
 * Get a list of files larger than 1 MB
 * Generate new lists without reloading the page
 * Save and reset your settings
 * Sort files by name, uploader, timestamp, width, etc.
 * Lists generated in raw text can be parsed and used with other applications such as bots

Some things you cannot do with this script are:
 * Easily find all files uploaded by a single user (use the Special:ListFiles special page instead)
 * Easily find all files uploaded recently (use the Special:NewFiles special page instead)
 * Find all .png images on a wiki. The  parameter could be used to search for files by mime type... but unfortunately it's server-intensive and is disabled across Wikia.

Installation
To install this script for all users on a single wiki, admins can place the following code in their MediaWiki:Common.js page. If you are a user who would like to install this script for yourself on all Wikia wikis, instead put the code in your global.js on Community Central:

Usage
Once the ListFiles script is installed, you can visit Project:ListFiles on your wiki to see the script in action. It will also load on subpages in the User: namespace that have 'ListFiles' in the title, e.g. User:Username/ListFiles - this is designed to be useful for people who have the script in their global.js.

If you'd like to force this script to load on different page, simply edit whichever page you want and place the following wikitext there:  This page provides a form to query the MediaWiki API for images and requires JavaScript in order to function. See w:c:dev:ListFiles for more information. The  is the important part. The ListFiles script will look for a container that has that id, so if you put such a container on any page, the script will run on that page.

Updates

 * 25 September 2012
 * Mathmagician created.