Page MenuHomePhabricator

Merge the 'collapsibletabs' component of Vector extension into the Vector skin
Closed, ResolvedPublic


(Split from bug 45051.)

Considered stable, enabled on WMF wikis and not configurable. This is really
a workaround to the issue that Vector's layout breaks down on smaller screen
resolutions (bug 44386), but a useful and reasonably neat one, so it should
be kept.

Version: 1.21.x
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:15 AM
bzimport set Reference to bz46513.

CollapsibleNav is somewhat limited in its application; only the history tab is classed 'collapsible'. I have since made a gadget to collapse entire groups at will (see [[:en:Mediawiki:Gadget-MenuTabsToggle.js]] and CSS). The only work it needs is to make it touch-compatible (being worked on at [[:en:User:Edokter/MenuTabsToggle.js]]).

Luis Felipe Schenone expressed interest in working on this, and there's a (WIP) patch on gerrit: I7bd77e6e.

Erwin, everything that's needed to make more (or different) tabs collapsible in the same way is simply adding those classes to them (even dynamically); the script is quite (surprisingly ;) ) well-written and will handle it perfectly. Your gadget is interesting, but it seems to solve a different use-case.

Copied from gerrit:

This seems to be causing a performance problem in beta labs where the collapsible tabs take significant time to appear to users. See the screen shot at the bottom of the page at