Page MenuHomePhabricator

Attempting edit of section whose heading is rendered from a template opens editor for template, not for section
Open, Needs TriagePublicBUG REPORT

Description

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

  • Create page Template:H, with content:
== {{{1}}} ==
  • Create page Test, with content:
{{h|Test section}}
Some test text.
  • After saving the page, attempt to edit the section by clicking the [edit] link alongside it. (Note that the hover text for that link will show "Edit section: Test section".)
  • Observe that the editor page opened is for the template, not for the section.

What happens?:
The editor page opened is for the template, not for the section.

What should have happened instead?:
The editor page opened should have been for the section.

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

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