Page MenuHomePhabricator

MediaWiki:Gadget-modrollback.js gadget blocks clicking Cancel and Rollback links in Rollback confirmation in Special:Preferences on ckb.wikipedia
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
The option let us to confirm rollback edits as sometimes we accidentally click or tap the rollback links.
After enabling it and clicking/tapping on a rollback link, we will see Cancel and Rollback links, but the system don't let us to choose one of them and reloads the page without reverting the edits.

What should have happened instead?:
The system must wait to let me think and click on Cancel or Rollback link. After confirming, it should revert the edits and reload the page.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Browser: Google Chrome
Version: 118.0.5993.118 (Official Build) (64-bit)

Event Timeline

Aklapper renamed this task from A rollback option in the Special:Preferences doesn't work as we expected to Rollback confirmation popup dialog in Special:Preferences does not allow clicking its Cancel and Confirm links.Oct 29 2023, 3:34 PM

Steps to replicate the issue

@Aram: Those are not steps to replicate a problem but only two links. Steps like "enable it" and "clicking/tapping on a rollback link" are steps to replicate and not "what happens". In the future, please provide complete steps - thanks!

Steps to replicate the issue

@Aram: Those are not steps to replicate a problem but only two links. Steps like "enable it" and "clicking/tapping on a rollback link" are steps to replicate and not "what happens". In the future, please provide complete steps - thanks!

@Aklapper, Thanks for the explanation, but I think I explained the problem as much as I could. I wasn't even able to take screenshots because the links would appear and disappear quickly. There is no such thing as a pop-up dialog. I can say it’s like when you want to thank someone for their edits.

Aklapper renamed this task from Rollback confirmation popup dialog in Special:Preferences does not allow clicking its Cancel and Confirm links to Rollback confirmation in Special:Preferences does not allow clicking its Cancel and Confirm links.Oct 29 2023, 7:29 PM

@Aram, on which wiki?

@Ammarpad, I noticed on https://ckb.wikipedia.org, but I think the option also affects other (WMF) projects.

Aklapper renamed this task from Rollback confirmation in Special:Preferences does not allow clicking its Cancel and Confirm links to Rollback confirmation in Special:Preferences on ckb.wikipedia does not allow clicking its Cancel and Confirm links.Nov 13 2023, 12:19 PM

@Aram: It would be really helpful to have full links to the web page that allows others to see a problem (if it happens on ckb.wp there are zero links here to ckb.wp), and full steps to reproduce (there are zero steps in this ticket, instead there are actions mangled into "what happens?" section where they do not belong), and to test this in safemode (see https://www.mediawiki.org/wiki/Help:Locating_broken_scripts ). Thanks.

@Aklapper, Thank god! Finally, I could found that script responsible for this problem. It is https://www.mediawiki.org/wiki/MediaWiki:Gadget-modrollback.js. Looks like a global gadget. After blocking this gadget from DevTools, the problem is totally gone. After googling, I found more WMF projects importing this gadget. So, there is a conflict between this gadget and the Mediawiki option I have talked about on this ticket already.

Aklapper renamed this task from Rollback confirmation in Special:Preferences on ckb.wikipedia does not allow clicking its Cancel and Confirm links to MediaWiki:Gadget-modrollback.js gadget blocks clicking Cancel and Confirm links in Rollback confirmation in Special:Preferences on ckb.wikipedia.Nov 27 2023, 3:55 PM
Aram renamed this task from MediaWiki:Gadget-modrollback.js gadget blocks clicking Cancel and Confirm links in Rollback confirmation in Special:Preferences on ckb.wikipedia to MediaWiki:Gadget-modrollback.js gadget blocks clicking Cancel and Rollback links in Rollback confirmation in Special:Preferences on ckb.wikipedia.Nov 27 2023, 3:59 PM
Aram updated the task description. (Show Details)