Page MenuHomePhabricator

RevisionSlider overwrites Twinkle shortcuts
Closed, ResolvedPublic

Description

It seems that in some cases the RevisionSlider bar overwrites the Twinkle-Gadget[1] shortcuts on the diff view.

Since the gadget is meant to support volunteers who do a lot of maintenance we might want to look into that.

Via user feedback on https://www.mediawiki.org/wiki/Topic:U1n5de5ybdkpiglt

[1] https://en.wikipedia.org/wiki/Wikipedia:Twinkle

Event Timeline

This is https://github.com/azatoth/twinkle/issues/360. The issue is probably straightforward enough to fix - the real sticking point is that there appears to be a total absence of documentation about frontend JS hooks. I filed T164570: Improve documentation of JS hooks and other MediaWiki JavaScript features some time ago but no action has been taken. It would be really great if TCB or another WMDE team could consider solving that task rather than this one. Then you will enable many script maintainers to be able to solve their own issues integrating with RevisionSlider.

I have submitted a PR to Twinkle that should fix the main issue here https://github.com/azatoth/twinkle/pull/407

@WMDE-Fisch there was a question to your pull request, can you look at it? Thanks :)

There's movement on the patch, so adding it as watching for the sprint.

The fix was applied and the issue was resolved on Github.