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

GitHub:

Note:
No localisation updates are
provided by translatewiki.net .

Parameters
$wgFileListConfig['upload_anonymously']
Tags
<filelist>
Hooks used
  • UploadForm:BeforeProcessing
  • SpecialUploadComplete
  • UnknownAction
  • SpecialMovepageAfterMove

What can this extension do?

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

  • 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

Insert:

<filelist />

This will generate a FileList for the corresponding page.

More info

See github.

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.