Extension:FileList

From mediawiki.org
MediaWiki extensions manual
FileList
Release status: unmaintained
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 (2022-04-09)
MediaWiki 1.33
License GNU General Public License 2.0 or later
Download
$wgFileListConfig['upload_anonymously']
‎<filelist>

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:

Installation[edit]

  • Download and place the file(s) in a directory called FileList in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/FileList/FileList.php";
    // set this to true if uploads need to be anonymous
    $wgFileListConfig['upload_anonymously'] = false;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

Insert:

<filelist />

This will generate a FileList for the corresponding page.

More info[edit]

See github.