Page MenuHomePhabricator

Unable to edit pages on Mediawiki namespace on 1.47.0-wmf.4, redirects to Verify your Identity page
Closed, ResolvedPublicBUG REPORT

Description

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

This happens only on knwikisource, I am able to edit mediawiki namespace pages on knwikipedia

What happens?:

What should have happened instead?:

  • user should be redirected to edit window

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Aklapper renamed this task from Unable to edit Mediawiki pages on Kannada Wikisource to Unable to edit pages on Kannada Wikisource, redirects to Verify your Identity page.May 27 2026, 2:31 PM

Same cross-domain security-level desync hits Special:BotPasswords, securitySensitiveOperationStatus() loops indefinitely. Logstash shows other reauth loops too.

Looks like Gerrit 1285894 should fix all of these.

Anoop renamed this task from Unable to edit pages on Kannada Wikisource, redirects to Verify your Identity page to Unable to edit pages on Mediawiki namespace on Kannada Wikisource, redirects to Verify your Identity page.May 27 2026, 2:36 PM

Just to confirm: this does not appear to be affecting all wikis. When I try similar actions on enwiki, the reauth prompts work as expected for me.

Just to confirm: this does not appear to be affecting all wikis. When I try similar actions on enwiki, the reauth prompts work as expected for me.

That's because enwiki is still on 1.47.0-wmf.3. Once enwiki rolls to wmf.4, I believe it will break there too.

RhinosF1 raised the priority of this task from High to Unbreak Now!.May 27 2026, 3:35 PM

Just to confirm: this does not appear to be affecting all wikis. When I try similar actions on enwiki, the reauth prompts work as expected for me.

That's because enwiki is still on 1.47.0-wmf.3. Once enwiki rolls to wmf.4, I believe it will break there too.

This feels like it should block the train from proceeding then

Local reauthentication is broken, reauthentication on auth.wikimedia.org (e.g. when you try to change your password) works. Suggests an issue with CentralAuth setting the LOGIN_WAS_INTERACTIVE flag.

Looks like Gerrit 1285894 should fix all of these.

Possibly, but it's not something I anticipated as being needed (there are some ways in which reauth would work weirdly in the time between gerrit 471664 and that patch, but in theory it should still work) and not something I'd like to try to roll out in a rush. There is probably a much simpler fix (or worst case we can just revert the core changes).

Probably unrelatedly, automatically starting local login (rather than showing an interstitial with a single button) is also broken.

Change #1294328 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/core@master] auth: Mark the hidden token field used for reauth as skippable

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

Tgr renamed this task from Unable to edit pages on Mediawiki namespace on Kannada Wikisource, redirects to Verify your Identity page to Unable to edit pages on Mediawiki namespace on 1.47.0-wmf.4, redirects to Verify your Identity page.May 27 2026, 4:49 PM

I'm looping on pl.wikimedia.org too. No way to edit JS.

obraz.png (967×448 px, 42 KB)

Confirmed that loginWasInteractive is being set to false in the token store when returning from the central domain.

As a temporary workaround, you can append &usesul3=0 to the URL on the interstitial page with the "Central login" button.

As a temporary workaround, you can append &usesul3=0 to the URL on the interstitial page with the "Central login" button.

this worked for me https://kn.wikisource.org/w/index.php?title=ಮೀಡಿಯವಿಕಿ:Gadget-charinsert-core.js&oldid=323043

Change #1294368 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/extensions/CentralAuth@master] Fix lastAuthTimestamp hack

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

Change #1294368 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Fix lastAuthTimestamp hack

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

Change #1294328 merged by jenkins-bot:

[mediawiki/core@master] auth: Mark the hidden token field used for reauth as skippable

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

Change #1294375 had a related patch set uploaded (by Catrope; author: Gergő Tisza):

[mediawiki/core@wmf/1.47.0-wmf.4] auth: Mark the hidden token field used for reauth as skippable

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

Change #1294376 had a related patch set uploaded (by Catrope; author: Gergő Tisza):

[mediawiki/extensions/CentralAuth@wmf/1.47.0-wmf.4] Fix lastAuthTimestamp hack

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

Change #1294376 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@wmf/1.47.0-wmf.4] Fix lastAuthTimestamp hack

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

Change #1294375 merged by jenkins-bot:

[mediawiki/core@wmf/1.47.0-wmf.4] auth: Mark the hidden token field used for reauth as skippable

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

Mentioned in SAL (#wikimedia-operations) [2026-05-27T18:45:54Z] <catrope@deploy1003> Started scap sync-world: Backport for [[gerrit:1294376|Fix lastAuthTimestamp hack (T427398)]], [[gerrit:1294375|auth: Mark the hidden token field used for reauth as skippable (T427398)]]

Mentioned in SAL (#wikimedia-operations) [2026-05-27T18:47:45Z] <catrope@deploy1003> catrope: Backport for [[gerrit:1294376|Fix lastAuthTimestamp hack (T427398)]], [[gerrit:1294375|auth: Mark the hidden token field used for reauth as skippable (T427398)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-05-27T18:53:36Z] <catrope@deploy1003> Finished scap sync-world: Backport for [[gerrit:1294376|Fix lastAuthTimestamp hack (T427398)]], [[gerrit:1294375|auth: Mark the hidden token field used for reauth as skippable (T427398)]] (duration: 07m 41s)

Catrope assigned this task to Tgr.

I can confirm it works on pl.wm, thanks.