Fullscreen
Loading...
 
Skip to main content

Parsing WikiWords on internal links with '-' in them are parsed incorrectly

Status
Pending
Subject
Parsing WikiWords on internal links with '-' in them are parsed incorrectly
Version
2.x
Category
  • Usability
  • Consistency
Feature
Wiki Syntax (text area, parser, external wiki, etc)
Submitted by
dfidler
Lastmod by
dfidler
Rating
(0)
Description

Links of the form: ((PageName | Text-With-A-Dash And Spaces))
Parse to give: Text-With-A-Dash? And Spaces?

such that:

Text-With-A-Dash -> page=Text-With-A-Dash
And Spaces -> page=PageName

(aka, there are two links to different pages)

This is inconsistent as: ((PageName | Text-With-Dashes))
parses to: Text-With-Dashes?

The same problem occurs with underscores instead (_)of dashes (-) and using |# making things even worse.

The docs don't mention anything about -,_ being special characters when parsing link descriptions; nor should they be.

Solution
Workaround: Remove all dashes or underscores or spaces from the link description or escape them in the description using special syntax (~45~ and ~95~ respectively). Not that I think that this is actually a solution as wiki is supposed to be easier than html; not more obtuse.
Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2031
Created
Friday 12 September, 2008 19:01:22 UTC
by Unknown
LastModif
Friday 12 September, 2008 19:05:04 UTC


Show PHP error messages