Extension:FileTree

What can this extension do?
This extension displays a configurable AJAX/xHTML/jQuery based file browser by a given path.

The extension is based on the "jQuery File Tree" plugin. The "jQuery File Tree" itself is a configurable, AJAX file browser plugin for jQuery. You can create a customized, fully-interactive file tree with as little as one line of JavaScript code.

Usage
This extension will be available as Specialpage and used under Special:Specialpages.

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

and put the following code below in your extensions dir, named 'FileTree'.

User rights
To view the special page i invent the permission 'filetreesystem' which per default only SYSOP has. Note: not everybody should be allowed to view the local file system and open files.

FileTree.js
Download the latest jQuery source under and place it in the FileTree root directory, if you want to use the jquery version. Notice: It's needed to rename the file from e.g jquery-1.3.2.min.js to jquery.js

CSS Code
Create the folders /styles/default/images/ inside the FileTree root directory (/wiki/extensions/FileTree/) and create the following css file inside the default directory. Notice: You need to create/upload your own image set to the "images" directory, if you are doing all that stuff manually. You can also take the images out of the originial php_file_tree source which you can find here. Just extract the content of the images folder out of the php_file_tree.zip to the images directory of the mediawiki extension (/wiki/extensions/FileTree/styles/default/images/).

Problems
Warning: This extension doesn't work with mozilla Firefox Browser! Maybe someone knows a workaround?