zo0ok wrote:I dont know how renaming/moving is done. There are probably standard answers available for DokuWiki somewhere, but nevertheless it would make sense that we talk about it first, and perhaps produce a little renaming-guide (if possible).
What to rename, in what order:
1) Media Files
I don't know if somebody noticed: I cleaned up the media namespace some weeks ago.
Pre-cleanup we had media in ":toh:[brand]", ":media:[brand]", ":media:toh:[brand]".
After cleanup we have media only (mostly) in ":media:[brand]".
In addition to moving images from one to the other namespace, I removed doubles, renamed "img1234.jpg" to something meaningful, depending on where the picture is used, and created some sub-namespaces for models with many pictures.
The naming of media files is not 100% correct, but correct enough to work with, and anyway better than the chaos we had before.
How renaming / moving can be done:
1) Brute force (no need to be admin to do like this): Edit page A, copy&paste to page B, remove all contents of page A; adapt links from A->B manually, for all pages affected.
-> Error prone, much work if many pages are affected. You don't want to do this, unless you only have one single page to edit (or unless you are impatient like me and can not wait for a bug in a 'move' plugin to be fixed ;-).
2) via admin: there are some move plugins, doing the above link adjustment automatically.
2) Device Page
- may contain links to media files
- may use/present data from Data Entry
Moving media around and renaming it is no problem for devicepages: Links are automagically adapted by the "move" plugin. In dataentries however, links to images may need manual rework.
The same applies for moving devicepages: Links are automatically adapter, except maybe in dataentries.
3) Data Entry
- contains link to media files
- contains link to Device Page
I think it is rather important that device models and page names are consistent within a brand. I think looking for consistency between brands is unrealistic.
Consistency is nice, and wherever possible dataentry and devicepage should have consistent naming. However, it's currently not my top priority. When I stumble upon inconsistencies, I try to clean them up (e.g. yesterday: we had two namespaces, 'gl-inet' and 'gl.inet'), but I'm not searching for them.
I cleaned up the Pogoplug devices (just the Media files the Data Entries) a little while ago. I just changed the model names, but now they are not consistent with the page names. Renaming also the pages would make it cleaner.
I'll take a look at that, although I'm not looking forward to do so, due to the wonderfully confusing naming scheme of pogoplugs.
My scheme for renaming media:
- Use '-' within the model name (TL-MR3020)
- Use '_' to separate model name from description (TL-MR320_case.jpg)
- Within the descriptive part, use '-' and '_' as you like. Some devices use '-', some use '_' in the description, and I wasn't up for correcting this minor issue.
- Use only model name, leave out Brand (ie. "tl-mr3020.jpg" i/o "tp-link_tl-mr3020.jpg"). If images are nicely sorted into :media:[brand], this helps keeping the links short and avoids redundancies.
Again, I wasn't too eager to get 100% consistency here, especially between brands. Some images still have brand and model in the name, while others only have the model in. It depends on both brand and model: TP-Link doesn't need the brand in the media's name, since their naming scheme is mostly unique and easily recognizable (TL-.....). On the other hand, there are models like "7001". I don't like names with numbers only, since I have seen too many of them (img00203.jpg) leaving me clueless which brand/model this image was about. I don't mind having the brand in the name in this case.