Add a quicklink to mediamanager to allow automatic renaming of all invalid filenames in a namespace to valid media-file-names
Media Files with invalid names can be renamed to valid DokuWiki-media-file-names when they are found in a media directory by the media-manager. Renaming is triggered by a link at media-managers left-side area.
Such a filename fixing can be needed, if files were not uploaded with the media manager but copied via the servers filesystem. Take notice: recursive renaming works, but stops inside renamed directories. Re-run the action in that case, as long as no more invalid filenames were encountered.
Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.
http://develop.servus.at/software/mediarename-2009-12-02.tgz
http://develop.servus.at/software/mediarename-2009-12-02.zip
If the plugin is installed, a quicklink is shown in the left-side-area of the mediamanager. Clicking it, converts all invalid media filenames to valid ones. Recursively processing all sub-namespaces can be chosen.
Mediamanagers usual behaviour is to show a message for each invalid mediafilename found. Clicking the rename-link shows a message for all renamed files. To get rid of this (list), just refresh the view (by clicking the namespace)