Page MenuHomePhabricator

Fix stuck old cookies on Wikitech
Closed, ResolvedPublic

Description

rOMWCfa8162eff032: wikitech: Remove $wgCookieDomain override changed the cookie domain for Wikitech and that means some users are now stuck with session cookies for both wikitech.wikimedia.org and .wikitech.wikimedia.org. We'll have to do a hook hack similar to rOMWCd2adfe5c30f8: CentralAuth: Fix wikisource.org cookie handling.

Event Timeline

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

[operations/mediawiki-config@master] Clear stuck session cookies on Wikitech

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

Change #1129845 merged by jenkins-bot:

[operations/mediawiki-config@master] Clear stuck session cookies on Wikitech

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

Mentioned in SAL (#wikimedia-operations) [2025-03-20T21:16:27Z] <tgr@deploy2002> Started scap sync-world: Backport for [[gerrit:1129845|Clear stuck session cookies on Wikitech (T389433)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-20T21:19:09Z] <tgr@deploy2002> tgr: Backport for [[gerrit:1129845|Clear stuck session cookies on Wikitech (T389433)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-03-20T21:36:59Z] <tgr@deploy2002> Finished scap sync-world: Backport for [[gerrit:1129845|Clear stuck session cookies on Wikitech (T389433)]] (duration: 20m 31s)

Tgr claimed this task.

Stuck cookies are cleared now. I didn't have a real session to test with, so I recreated the stuck cookies manually, which is somewhat fragile - if you are logged into Wikitech but haven't visited it in a few days, please check that it works for you. But for now I'm assuming this is fixed.

Change #1296563 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[operations/mediawiki-config@master] Remove workaround for stuck session cookies on Wikitech

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

Change #1296563 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove workaround for stuck session cookies on Wikitech

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

Mentioned in SAL (#wikimedia-operations) [2026-06-02T15:13:23Z] <dreamyjazz@deploy1003> Started scap sync-world: Backport for [[gerrit:1295502|Revert "labswiki: Disallow account autocreation"]], [[gerrit:1283106|Remove unused 'writeapi' right]], [[gerrit:1296566|Clean up bot password configuration]], [[gerrit:1296563|Remove workaround for stuck session cookies on Wikitech (T389433)]], [[gerrit:1295574|cswiki: lift IP cap for workshop on 08-June-2026 (T427678)]], [[gerrit:1296582|Us

Mentioned in SAL (#wikimedia-operations) [2026-06-02T15:15:10Z] <dreamyjazz@deploy1003> matmarex, anzx, dreamyjazz: Backport for [[gerrit:1295502|Revert "labswiki: Disallow account autocreation"]], [[gerrit:1283106|Remove unused 'writeapi' right]], [[gerrit:1296566|Clean up bot password configuration]], [[gerrit:1296563|Remove workaround for stuck session cookies on Wikitech (T389433)]], [[gerrit:1295574|cswiki: lift IP cap for workshop on 08-June-2026 (T427678)]], [[gerrit:1296582

Mentioned in SAL (#wikimedia-operations) [2026-06-02T15:22:37Z] <dreamyjazz@deploy1003> Finished scap sync-world: Backport for [[gerrit:1295502|Revert "labswiki: Disallow account autocreation"]], [[gerrit:1283106|Remove unused 'writeapi' right]], [[gerrit:1296566|Clean up bot password configuration]], [[gerrit:1296563|Remove workaround for stuck session cookies on Wikitech (T389433)]], [[gerrit:1295574|cswiki: lift IP cap for workshop on 08-June-2026 (T427678)]], [[gerrit:1296582|U