Page MenuHomePhabricator

Deprecate the `.menu` class
Closed, ResolvedPublic

Description

Per T249372#6147215

the deprecated class="menu" reserved for Legacy Vectors dropdown menus to become applied to all sidebar portlets, p-personal and tab areas in Legacy Vector and New Vector. Could this class be limited to a condition only enabled for Legacy Vector's dropdown menus?

Acceptance criteria

  • Only use the deprecated menu class on dropdown menus

sign off steps

  • Identify a plan for removing the .menu class altogether from the Vector codebase.

Event Timeline

Change 597849 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/Vector@master] Reduce distribution of legacy classes

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

^ seems like a pretty elegant solution to this problem.

Jdlrobson triaged this task as Medium priority.May 26 2020, 4:20 PM
Jdlrobson updated the task description. (Show Details)

Change 597849 merged by jenkins-bot:
[mediawiki/skins/Vector@master] Reduce distribution of legacy classes

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