List of steps to reproduce (step by step, including full links if applicable):
- Pages should not have table of contents in preview mode (just like the view mode as per T295003)
What happens?:
For some reason, the table of contents are coming up on Wikivoyage on preview mode, which is not usually normal. The affected language versions (for example) are: en:voy, fr:voy, ru:voy.
it:voy is not affected, although apparently the template looks equivalent.
Compare the preview mode of the following two pages:
- en:voy: https://en.wikivoyage.org/w/index.php?title=Emilia-Romagna&action=edit
- it:voy: https://it.wikivoyage.org/w/index.php?title=Emilia-Romagna&action=edit
What should have happened instead?:
The table of contents should have been restricted to the pagebanner
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
- Discussion happening on https://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Unwanted_tables_of_contents
QA steps
beta cluster
Visit https://en.wikivoyage.beta.wmflabs.org/wiki/Bannerda?action=edit and click "show preview" button
Expected: The vertical table of contents should not be present in the page. It should be present inside the banner image at the top of the page as a horizontal bar.
WRONG | CORRECT | |
Production
Visit https://en.wikivoyage.org/w/index.php?title=Emilia-Romagna&action=edit & press "Show preview" button.
Expected: The vertical table of contents should not be present in the page. It should be present inside the banner image at the top of the page as a horizontal bar.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T295632#7577707 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T295632#7577712 |