RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Previous|Next

  • Tickets
  • » Ticket #479

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:

  • https://www.riscosopen.org/wiki/documentation/s…
  • https://www.riscosopen.org/wiki/documentation/s…

…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 :-/

  • Comment on, or change status of, this ticket

Previous|Next

Search tickets

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Options

  • Tickets
  • New ticket
  • Milestones
  • Subversion: Changesets
  • Subversion: Browse
  • CVS: Revisions
  • CVS: Browse
  • Search

RSS feeds Rss

  • Tickets
  • Everything!
  • More feeds...
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Collaboa theme is distantly based on the Collaboa default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Collaboa
This site runs on Rails

Hosted by Arachsys