Copy a Wiki Page
We are trying to document our software project requirements and test cases in the project wiki. The simple reason is to allow multiple people to create and fix the items as we go along. To help, I have built some templates that can be used to make sure that we capture the data in a consistent format. We then just create issues to test the cases referencing the wiki pages. Works slick.
Since I have the formats, the only way I see that I can copy it to a new page is to cut and paste it into the new page. I would be simpler if I had an "include", "copy from" or some similar function.
I am aware that has changes occur to the format the old pages will not reflect the changes, but then neither do the paper versions I am doing currently.
Updated by Chad Heuschober about 13 years ago
+1 to this. Much like duplicating an issue, duplicating a wiki template (with retention of the parent!) would be a fantastic help.
We could use this for our pain points (user stories), and the individuals who design these are not usually technically adept enough to build link to another wiki page much-less the steps required edit the template, copy the contents, return to the pain points page, create a link to a new pain point, click the link to edit the new pain point, and paste the template contents.
If it were possible to duplicate the template (and inherit the same parent), I could direct users to duplicate the template, give it a new name, and simply use child_pages to generate my list of known pain points.
Updated by Jos Accapadi over 12 years ago
The include won't be exactly what people need as that means any changes to that affect changes to anything the include is in, which is sometimes opposite of what people need.
I have an example template that I want everyone to use that says -
- QA Checklist
- QA Checklist
I would like them to just copy this template without having to go into the code, cut and paste into the new project, since version numbers may vary from project to project (which means that an include wouldn't work). A copy from project:wikipage would be nice here.
includes have their use case, but this is a different use case. Project managers run into this often with word documents being slightly modified from project to project.
Updated by Takenori TAKAKI 7 months ago
I attach the patch that allows copying of wiki page content, attached files, and optionally the parent wiki page (within the same project).
It doesn't support copying of child wiki page avoid functional complexity.
I hope this feature will be helpful to many Redmine users.
Updated by Takenori TAKAKI 6 months ago
- File 1330-copy-wiki-page-with-childs.patch 1330-copy-wiki-page-with-childs.patch added
- File copy_wiki_page_with_child_pages.gif copy_wiki_page_with_child_pages.gif added
I attach the patch that allows for optional copying of child pages. When the "Copy child pages" option is selected, the copied child page title will automatically be appended with a suffix like "_1".