Reorganise wiki pages

Added by David Spackman 9 months ago

Hi,

I need reorder pages one of our Redmine wiki

What is the quickest method to achieve this?
I would like to make sure that index by title navigation now points to the new parent page

It appears that I need to do this in two steps
  • Create a new link to the child page on the target parent page
  • Update the child page to reference the new parent page

Is there a more efficient method? I have a large amount of pages I need to reorganise

Example...

Original

Page 1 and 2 are top level
Pages 3-5 are children of page 1
Pages 6-8 are children of page 2

Wiki
- Page 1
-- Page 3
-- Page 4
-- Page 5
- Page 2
-- Page 6
-- Page 7
-- Page 8

Reorganised

Page 3 and 4 moved to top level
Page 6 moved to child of page 1

Wiki
- Page 1
-- Page 5
-- Page 6
- Page 2
-- Page 7
-- Page 8
- Page 3
- Page 4

Thank you.

Replies (1)

RE: Reorganise wiki pages - Added by Bernhard Rohloff 9 months ago

I think this heavily depends on the structure of your pages and your actual purpose behind the reorganization.
If your top level pages are lists, like for example a table of content, I could imagine some script based approach to generate the new pages.
This could also be a conceivable way, if you have to swap pages against each other.

So maybe you should give a glimpse into the wiki REST API documentation for that...

(1-1/1)