DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:makemedians

makemedians Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

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

Last updated on
2016-07-12
Provides
Action
Repository
Source

Tagged with media, namespace

Description

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.

Examples/Usage

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!

FAQ

Discussion

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