Extension:FileList

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎dansk • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
FileList
Release status: stable
FileList screenshot large.png
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)
Latest version 5.1 (2015-02-22)
MediaWiki 1.22alpha
License GPL
Download https://github.com/nymanjens/FileList/archive/master.zip
Parameters
$wgFileListConfig['upload_anonymously']
Tags
<filelist>
Hooks used
UploadForm:BeforeProcessing
SpecialUploadComplete
UnknownAction
SpecialMovepageAfterMove
Translate the FileList extension if it is available at translatewiki.net
Check usage and version matrix.

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.(just for testing purpose)

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.

More info[edit]

See github.