Open main menu

Extension:FileBrowser

MediaWiki extensions manual
OOjs UI icon advanced.svg
FileBrowser
Release status: experimental
Implementation Tag , Ajax
Description Adds a small filebrowser to your wiki. Allows up- & download from a different server.
Author(s) Benedikt, Jan, Max
Latest version 0.1 (2009-01-27)
MediaWiki 1.12
License No license specified
Download [1]
Translate the FileBrowser extension if it is available at translatewiki.net
Check usage and version matrix.


  • Ajax filebrowser with...
    • ...upload/download files
    • ...move/rename/delete files
    • ...external file server

InstallationEdit

  • Put the FileBrowser folder in your extensions-directory
  • Configure the top of the FileBrowser.php and the browse-config.php
  • Put the browse.php and the browse-config.php on the *nix server where the files will be hosted
  • Add
       require_once("extensions/FileBrowser/FileBrowser.php");

to the bottom of your LocalSettings.php

  • For the original style add to your MediaWiki:Common.css the content of "add_Common.css"
  • And to have the table sortable add the content of the "add_Common.js"

to your Common.js

UsageEdit

Link to one file:

<file name='path/to/file.file' caption='linkname' />

with...

  • name - just the path to the file you want to put the link on
  • caption - optional: makes the link nicer

The FileBrowser:

<filebrowser dir="path/to/folder" />

...well shows the filebrowser...

CreditsEdit