Page MenuHomePhabricator

Empty Actions menu is shown in the page toolbar on larger viewports
Open, In Progress, MediumPublic

Description

Background

Actions menu is empty on larger screen sizes when you are logged in, and it just shows the label. on smaller screen sizes the menu items appear as normal.

This is because all the common actions are already in the nav. Only moderators with special rights will see actions in the menu like move, delete etc. we would need a special logic to not show actions label when there are no actions

Screenshot 2026-07-13 at 2.19.42 PM.png (998×638 px, 103 KB)

Requirements

The "Actions" label isnt shown if there are no action menu items in the page tools menu

Acceptance criteria

QA strategy

  • Test the "Actions" menu on all viewports
  • Test the "Actions" menu logged in as a moderator (Has move, delete, etc)
  • Test the "Actions" menu as a logged out user and logged in user
  • Test other menus like "views"
  • Run pixel

Event Timeline

I have submitted a patch for this task to hide the actions menu in the page tools if it is empty
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/1310651

Change #1310669 had a related patch set uploaded (by Zaidusyy; author: Zaidusyy):

[mediawiki/skins/Vector@master] Page tools: Hide empty Actions menu on desktop

https://gerrit.wikimedia.org/r/1310669

Zaidusyy changed the task status from Open to In Progress.Tue, Jul 14, 9:54 PM
Zaidusyy subscribed.

Ah, I was working on this at the same time and didn't see it was claimed! I've uploaded an alternative patch (1310669) that takes a responsive CSS approach (vector-menu--collapsible-only) to ensure the menu is only hidden on desktop breakpoints, preventing the 'Views' items from disappearing on mobile.

HFan-WMF triaged this task as Medium priority.Tue, Jul 28, 12:31 AM
HFan-WMF moved this task from Incoming to Backlog on the Reader Experience Team board.