Last modified: 2014-02-19 23:29:36 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 T53944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51944 - [[ or ]] in the middle of a link are not <nowiki>ed
[[ or ]] in the middle of a link are not <nowiki>ed
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: ssastry
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-24 09:54 UTC by Chris McKenna
Modified: 2014-02-19 23:29 UTC (History)
5 users (show)

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


Attachments

Description Chris McKenna 2013-07-24 09:54:11 UTC
English Wikipedia user Atethnekos reports:
"If I type "Fra]]nce" and then select that entire text and make it a link to [[France]], after I save it, the link anchor ends up appearing just as "France" followed by a non-anchor "]]""

The wikitext saved is: Three men from [[France|Fra]]nce]] went to sea.

But it displays in view mode and subsequent edits as: Three men from [[France]]]] when to sea.

{{ and }} in the middle of links are nowiki-ed but [[ is not.

https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox&diff=565594034&oldid=565593016
Comment 1 James Forrester 2013-07-24 15:28:37 UTC
Parsoid issue, presumably?
Comment 2 ssastry 2013-07-24 15:30:55 UTC
Heh ... for a change, this bug report is asking for nowikis ;-)
Comment 3 James Forrester 2013-07-24 15:31:26 UTC
(In reply to comment #2)
> Heh ... for a change, this bug report is asking for nowikis ;-)

Indeed. :-)
Comment 4 Gerrit Notification Bot 2014-01-14 22:41:47 UTC
Change 107491 had a related patch set uploaded by Subramanya Sastry:
(Bug 51944) Tweaks to wikitext escaping of [[ and ]] in link text

https://gerrit.wikimedia.org/r/107491
Comment 5 Gerrit Notification Bot 2014-01-14 23:53:49 UTC
Change 107491 merged by jenkins-bot:
(Bug 51944) Tweaks to wikitext escaping of [[ and ]] in link text

https://gerrit.wikimedia.org/r/107491

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


Navigation
Links