Description
For pages where there is only one item/tab in the article toolbar/tab-bar we should hide the article toolbar/tab-bar. Example:
current | hidden |
---|---|
Open questions
Some gadgets show in that toolbar/tab-bar area on certain special pages (e.g. Twinkle). How do we want to handle this?
- Show the toolbar/tab-bar?
- Work with gadget authors to re-locate the position of the gadget on special pages?
QA steps
- Make sure no "Special page" tab shows on https://en.wikipedia.org/wiki/Special:RecentChanges
- Make sure a "Special page" tab shows on legacy Vector (https://en.wikipedia.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&hideWikibase=1&limit=50&days=30&enhanced=1&damaging__likelybad_color=c4&damaging__verylikelybad_color=c5&urlversion=2&useskin=vector)
- Visit https://en.wikipedia.beta.wmflabs.org/wiki/Special:Homepage and confirm 3 tabs are shown.
- For all the above page, inspect the DOM and check that these tabs are inside an element with ID p-associated-pages like so:
- Check https://en.wikisource.beta.wmflabs.org/wiki/Page:Human_Rights_Act_1998.pdf/13 and make sure the arrow tabs, page, discussion, image and index tabs are present