Page MenuHomePhabricator

Special:GlobalRenameQueue should not use mediawiki ui, should use tabs
Closed, ResolvedPublicBUG REPORT

Description

https://en.wikipedia.org/wiki/Special:GlobalRenameQueue/open incorrectly uses mw-ui-button-group to create a set of tabs at the top of the page.

Screenshot 2023-09-27 at 10.06.46 AM.png (134×423 px, 12 KB)

Screenshot 2023-09-27 at 10.06.55 AM.png (68×778 px, 25 KB)

SpecialPage's support tabs natively (See https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralNotice/+/934428 as an example of how to implement this)

Event Timeline

Change 962100 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/CentralAuth@master] SpecialGlobalRenameQueue: Swap 'mw-ui-button-group' nav to tabs/breadcrumbs

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

Change 962100 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] SpecialGlobalRenameQueue: Swap 'mw-ui-button-group' nav to tabs/breadcrumbs

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

Thanks for the patch @matmarex, here's some notes from my testing - note the blue/gray buttons in Timeless, legacy Vector are now regular links which do not display the selected tab but they are using the standard mechanism for registering these types of pages. A future patch if needed could restore the styling for this page and other pages but I'm going to assume YAGNI unless told otherwise.

Before:

http://localhost:8888/wiki/Special:GlobalRenameQueue/closed?useskin=vector-2022

Screenshot 2023-10-02 at 4.20.49 PM.png (226×719 px, 29 KB)

http://localhost:8888/wiki/Special:GlobalRenameQueue/closed?useskin=timeless
Screenshot 2023-10-02 at 4.21.49 PM.png (440×1 px, 97 KB)

After patch

Screenshot 2023-10-02 at 4.23.07 PM.png (204×829 px, 28 KB)

Screenshot 2023-10-02 at 4.22.31 PM.png (430×1 px, 93 KB)