Extension:FileSystem

The FileSystem extension allows administrators to manage (view and edit) files in the MediaWiki directory tree.

Configuration parameters

 * $wgFileSystemAllowedFiles: if non-empty, only files in this array will be readable/editable through the interface. Example configuration:
 * Default: empty array


 * $wgFileSystemLogFileReads: if true, any file reads will be logged to Special:Log/filesystem.
 * Default: false


 * $wgFileSystemLogFileEdits: if true, any file edits will be logged to Special:Log/filesystem.
 * Default: true


 * $wgFileSystemEnableGeSHi: if true, FileSystem will use SyntaxHighlight GeSHi to annotate displayed files.
 * Default: false

User rights

 * readfilesystem - allows users to read the files.
 * editfilesystem - allows users to edit the files.

Warnings

 * The extension currently does not do syntax check on .php files, and thus you need to check for syntax errors yourself.
 * Be wary when giving out the right to edit the files, as only file edits are logged (if enabled of course), and not their diffs (although that is planned to be implemented)