• 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.

Item4352: Alias:<space> is translated by the InterwikiPlugin

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension InterwikiPlugin Urgent 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

Alias:<space> should not be translated by the InterwikiPlugin.

I've found that by adding an Inter-Wiki Link in InterWikis with the external site alias = Note: causes the text Note:<space> to be translated by the InterwikiPlugin in every place that the text Note: something important is encountered. This is problematic because the use of Note:<space> is so very commonly used in regular text. The same buggy behaviour must also be true for any Alias:<space> that is defined.

I've marked this bug as urgent, because the InterwikiPlugin is a default plugin.

-- TWiki:Main/KeithHelfrich - 12 Jul 2007

If this is true then the same should happen here on bugs with a word like News.

Let us try.

First an example where the linking should happen. Link to News:war

And now an example where we should not have a link to News: war

I have tested this both on MAIN and on 4.1.2 and I do not see this bug. The reporter has given 4.0.1 as the version.

Nothing to do on this report.

Upgrade Keith! There are at least 2000 bugs solved since that version.

-- TWiki:Main.KennethLavrsen - 13 Jul 2007

This on a 4.1.2 engine. But that does not matter at all. InterwikiPlugin has not changed for a long time. Let's have some more tests:

Note also that the alias does not work if found at the end of a bold string :

  • DONE There is rarely any News:peace to speak of
  • ALERT! There is rarely any News:peace
-- TWiki:Main.KeithHelfrich - 23 Jul 2007

Isn't this a spec discussion?

The regular expression can easily be changed to not support News:__ and support News:peace*, but the better way would be to just escape the TML correctly, i.e.:

  • Change News:__ into <nop>News:__
  • Change News:peace* into a link in square brackets (as it is also nescessary with regular wikiwords at the end of a bold)
Setting this to no action required, but please feel free to open spec discussion in TWiki:Plugins.InterwikiPluginDev. News: seems to be gone from <nop>TWikiUsers in the meantime.

-- TWiki:Main.SteffenPoulsen - 27 Aug 2007

ItemTemplate
Summary Alias:<space> is translated by the InterwikiPlugin
ReportedBy TWiki:Main.KeithHelfrich
Codebase 4.1.2
SVN Range TWiki-4.1.2, Thu, 28 Jun 2007, build 14298
AppliesTo Extension
Component InterwikiPlugin
Priority Urgent
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-08-27 - 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