Skip to content

Vertical, unescaped pipes (|) cut off comment content #2252

@secretorchard

Description

@secretorchard

Similar to #212, the usage of a vertical pipe in Twinkle warnings & reports cuts off everything after it in a message.

For example, adding this is a test of the twinkle warn-er with |link= parameters to the "Optional message" box in a warning renders as shown in this diff: https://en.wikipedia.org/w/index.php?title=User_talk:Staraction&diff=prev&oldid=1325391029.

I believe this is because the pipes are rendered as parameters in the template, instead of as plaintext.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions