https://bugzilla.wikimedia.org/show_bug.cgi?id=40602

       Web browser: ---
             Bug #: 40602
           Summary: Allow pipes within external links nested in template
                    parameters
           Product: Parsoid
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: JS/tokenizer
        AssignedTo: gwi...@wikimedia.org
        ReportedBy: gwi...@wikimedia.org
                CC: mtrac...@member.fsf.org, ssas...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---


Input:
{{refn|<ref>[http://newsrack.in | foo]</ref>}}
<references>

Expected behavior:
Match the external link.

Observed behavior:
The pipe is disallowed by syntaxflags, the external link is not matched.

Likely solution:
Convert pipe into flag stack and push false within the external link
production.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to