• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4212: backlinks are different from links found during a rename/delete

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Low No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

... shouldn't they be identical?

-- TWiki:Main/MichaelDaum - 06 Jun 2007

Can you give an example/testcase please?

CC

See also Item4154, Item1386

I have closed both those items in favour of this one, since they all cover the same ground.

-- TWiki:Main.CrawfordCurrie - 14 Jun 2007

For example, compare renaming WelcomeGuest with backlinks to it. While the latter finds a link in TWikiUsersGuide, the former doesn't.

Too bad that we don't have a %BACKLINKS{scope="local|global"}% that replaces %LOCAL_SEARCH% and %GLOBAL_SEARCH% and could be used in the backlinks templates also thus preventing redundancy that bites back like it does in this matter.

-- MichaelDaum - 09 Jul 2007

Hm, can't this be a permission problem, cause renaming needs authentication, backlinks seemingly not?

-- TWiki:Main.FranzJosefGigler - 09 Jul 2007

Since backlinks and rename both use a SEARCH to find the references, it really shouldn't be hard to rationalise this. However no-one seems to care enough to fix it frown

Confirmed as Normal prio.

CC

It's because the rename search is sensitive to the web name; if there is a web specified, then it must be matched. the backlinks search does not consider the web name, so it finds more links. The specific links in the above example are links to %<nop>SYSTEMWEB%.WelcomeGuest. The rename function does not (cannot) expand TWiki variables - it's just a search - so it doesn't know that %<nop>SYSTEMWEB% is the current web. But it does realise that the following .WelcomeGuest refers to a topic in a web. I just has no way of knowing it's this web.

In general backlinks have to find all references, including those that are not really links, but rename has to be selective and only handle links it can be sure about.

Dropping to Low priority.

CC

Don't understand. Sounds like a lame excuse wink

-- TWiki:Main.MichaelDaum - 18 Sep 2007

As for the testcase given, currently the only difference between searches are two pages:

Which are found only by the references search only.

I am closing this, but feel free to reopen with a testcase / littertray demo showing what is really left in it (no TWIKIWEB / SYSTEMWEB please, these are of academic interest only ...).

-- TWiki:Main.SteffenPoulsen - 22 Dec 2007

ItemTemplate
Summary backlinks are different from links found during a rename/delete
ReportedBy TWiki:Main.MichaelDaum
Codebase

SVN Range TWiki-4.1.2, Mon, 04 Jun 2007, build 14028
AppliesTo Engine
Component

Priority Low
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-12-22 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback