Page MenuHomePhabricator

unable to lock accounts on the mobile site
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:

Can use: https://meta.m.wikimedia.org/wiki/Special:CentralAuth?target=I+got+a+Big+Black+You+Know+What as an example.

Click on a link in irc on my phone, taken to central auth to lock, set the account to lock, choose the reason, click the big blue button that says 'set status', and being redirected to the desktop site
On the desktop site it greets me with: central login please reload
I reload, and it takes me back to the mobile site!

Effectively putting me in a loop

Actual Results:
Logging loop

Expected Results:
Lock the bad account

Event Timeline

@Matanya this is the first time I've seen this ticket.

I am not familiar with CentralAuth and It looks like this extension is unmaintained https://www.mediawiki.org/wiki/Developers/Maintainers so unfortunately at the current time, probably no team is looking at this.

See also T252244 (:-()

@Jdlrobson you triaged this two years ago :)

Thanks for your comment, I was quite sure this is a UI problem, and not a real problem in the extension. If it is in the extension, well - I lost hope here. Maybe if I will add this to the steward board it might be picked up one day.

@Matanya so I did. I presume the issue is somewhere inside the CentralAuth code, or perhaps the varnish layer? I wouldn't know where to start though. Sorry I can't be more help :-(

As a stab in the dark, I notice none of the CentralAuth ResourceLoader modules set redirect code, so perhaps that needs to be loaded (related T235712)?

"targets": [
                               "mobile",
                               "desktop"
                       ]
TheresNoTime subscribed.

I can (mostly) replicate this on the beta cluster, though this is using a desktop PC and "forcing" the use of the mobile domain:

image.png (821×1 px, 55 KB)

  • Click "Set status"
  • You are redirected to the desktop version of the site, and presented with the error Sorry, we could not process your form submission due to a loss of session data.

image.png (583×816 px, 34 KB)

  • The account is not locked
pmiazga subscribed.

Looks like this shouldn't be an issue any more due to recent changes in CentralAuth and mobile domain handling. I'll test it and resolve.

@pmiazga reached out to me about this task. I tried it out, and the result is available as https://people.wikimedia.org/~urbanecm/screencasts/T256185.webm. It seems to work now (likely because we have now removed the .m. domain).

@TheresNoTime, in case you can reproduce this still somehow.

Lets close it for now. In case it's still broken, please reopen the ticket.