Extension:FileList

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
FileList

Release status: stable

Implementation Tag, Media, MyWiki, Page action
Description Generates a dynamic file-list with an upload box at the insertion of <filelist/>
Author(s) Jens Nyman, Simon Peeters (Nymanjenstalk)
Last version 1.1 (8 Oct 2011)
License GPL
Download http://mediawiki-filelist.googlecode.com/files/FileList.tar.gz
Example
FileList screenshot large.png
Parameters

$wgFileListConfig['upload_anonymously']

Tags
<filelist>
Hooks used
UploadForm:BeforeProcessing

SpecialUploadComplete
UnknownAction
SpecialMovepageAfterMove

Check usage and version matrix; stats

Contents

What can this extension do?[edit]

This extension implements a new tag, <filelist>, which generates a list of all images or other media that were uploaded to the page. Also, the tag adds an input field to add a new file.

Screenshot:
FIleList screenshot.png

Download instructions[edit]

Please cut and paste the code found below and place it in /extensions/FileList/.

Installation[edit]

To install this extension, add the following to LocalSettings.php:

require_once("$IP/extensions/FileList/FileList.php");
// set this to true if uploads need to be anonymous
$wgFileListConfig['upload_anonymously'] = false;

Usage[edit]

Insert:

<filelist />

This will generate a FileList for the corresponding page.