dokuwiki-plugin-move
dokuwiki-plugin-move copied to clipboard
Move page incl. the contained images?
Hello together,
is it possible to move a page one by one with the pictures that are on that page?
I would like to move the whole namespace but only the page with the images on it.
Example:
sourcedirectory/pic1.jpg sourcedirectory/page1.txt
Move -> dir2
targetdirectory/pic1.jpg targetdirectory/page1.txt
Currently, when the page is moved, the image remains on the page in the source directory and is not moved to the destination directory.
Only the links on the page are adjusted.
Thanks a lot
Same issue. Very frustrating and dangerous when medias from playground stay writable for all user then the initial page was already moved to a restricted area managed by ACL.
DokuWiki doesn't have the concept of attachments. Media files are independent entities that exist independent of pages and can be used in any number of pages. Which rules should the move plugin use to decide which media files should be moved where when a page is moved/renamed?
@michitux You get the point. True.
In our use case, we use a playground directory which is public like that all registred users are able to add new page with media files (picture, PDF, word/excel document, etc...). Only few users with writing rights on our dokuwiki are able to move page from public playground (named "brouillon") to a restricted area managed by ACL (named "connaissance"). It's like a validation process.
We only want to move page and media files linked from "brouillon" to "connaissance".
There isn't possible to add a general option for the move plugin in order to know from which directories the media files need to be move ? For exemple, an option for liting specific folders names impacted by this behaviour ? In my case, I would add my "brouillon" directory. Like that the plugin knows the files to move or not (because "brouillon" directory is already listed in an include list source directories)
It will be very useful and more safe for us !
Thanks for your wonderful plugin.