#7695 closed defect (fixed)
Omitting the prefix "wiki:" doesn't work with quoted links when an alternative link text is provided
| Reported by: | Owned by: | Remy Blank | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12 |
| Component: | wiki system | Version: | 0.11.1 |
| Severity: | normal | Keywords: | internal free link |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Omitting the prefix "wiki:" doesn't work with quoted links when an alternative link text is provided. For example the following works:
[wiki:"Quoted Wiki Page" This is a quoted wiki page] ["Quoted Wiki Page"] [QuotedWikiPage This is another wiki page]
But the following (omitting "wiki:") doesn't work (as expected):
["Quoted Wiki Page" This is a quoted wiki page] ["TracGuide" Not even when no spaces are used]
Displays as:
And should be displayed as:
Attachments (0)
Change History (8)
comment:1 by , 17 years ago
| Component: | rendering → wiki system |
|---|---|
| Milestone: | → 0.12 |
| Owner: | set to |
follow-up: 4 comment:3 by , 16 years ago
comment:4 by , 16 years ago
I think [<some text>] is seen too commonly in plain text to be automatically replaced by a link.
See http://en.wikipedia.org/wiki/Square_bracket#Box_brackets_or_square_brackets_.5B_.5D.
comment:5 by , 16 years ago
You may be right although I think users using the Trac wiki would always expect square brackets to represent a link (at least I do) - so I guess they won't use them as often as you think. But that's just my opinion.
comment:6 by , 16 years ago
| Keywords: | internal free link added |
|---|---|
| Milestone: | next-minor-0.12.x → 0.12.1 |
See also ticket:9239#comment:9.
comment:7 by , 16 years ago
| Milestone: | 0.12.1 → 0.12 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
["Internal free links" with a label] have been added in [9535].
comment:8 by , 16 years ago
| Owner: | changed from to |
|---|



Yes, I've noticed that myself some times after implementing the MoinMoin's "internal free links" syntax. I'm not sure if "internal free links with labels" are supported in MoinMoin, but the suggested syntax looks consistent.
Btw, is it only me or has the MoinMoin's wiki syntax for links been overhauled to be more Creole-style? (MoinMoin:HelpOnLinking)