It's better when it's simple

User Tools

Site Tools


makemedians Plugin

Compatible with DokuWiki

Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort

plugin This plugin creates corresponding media namespace directory immediatly after page creation

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with media, namespace


Usually the mediaspace, where all the mediafiles reside after uploading, is located at <DokuWiki-Root>/data/media/ in the filesystem of the Webserver.

Now, some Admins (like me) export this directory by FTP, Samba, WebDAV or whatever to gain faster access to them. This can be used to copy mediafiles into and out their namespaces. Also, deleting or reorganizing is possible this way.

My plugin changes DokuWiki's behaveour so namespace-dirs in mediaspace are always created, when they are created in pagespace. This guarantees that they exist for putting files inside.


Configuration and Settings

Change Log

  • 2016-07-12
    • Changed triggering event from IO_NAMESPACE_CREATED to IO_WIKIPAGE_WRITE to create mediadirs for page-namespaces already exist and won't fire the former event in case of an page edit.
  • 2016-07-10
    • Initial release

Report Bugs and Issues

Please use Bugtracker-Link given in head-section of this plugin

Known issues and roadmap

Beware: Changeing content of mediaspace directories will corrupt your index and also your imagelinks inside the pages. Also you must respect DokuWiki's internal naming conventions. Therefore only lowerspace filesnames, with alphanumeric chars and no spaces will be shown as mediafiles inside DokuWiki. Additionally they may not be shown until reindexing. So think of what you're doing!



plugin/makemedians.txt · Last modified: 2016-07-12 18:27 by og

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki