Page MenuHomePhabricator

Remove unused jquery.mw-jump module
Closed, ResolvedPublic

Description

In T195256: Implement accessibility jump links with pure CSS in 1.32, the jquery.mw-jump module was removed as a dependency of mediawiki.page.ready in favor of having individual skins be responsible for handling any jump links with the suggestion to use pure css instead of the javascript module.
Per codesearch, it is not used anywhere. Can we drop it? And if so, do we need a period with deprecation warnings first?

Details

Related Changes in Gerrit:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This module is one of hundreds stored in the MediaWiki repository, but it is not part of the ResourceLoader library. See also the Phabricator description for MediaWiki-ResourceLoader.

This module is one of hundreds stored in the MediaWiki repository, but it is not part of the ResourceLoader library. See also the Phabricator description for MediaWiki-ResourceLoader.

Woops, sorry. Tagged out of habit for my other patches dealing with trying to help with RL cleanup and removal of unneeded code.

Change 723640 had a related patch set uploaded (by DannyS712; author: DannyS712):

[mediawiki/core@master] Remove unused `jquery.mw-jump` module

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

Selector mw-jump is still used by a few skins. And documentation in MW core is also still referring to it.
This should at minimum have an entry in RELEASE-NOTES and best-possibly get the core static files updated.

Selector mw-jump is still used by a few skins. And documentation in MW core is also still referring to it.
This should at minimum have an entry in RELEASE-NOTES and best-possibly get the core static files updated.

The class is used, but where do they load the module?

Selector mw-jump is still used by a few skins. And documentation in MW core is also still referring to it.
This should at minimum have an entry in RELEASE-NOTES and best-possibly get the core static files updated.

The class is used, but where do they load the module

Right, but the class was there mainly for the functionality.

Change 723640 merged by jenkins-bot:

[mediawiki/core@master] Remove unused `jquery.mw-jump` module

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