GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
  • MediaWiki-extensions-Poem
  • (Backlog)
  • MediaWiki-Parser

This view

  • Original page
  • New address

GeezerVison is showing phabricator.wikimedia.org — T392972 Cannot substitute templates between <poem> tags

Page MenuHomePhabricator
Log In
Create Task
Maniphest T392972

Cannot substitute templates between <poem> tags
Closed, DuplicatePublicBUG REPORT
Actions

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Related Objects...
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
Assigned To
None
Authored By
Bugreporter2
Apr 30 2025, 4:30 AM2025-04-30 04:30:33 (UTC+0)
Project Tags
  • MediaWiki-extensions-Poem (Backlog)
  • MediaWiki-Parser (Backlog)
Referenced Files
None
Subscribers
Aklapper
Bugreporter2
Umherirrender

Description

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

  • Go to a sandbox
  • Write a nice poem - don't forget to use <poem> tags!
  • Try to substitute a template into the poem, perhaps one that might help with formatting of said poem, such as {{subst:em dash}}

What happens?:

MediaWiki doesn't substitute the template, ignores the template and treats it as plain text, like:

{{subst:em dash}}

What should have happened instead?:

The template should've been substituted.

Note that the template works fine if you don't substitute it.

Software version:

1.43

Related Objects

  • Mentions
Mentioned Here
T4700: Pre-save transform skips extensions using wikitext (gallery, references, footnotes, Cite, status indicators, pipe trick, subst, signatures)

Event Timeline

Bugreporter2 created this task.Apr 30 2025, 4:30 AM2025-04-30 04:30:33 (UTC+0)
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 30 2025, 4:30 AM2025-04-30 04:30:33 (UTC+0)
Bugreporter2 awarded a token.Apr 30 2025, 4:31 AM2025-04-30 04:31:24 (UTC+0)
Bugreporter2 updated the task description. (Show Details)
Bugreporter2 updated the task description. (Show Details)Apr 30 2025, 5:05 AM2025-04-30 05:05:21 (UTC+0)
Bugreporter2 added a project: MediaWiki-Parser.Apr 30 2025, 5:07 AM2025-04-30 05:07:38 (UTC+0)
Bugreporter2 updated the task description. (Show Details)Apr 30 2025, 5:51 AM2025-04-30 05:51:13 (UTC+0)
Umherirrender subscribed.Apr 30 2025, 4:41 PM2025-04-30 16:41:08 (UTC+0)
Comment Actions

You can use a subst:#tags to generate the wikitext, because all parser tags not running pre-save transform to substitute templates and other stuff:

{{subst:#tag:poem|{{subst:em dash}}}}

T4700: Pre-save transform skips extensions using wikitext (gallery, references, footnotes, Cite, status indicators, pipe trick, subst, signatures)

Umherirrender closed this task as a duplicate of T4700: Pre-save transform skips extensions using wikitext (gallery, references, footnotes, Cite, status indicators, pipe trick, subst, signatures).Apr 30 2025, 4:41 PM2025-04-30 16:41:24 (UTC+0)
Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.