Page MenuHomePhabricator

Wikilink surrounded by square brackets does not parse wikilink
Open, MediumPublic

Description

Typing [[[Foo|Bar]]] does not create '[Bar]' (with 'Bar' as a link), as expected. Instead, it spews '[[[Foo|Bar]]]' into the page itself.


Version: unspecified
Severity: normal

Details

Reference
bz26996

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:15 PM
bzimport set Reference to bz26996.
bzimport added a subscriber: Unknown Object (MLST).

I think it is parsed as [[ [Foo |Bar ]] and "[Foo" is an invalid title, so the link is outputted as plain text. You can use [<nowiki />[[Foo|Bar]]] .

a.d.bergi wrote:

Another possiblity would be &#91;[[Foo|Bar]]&#93; .
I'd propose marking as resolved or even wontfix, since the parser behavior won't be changed.

related wrong brackets handling: bug 25721 and bug 11239