Tags:
create new tag
, view all tags

Bug: Included Pages Display Some Links Incorrectly

Errors in displaying some links in included pages that look fine on the original page: - Mailto shows as link to non-existent wiki page - legitimate link such as [Perl and other URLS] sometimes shows as non-existent wiki link IF you have an extra ] before or after the link - three square brackets in a row.

Test case

  • Put the following text into a wiki page.
  • Include it from another page.
  • Observe Perl site link not shown correctly in page with inclusion
  • Observe mailto link not shown correctly in page with inclusion

   1 unfamiliar syntax: [[http://www.lua.org/ Lua]]
   2 extra [: [[[http://www.perl.com/ Perl]]
   3 extra ]: [[http://e-p-i-c.sourceforge.net/ Eclipse plugins]]]
   4 extra [ with text: [Java: [[http://www.sun.com/software/learnabout/java/ Sun]]
   5 http: [[http://www.java.net/ Projects]]]
   6 Bad link [(Mozilla web tools - same data)
   7 news: [[news://news.mozilla.org/netscape.public.mozilla.webtools News]]
   8 mailto: [[mailto:mozilla-webtools-request@mozilla.org?subject=subscribe][Mail list]] ]

Not included

  1. unfamiliar syntax: Lua
  2. extra [: [Perl
  3. extra ]: Eclipse plugins]
  4. extra [ with text: [Java: Sun
  5. http: Projects]
  6. Bad link [(Mozilla web tools - same data)
  7. news: News
  8. mailto: Mail list ]

Included

Warning: Can't find topic Sandbox.IncludedPagesDisplaySomeLinksIncorrectlyTestCase

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, CommentPlugin, EditTablePlugin, RenderList, SlideShowPlugin, SMiliesPlugin, SpreadSheedPlugin, TablePlugin, XpTrackerPlugin
Server OS: Red Hat Linux release 9 (Shrike)
Web server: Apache 2.0.40 - 21.11 RedHat
Perl version: v5.8.0 built for i386-linux-thread-multi
Client OS: Win XP SP2, also Fedora Core 3
Web Browser: Firefox on Linux and Windows, Internet Explorer

-- RobertEchlin - 18 Mar 2005

Impact and Available Solutions

Quick fix

Fix for 3 square bracket problem: don't use [] to surround a list of links, or put a space between extra square bracket and the link.

No known fix for the mailto problem.

Follow up

Fix record

Discussion

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2005-03-19 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.