00838: The link tag, [[ ]], problem.

Summary: The link tag, [[ ]], problem.
Created: 2006-11-25 20:00
Status: Closed - not a bug
Category: Bug
From: Yasuto
Priority: 5
Version: 2.1.26 2.2.0-beta16.
OS: I don't know.

Description: The link tag don't work nomally when no words separates. This is a significant problem in two-bits character code languages (e.g. Japanese) because between words doesn't separate with the space character.

Bug script:

[[test]]test  /* <a ....>testtest</a> */

/* .. */ means the result on pmwiki.

This isn't a bug, it's a design feature. Any letters that immediately follow a link are considered to be part of the link, thus we can write [[group]]s and get a link to a page called "Group" but have the link text display as "groups". As written in the Links page:

A suffix can also be added to the end of a link, which becomes part of the link text but not the target. Thus [[wiki sandbox]]es is a link to WikiSandbox but displays as wiki sandboxes.

However, this feature can be disabled by using a special markup rule in local/config.php:

## [[target | text]]

Pm December 26, 2006, at 10:14 AM