Page MenuHomePhabricator

"Shortcut" template broken when using Parsoid
Closed, DuplicatePublicBUG REPORT

Assigned To
None
Authored By
WrenFalcon
Jul 2 2025, 2:08 AM
Referenced Files
F62773071: image.png
Jul 2 2025, 2:08 AM
F62773066: image.png
Jul 2 2025, 2:08 AM
F62773060: image.png
Jul 2 2025, 2:08 AM

Description

Steps to replicate the issue (include links if applicable):

(Normal page view)

Additionally (page preview):

  • Ensure that Parsoid is being used.
  • Navigate to a page on Wikispecies that makes use of Template:Shortcut.
  • Press "edit", then press "Show preview"

What happens?:
Normal page view - The use of the shortcut template renders as "Shortcut: {{{1}}}".

Page preview (also happens without Parsoid) - The use of the shortcut template renders as "Shortcut: WS:AN" or similar.

What should have happened instead?:
Normal page view - it should have rendered as "Shortcut: WS:AN" or similar.

Page preview (also happens without Parsoid) - Expected behavior.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

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

Viewed without Parsoid:

image.png (326×104 px, 4 KB)

Viewed with Parsoid (normal page view):
image.png (405×97 px, 9 KB)

Viewed with Parsoid (page preview):
image.png (327×126 px, 5 KB)