Page MenuHomePhabricator

RefToolbar doesn't escape pipe characters in text strings
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue:

  • Use RefToolbar to add a citation (I did so in source editor)
  • add (or import?) a title with a pipe, like "The Game | New Series"

What happens?:

  • The citation template generates an error like (on en.Wikipedia) "Text 'New Series' ignored "

What should have happened instead?:

The pipe character should be escaped (perhaps by using the {{!}} template on en.Wikipedia)

Other information (browser name/version, screenshots, etc.):

Example of error: https://en.wikipedia.org/w/index.php?title=The_Game_(2025_TV_series)&oldid=1373591452

Event Timeline

User scripts, gadgets, templates, modules, custom CSS are local on-wiki content. Local content is managed independently on each wiki, by each wiki community themselves.
Phabricator is mostly used for MediaWiki, MediaWiki extensions, or server configuration, or by developers and teams to organize what they plan to work on.
If you are looking for help with the local code on a wiki, please see https://meta.wikimedia.org/wiki/Tech instead.
This needs fixing on the local wiki by editing its local content. Thus I am closing this task here - thanks for your understanding.