Jump to content

Extension:FileList/da

From mediawiki.org
This page is a translated version of the page Extension:FileList and the translation is 31% complete.
MediaWiki extensions manual
FileList
Release status: unmaintained
Implementation Tag , Media, MyWiki , Page action
Beskrivelse Generates a dynamic file-list with an upload box at the insertion of ‎<filelist />
Forfatter(e) Jens Nyman, Simon Peeters (Nymanjensdiskussion)
Latest version 5.1 (2022-04-09)
MediaWiki 1.33
Licens GNU General Public License 2.0 or later
Download
$wgFileListConfig['upload_anonymously']
‎<filelist>

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)

Skærmbillede:

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 DoneNavigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

Indsæt:

<filelist />

This will generate a FileList for the corresponding page.

Mere info

Se github.