User Details
- User Since
- Oct 30 2024, 11:26 PM (84 w, 1 d)
- Availability
- Available
- IRC Nick
- SomeRandomDev
- LDAP User
- SomeRandomDeveloper
- MediaWiki User
- SomeRandomDeveloper [ Global Accounts ]
Yesterday
Different error:
Wed, Jun 10
Is this error still occurring?
Tue, Jun 9
Mon, Jun 8
Fri, Jun 5
Seems to be fixed, thanks @Esanders!
Wed, Jun 3
@lihaohong can this be closed?
I'm fine with that as well, I'll update my patch.
Tue, Jun 2
That change was deployed 11 months ago though, and I've only noticed the bug very recently (in the last two weeks). It's also possible that I missed it before though, did anybody else ever notice this bug?
Removing good first task as this is clearly not uncontroversial.
Sat, May 30
Thu, May 28
Wed, May 27
Tue, May 26
First, as the response message is an error report, it should be wrapped in a ⚠️ yellow warning similar to the redirect errors:
Sat, May 23
The same will have to be done for ApiDiscussionToolsEdit, which calls action=visualeditoredit internally.
(tagging VisualEditor as this is related to VE, and Product Safety and Integrity as the config code was added in T423252: Enable VisualEditor hCaptcha on testwiki)
I think the captcha issue was actually caused by https://gerrit.wikimedia.org/g/operations/mediawiki-config/+/66a3710620a8693b7c3666e0584a7c7d042e75a5/wmf-config/CommonSettings.php#2226 (AFAICT the code controls whether hCaptcha or FancyCaptcha is used, and the task description of T426751 also says "Sometimes I also see an hCaptcha challenge that I have to complete before I see the FancyCaptcha challenge."). The action parameter will be overwritten in the DerivativeRequest and is therefore no longer visualeditoredit (what the config code checks for) but edit. To fix this, we would need some other way to detect whether the current edit is a VE edit...
Thu, May 21
Wed, May 20
https://gerrit.wikimedia.org/r/c/labs/codesearch/+/1267343 will allow implementing this option.
I didn't have the time yet to submit a patch for this task, but I probably will eventually. Not claiming for now in case somebody else wants to
This fix should've been deployed through the train last week, are there still any errors?
Not actively working on this right now because using edit constraints in more places would make the ongoing EditPage/PageEdit refactoring more complicated. Removed patch-welcome for the same reason. I will pick this task up again at some point if no one else does until then.
The patch I uploaded was one of the first MediaWiki patches I ever made, and I don't quite like the approach I took (and it has conflicts as well). Unassigning myself as I'm not actively updating the patch and I don't want to block the implementation of this improvement.
Thank you!
At some point, T157658: Factor out a backend from EditPage will also hopefully replace the use of a DerivativeRequest in VE and other extensions, as it will be using PageEdit directly instead of calling action=edit internally. This bug still needs to be fixed though.
Since the patch that initially caused this bug has been reverted, the checkbox should be fixed with the train next week. Created T426894: Fix discrepancy between $wgRequest and the main context request in ApiEditPage to track follow-up fixes in ConfirmEdit/ApiEditPage.
