Ticket #205 (WontFix)Fri May 15 09:27:03 UTC 2009
Historical page versions in Wiki break relative links
Reported by: | Andrew Hodgkinson (6) | Severity: | Major |
Part: | Legacy: I2 (old Wiki) | Release: | 2nd public site release |
Milestone: | 2nd public site release completed | Status | WontFix |
Details by Andrew Hodgkinson (6):
When viewing older page revisions for a given page in the Wiki, any relative links become broken, since rather than the current page’s URL being “…/pages/foo”, it’s “…/pages/foo/versions/bar”. Thus a link which used to be to page “…/pages/baz” ends up being to page “…/pages/foo/versions/baz”.
This might not be so severe were it not for the RSS feed pushing out version-specific URLs, so viewers visiting via the feed end up with broken in-page links.
Since RedCloth handles the page parsing, it’s difficult to see how this might be fixed efficiently. An obvious bodge would be to make the RSS feed use the live page URLs rather than version-specific addresses but that degrades the meaning of the feed contents and besides, it doens’t help much when people are trying to make sense of historical revisions during editing.
Changelog:
Modified by Trevor Johnson (329) Mon, January 24 2011 - 15:33:26 GMT
…any relative links become broken, since rather than the current page’s URL being ”…/pages/foo”, it’s ”…/pages/foo/versions/bar”. …Since RedCloth handles the page parsing…
Would it help if the parsing could be amended so relative hrefs become stripped of /versions/bar
(if present)? Or are they hard coded into RedCloth? As stated in the report, this wouldn’t help with making sense of historical revisions during editing, but at least the links wouldn’t be broken.
Modified by Andrew Hodgkinson (6) Mon, March 14 2011 - 23:27:58 GMT
- Status changed from Open to WontFix
Instiki publishes a headline-only feed, which doesn’t use version-specific links. It also has a full content feed which doesn’t need to publish links. So this goes to WontFix, with a move to Instiki underway on the development branch.
Modified by Trevor Johnson (329) Thu, March 24 2011 - 09:26:03 GMT
On a related issue, the following is a bit of a puzzle to me:
- Try the link to the “manual setup guide previously present on this page” at the bottom of the following pages, under ‘Additional notes’: it points to version 16 of that page
- https://www.riscosopen.org/wiki/documentation/show/Using%20the%20Cortex-A8%20port (current version) correctly links to https://www.riscosopen.org/wiki/documentation/revision/Using%20the%20Cortex-A8%20port%2F16
- https://www.riscosopen.org/wiki/documentation/show/diff/Using%20the%20Cortex-A8%20port (current version with changes) tries to create the new page https://www.riscosopen.org/wiki/documentation/new/Using%20the%20Cortex-A8%20port%2Fversions%2F16
(I know this may fall under ‘WontFix’ for the reasons stated above, but think it ought to be documented anyway.)
Modified by Trevor Johnson (329) Thu, March 24 2011 - 09:29:48 GMT
Maybe it’s a browser cache issue but it doesn’t seem to be. Or what else could I be doing wrong?