Ticket #479 (Open)Wed Mar 04 07:15:43 UTC 2020
Problems when renaming a wiki page
Reported by: | Stuart Painting (5389) | Severity: | Minor |
Part: | Web site: Instiki (documentation Wiki) | Release: | |
Milestone: | Status | Open |
Details by Stuart Painting (5389):
After renaming a wiki page, some oddities are apparent.
What is meant to happen:
- The new page is seen as version N+1 of the old page, albeit with a new name.
- An automatic redirect is added so that references to the old page (both inside and outside the wiki) are sent to the new page.
What actually happens:
- Within-wiki redirects seem to work, but direct links from outside the wiki to the old page name get served the last version of the page with its old name. There is no redirect to the new page.
- Attempting to edit this “old” page won’t work: the user is taken to the wiki home page instead.
- The new page has a full version history, including all edits under the old page name. However there is no reference to the rename itself: all versions now appear to have the new page name.
Changelog:
Modified by Andrew Hodgkinson (6) Tue, March 10 2020 - 09:58:36 GMT
Seems to be a cache issue. When I cleaned out the Wiki cache, the page details under the old name no longer fetched at all – the Wiki behaved as if it was a 404 / new page, and offered to let me create it. I too would think a redirect more useful for 3rd parties but it seems Instiki doesn’t get this right at all.
Since wiping the cache meant I was asked to build the page, I’ve put a placeholder in that just directs people to the page under its new name:
…which is obviously a hack around the issue on this one page only for now, but at least it’s something. Until I get around to the Rails 5 or 6 rebuild of Instiki and see if this bug is fixed (and if not, fix it) in more modern Instiki sources – which might be a very long way off unfortunately – the best I can suggest is, um, don’t rename pages again?! Sorry :-/