Last modified: 2012-04-16 09:15:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28996, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26996 - Wikilink surrounded by square brackets does not parse wikilink
Wikilink surrounded by square brackets does not parse wikilink
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-27 21:37 UTC by Douglas Gardner
Modified: 2012-04-16 09:15 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Douglas Gardner 2011-01-27 21:37:26 UTC
Typing [[[Foo|Bar]]] does not create '[Bar]' (with 'Bar' as a link), as expected. Instead, it spews '[[[Foo|Bar]]]' into the page itself.
Comment 1 db [inactive,noenotif] 2011-01-28 19:18:21 UTC
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]]] .
Comment 2 Bergi 2011-02-23 21:03:56 UTC
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.
Comment 3 db [inactive,noenotif] 2011-07-03 17:44:42 UTC
related wrong brackets handling: bug 25721 and bug 11239

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links