plugin:preservefilenames
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:preservefilenames [2012-07-31 21:26] – New version 2012-07-31 kazmiya | plugin:preservefilenames [2023-10-30 23:46] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
====== PreserveFilenames Plugin ====== | ====== PreserveFilenames Plugin ====== | ||
Line 7: | Line 6: | ||
email : kazmiya@gmail.com | email : kazmiya@gmail.com | ||
type : action, renderer | type : action, renderer | ||
- | lastupdate : 2012-07-31 | + | lastupdate : 2012-10-01 |
- | compatible : 2009-12-25, 2010-11-07, 2011-05-25, 2012-01-25 | + | compatible : Lemming, Anteater, Rincewind, Angua, Adora Belle |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
tags : file, media | tags : file, media | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : http:// | + | bugtracker : https:// |
- | sourcerepo : http:// | + | sourcerepo : https:// |
---- | ---- | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | < | + | Search and install |
- | Download | + | ^ Download |
- | ^ Download | ||
- | :!: Using the Plugin Manager is the recommended way. If you are manually installing, you need to rename the extracted directory to " | ||
**Changelog**: | **Changelog**: | ||
- | {{rss>http:// | + | {{rss>https:// |
===== Overview ===== | ===== Overview ===== | ||
Line 38: | Line 35: | ||
By default, DokuWiki normalizes media file names by means of normalized method documented in [[: | By default, DokuWiki normalizes media file names by means of normalized method documented in [[: | ||
- | For example, a media file which name is "'' | + | For example, a media file whose name is "'' |
By installing this plugin, you can use uploaded media file with its original name instead of normalized name. Letter cases, spaces, symbols and multibyte characters in a file name will all be preserved. | By installing this plugin, you can use uploaded media file with its original name instead of normalized name. Letter cases, spaces, symbols and multibyte characters in a file name will all be preserved. | ||
Line 44: | Line 41: | ||
===== Features ===== | ===== Features ===== | ||
- | ==== Filename | + | ==== File name preservation ==== |
This plugin uses a meta file to store and retrieve an original name of an uploaded file. | This plugin uses a meta file to store and retrieve an original name of an uploaded file. | ||
- | **Storing Process**: | + | Storing Process: |
- | * Occurred | + | * Occurs |
* Uploading files via upload interface of DokuWiki | * Uploading files via upload interface of DokuWiki | ||
* Process details: | * Process details: | ||
Line 56: | Line 53: | ||
- DokuWiki normalizes the file name into '' | - DokuWiki normalizes the file name into '' | ||
- DokuWiki stores the file in '' | - DokuWiki stores the file in '' | ||
- | - The plugin creates a meta file '' | + | - The plugin creates a meta file '' |
- The plugin stores original file name in the meta file | - The plugin stores original file name in the meta file | ||
- | **Retrieving Process**: | + | Retrieving Process: |
- | * Occurred | + | * Occurs |
* Filling label text of media links with no designated label text in wiki pages | * Filling label text of media links with no designated label text in wiki pages | ||
* Displaying a file list in media manager | * Displaying a file list in media manager | ||
Line 74: | Line 71: | ||
So if you don't like this plugin, you can safely uninstall this plugin without any side effects. | So if you don't like this plugin, you can safely uninstall this plugin without any side effects. | ||
- | ==== Better | + | ==== Better |
This plugin resolves [[http:// | This plugin resolves [[http:// | ||
- | For example, you can download snippet below as "'' | + | When you have a media file whose name is "'' |
+ | |||
+ | For example, you can download snippet below as "'' | ||
<file txt 文書_1.txt> | <file txt 文書_1.txt> | ||
Line 90: | Line 89: | ||
===== Notes ===== | ===== Notes ===== | ||
- | * When you want to preserve file names, you cannot use FTP or any other " | + | |
+ | | ||
* Even if original file names are different, you need to pay attention whether the names are normalized into the same media ID or not. For example, both '' | * Even if original file names are different, you need to pay attention whether the names are normalized into the same media ID or not. For example, both '' | ||
===== Feedback ===== | ===== Feedback ===== | ||
- | Any feedback is welcome. Please use the [[http:// | + | Any feedback is welcome. Please use the [[https:// |
plugin/preservefilenames.1343762768.txt.gz · Last modified: 2012-07-31 21:26 by kazmiya