Page MenuHomePhabricator

Group Toolbox portlet links by topic
Open, Needs TriagePublicFeature

Description

Right now basically every portlet link in the toolbar is just grouped under the "general" heading. This makes navigating to the correct link a bit annoying. Could these be grouped into tabs based on their functionality?

Happy to do this myself, if someone can tell me where I can find the code that adds the links. Searching for uses of "addPortletLink" only returned mediawiki/resources/src/mediawiki.page.ready/toggleAllCollapsibles.js, surprisingly.

Event Timeline

@JScherer-WMF This sounds like a design decision that might require your attention and help in triaging. Thanks!

Oh, no worries, I don't want to waste any of their time! They should probably be working on something more useful than adding section headers :)

Maybe the toolbox tools could sorted into tabs that look like this:

  1. Actions
    1. Expand all
  2. This user
    1. Contributions
    2. Logs
    3. View user groups
    4. Email
    5. Mute
  3. This page
    1. What links here
    2. Related changes
    3. Page information
    4. Edit interlanguage links
  4. Print/export
    1. Download as PDF
    2. Print page
  5. Share
    1. Permanent link
    2. Get shortened URL
    3. Download QR code
    4. Cite this page
  6. Citation help (only appears if one of these is enabled under "Gadgets")
    1. ReFill
    2. Citation bot

The menu contents is mostly community maintained via MediaWiki:Sidebar page.

The menu contents is mostly community maintained via MediaWiki:Sidebar page.

That seems to handle the left sidebar, but not the assignment of toolbar links to different tabs on the right-hand side? Or at least it looks that way in enwiki's settings—there's nothing listed under TOOLBAR. But I might be wrong.

The menu code is relatively convoluted, links outside the Sidebar are arranged typically by order of execution and by the extension adding the link.

T333211: Reconsider position of special pages link, currently in the page tools for which a patch is welcome, might be a good undertaking to make progress in this area and give you an understanding of the challenges of moving just one link if you are interested!