DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mediarename

This is an old revision of the document!


mediarename plugin

Compatible with DokuWiki

No compatibility info given!

plugin Add a quicklink to mediamanager to allow automatic renaming of all media-files in a namespace to valid media-file-names

Last updated on
2009-12-27
Provides
CSS/JS-only

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on dokuwiki.org. Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

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 filenames, media, mediamanager, rename, renaming

What is this ?

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 Installation

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

Usage

If the plugin is installed, aquicklink 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 choosen.

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)

Notes

The recursive renaming does not truely work yet: in case that a directory had to be renamed, recursion breaks - possible invalid filenames inside that directory are not renamed. Simply run the function a second time !

This is for the case that a directory has to be renamed exactly to the name of an already exising directory - to prevent the unintendet moving of the files from the first dir to the existing dir (that would follow from the recursive process) Didnt come around this till now …

plugin/mediarename.1261953354.txt.gz · Last modified: 2009-12-27 23:35 by 86.59.89.192