MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: beta
Implementation Special page , User activity
Description Allows administrators to perform edits on files inside MediaWiki directory.
Author(s) Grzechoootalk
Latest version 0.1 (2014-05-15)
MediaWiki 1.22.x, older versions may work, but haven't been tested
Database changes No
License No license specified
  • $wgFileSystemAllowedFiles
  • $wgFileSystemLogFileReads
  • $wgFileSystemLogFileEdits
  • $wgFileSystemEnableGeSHi
  • readfilesystem
  • editfilesystem
Check usage and version matrix.

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


  • https://github.com/Grzechooo/FileSystem Download and place the file(s) in a directory called FileSystem in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/FileSystem/FileSystem.php";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parametersEdit

if non-empty, only files in this array will be readable/editable through the interface. Example configuration:
$wgFileSystemAllowedFiles = array(
Default: empty array
if true, any file reads will be logged to Special:Log/filesystem.
Default: false
if true, any file edits will be logged to Special:Log/filesystem.
Default: true
if true, FileSystem will use SyntaxHighlight GeSHi to annotate displayed files.
Default: false

User rightsEdit

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


  • 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)

See alsoEdit