sbrl / Pepperminty-Wiki

A wiki in a box
https://peppermint.mooncarrot.space/
Mozilla Public License 2.0
183 stars 22 forks source link

Moving a page to be a subpage of a page that doesn't exist causes pageindex desync #201

Closed sbrl closed 4 years ago

sbrl commented 4 years ago

If you move a page to be a sub-page of a page that doesn't exist, it throws a bunch of warnings and makes a rather unpleasant mess of everything - which you then have to clean up afterwards.

The page mover should be aware of this, and automatically create the necessary directory structure and parent pages to avoid this issue.