[go: up one dir, main page]

Page MenuHomePhabricator

Vector 2022 TOC is in the wrong location when using TemplateSandbox to preview another page
Closed, ResolvedPublicBUG REPORT

Description

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

  • Add a template to a page which has the TOC shown
  • Open the edit page for the template
  • Enter the page with the TOC shown into the "Preview page with this template" input box
  • Press the button to preview

What happens?:
The preview shown has the TOC placed where it would be placed in legacy Vector.

What should have happened instead?:
The TOC should be in the usual place for Vector 2022, like it is for previewing a page with a TOC

Software version (skip for WMF-hosted wikis like Wikipedia):
enwiki

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

image.png (873×1 px, 187 KB)

(From Talk:Decolonization when previewing a change to Template:ArbCom Arab-Israeli editnotice)

Event Timeline

Dreamy_Jazz renamed this task from Vector 2022 TOC is not used when previewing template changes on another page to Vector 2022 TOC is in the wrong location and unstyled when previewing template changes on another page.Jan 15 2023, 6:09 PM
Dreamy_Jazz renamed this task from Vector 2022 TOC is in the wrong location and unstyled when previewing template changes on another page to Vector 2022 TOC is in the wrong location when using TemplateSandbox to preview another page.
Dreamy_Jazz updated the task description. (Show Details)

Sure. I will take a look in a few moments and see.

Change 883132 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/TemplateSandbox@master] Use skin-specific table of contents

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

Legoktm triaged this task as Medium priority.Jan 31 2023, 3:54 PM

Change 883132 merged by jenkins-bot:

[mediawiki/extensions/TemplateSandbox@master] Use skin-specific table of contents

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

Legoktm subscribed.

(I don't think this is backport worthy, please re-open if you disagree)