01372: erasure_of or access_revoked of all sub-links upon name revision

Summary: erasure_of or access_revoked of all sub-links upon name revision
Created: 2015-07-02 19:12
Status: Open
Category: Bug
Assigned:
Priority: 5
Version: 2.2.77
OS: Linux/Apache 2.2.29/PHP 5.3

Description: This bug were easily replicated:

"When you change a link in the upper-hierarchy, all the sub-links disappear because the name has been changed."

Very, very simple problem. I would be very, very surprised if it's not been caught already.

Looking for something of link retention. I invent this example to demonstrate one possible way it may be fixed:

Ex. Link (former link) to be changed:

This text here would be on the wiki page. The link text that leads to another page follows.

Fixed-Held: {{designate '26' To another page? }}

Fixed-Changed: {{replace '26' To this other page? }}

Fixed-Result:

This text here would be on the wiki page. The link text that leads to another page follows.


By that logic, it still leads to the same page even though its name were being changed. That way, you do not lose dozens of pages in sub-links that follow.

And it only has to point the way through a single revision, but the Fixed-Held option can serve to designate an intention of revision.

So, you can designate it to be any string. It can be held as "held" until the "change" gets added that results in the revision. wellFyrecom? July 02, 2015, at 07:14 PM

I am not sure I understand what you are trying to describe. In PmWiki it is possible to change a page text, for example containing a link to [[Page A]] with text containing a link to [[Page B]], PmWiki will not assume that you want PageA to be renamed/moved to PageB, it will assume that you have 2 different pages and before you linked to one of them, later to the other. This is not a bug, it is intended to work that way. If you want to simply change the text on the link, use [[Page A|text of the link]] and it will still link to PageA. If you want to rename/move a page to a different name, create the new page and copy there the text of the previous page (or use a recipe like MovePage). If that doesn't help you please try to explain -- you can create any pages needed into the Test group. --Petko July 02, 2015, at 11:54 PM


Would RefCount be of use here, it can show orphaned pages?

simon July 06, 2015, at 07:53 PM