Extension:DirectoryManager

Purpose
Provides a namespace 'Directory' for browsing the filesystem of a MediaWiki installation.

Features

 * Directory tree structure roots on MediaWiki installation
 * Security: enforcement of the 'read' right
 * Integrates with Extension:FileManager
 * Highly customizable through 'hooks'

Dependancy

 * StubManager extension

NS_DIRECTORY namespace
Furthermore, the namespace  must also be defined in. See Manual:Using_custom_namespaces for details. In short you could do:

$wgExtraNamespaces[100] = "Directory"; define("NS_DIRECTORY", 100); $wgNamespaceProtection[NS_DIRECTORY] = array( 'read' ); $wgContentNamespaces[] = 100;

Usage
To use the extension, visit, for example, the top level directory of the NS_DIRECTORY namespace. Assuming 'Directory' as a canonical name for the 'NS_DIRECTORY' identifier: Directory:/

Installation
To install independantly from BizzWiki:
 * Download & Install Extension:StubManager extension
 * Dowload all this extension's files and place them in the desired directory, e.g. \extensions\DirectoryManager\
 * Apply the following changes to 'LocalSettings.php' after the statements of Extension:StubManager:

History

 * Fix for empty $files list
 * Fix for capital letter annoyance
 * Added '#directory' magic word
 * Added 'green' anchors for directories