Page MenuHomePhabricator

Parser should protect -{...}- variant constructs in links
Closed, ResolvedPublic

Description

The parser knows about links, so that (for example):

[[File:Foobar.jpg|caption with [[link|alt=foo]]]]

is parsed correctly (using link placeholders). However, it doesn't know about the -{ }- variant syntax. As a result:

[[File:Foobar.jpg|-{R|caption}-]]

is *not* currently parsed correctly.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
StalledNone
OpenNone
StalledNone
Resolvedovasileva
Openovasileva
OpenNone
DuplicateNone
OpenNone
InvalidNone
ResolvedPchelolo
Resolvedmobrovac
ResolvedPchelolo
ResolvedJdforrester-WMF
ResolvedMarkTraceur
OpenNone
OpenNone
ResolvedJdforrester-WMF
Resolvedcscott
ResolvedJdforrester-WMF
OpenNone
DuplicateNone
OpenNone
OpenNone
Opencscott
OpenNone
Resolvedcscott

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 327042 had a related patch set uploaded (by C. Scott Ananian):
Protect -{...}- variant constructs in images.

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

Change 327042 merged by Tim Starling:
Protect -{...}- variant constructs in images.

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

cscott claimed this task.