Extension:LocalFileSystem

What can this extension do?
It displays (currently only) restructured text files from a directory of the local file system (rendered to HTML of course) as a wiki page. It first checks if a page title (called by current request) exists in the wiki/DB and if this is not the case checks if available in the directory (which has to be set in the extension's code). All pages in the dir can be see on Special:LocalFileSystem

Currently this is a simple hack, I aim to extend it to check for different file formats, html, stx, txt, which on as default. I have to dive in further in the parser code and hooks. Anyone wanting to help is welcome.

The idea of the extension is simple and i think it's useful. My motivation was to make my old wiki pages available in my Mediawiki - unfortunately they are not linked internally - because they're CamelCased. Another thing which should be done.

This is my first extension and i am quite new to PHP so my code and style is not the best, sorry for that.

Usage
Link pages and folders known to be in the filesystem stored into the FSDIR parameter ("./extensions/" by default).

Installation

 * Download and install rst2html.py on your system, if not yet installed. It's part of docutils

User rights
To view the special page i invent the permission 'localfilesystem' which per default everybody has.