plugin:mediarename
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:mediarename [2011-06-04 18:03] – [User comments] 88.67.217.240 | plugin:mediarename [2022-06-18 15:02] (current) – 77.28.89.8 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== mediarename plugin ====== | + | Not working anymore. |
- | + | ||
- | ---- plugin ---- | + | |
- | description: | + | |
- | author | + | |
- | email : target@servus.at | + | |
- | type : action | + | |
- | lastupdate : 2009-12-27 | + | |
- | compatible : 2009-08-30 | + | |
- | depends | + | |
- | conflicts | + | |
- | similar | + | |
- | tags : rename, renaming, media, mediamanager, | + | |
- | downloadurl: | + | |
- | ---- | + | |
- | + | ||
- | ===== 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: | + | |
- | + | ||
- | [[http:// | + | |
- | + | ||
- | [[http:// | + | |
- | + | ||
- | + | ||
- | ===== Usage ===== | + | |
- | + | ||
- | 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) | + | |
- | + | ||
- | + | ||
- | ===== Notes ===== | + | |
- | * The recursive renaming does not truly 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 break is kept for the case that a directory has to be renamed exactly to the name of an already existing directory - to prevent the unintended moving of the files from the first dir to the existing dir (that would follow from the recursive process) | + | |
- | + | ||
- | * Keep in mind: DokuWiki skips all filenames in the mediadir beginning with ' | + | |
- | + | ||
- | + | ||
- | ==== User comments ==== | + | |
- | * I could not find the rename link, I just opened the lib/ | + | |
- | + | ||
- | * The plugin allows anyone with READ permissions to start the auto-renaming. If you want permissions of at least AUTH_DELETE, | + |
plugin/mediarename.1307203382.txt.gz · Last modified: 2011-06-04 18:03 by 88.67.217.240