NOTE: if you have feedback on this feature you are invited to share it on https://www.mediawiki.org/wiki/Talk:Reading/Web/Desktop_Improvements. This task should only be used for discussing implementation.
NOTE: The tab can be restored with the following gadget/user script: `var sp = mw.config.get('wgCanonicalSpecialPageName'); if ( sp ) { mw.util.addPortletLink('p-associated-pages', mw.util.getUrl(sp), 'Special page' ); }`
=== 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
| -- | --
| {F35323172 width=600} | {F35323168 width=600}
=== 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?
{F35326853}
# 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:
{F35505968}
- 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
{F35505970}