Page MenuHomePhabricator

[Maintenance request] CentralNotice should not use SkinTemplateNavigation hook to add special page tabs
Open, Needs TriagePublic4 Estimated Story PointsFeature

Description

Feature summary (what you would like to be able to do and where):

Special:CentralNotice currently replaces the namespaces tabs on its special pages with 2 links via hook. In the future this will not be supported.
This is the hook in question:
https://gerrit.wikimedia.org/g/mediawiki/extensions/CentralNotice/+/2f02da42d990f4e5596c643721aaf18450482d38/extension.json#315

The links in question look like this:

Screen Shot 2022-08-18 at 3.11.32 PM.png (164×1 px, 24 KB)

In T313349 we made it possible for special pages to register menus. This will soon be added to Minerva and Vector 2022 skins.
Please see example link here:
https://gerrit.wikimedia.org/r/c/816211

TODO