Page MenuHomePhabricator

Pre-save transform applied to wrong page
Closed, ResolvedPublic

Description

When using TemplateSandbox's preview button, the pre-save transform is applied to the page being previewed, rather than the template used in the preview. If subst, the pipe trick, etc. are used in a template, this results in TemplateSandbox's output being wrong. Also, if the page being previewed contains recursively converting wikitext like at https://meta.wikimedia.org/wiki/Help:Recursive_conversion_of_wikitext , it will be shown as transforming (which is incorrect since that page won't be saved).


Version: unspecified
Severity: normal

Details

Reference
bz66084

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz66084.

Change 137343 had a related patch set uploaded by Anomie:
Apply PST to the correct page

https://gerrit.wikimedia.org/r/137343

Change 137343 merged by jenkins-bot:
Apply PST to the correct page

https://gerrit.wikimedia.org/r/137343