Page MenuHomePhabricator

Exploratory testing on PHP 8.3 for MediaWiki authentication stack: Central session
Closed, ResolvedPublic

Description

See T402597: Exploratory testing on PHP 8.3 for MediaWiki Platform Team components for context. T384232: QA for SUL3 on testwikis has more info on some checklist items.

Central session

  • after login or signup, user should be logged in on other registrable domains (on browsers which don't block 3rd-party cookies)
  • "keep me logged in" state is transferred correctly
  • after deleting cookies on a given domain, centrally logged-in user should autologin (on browsers which don't block 3rd-party cookies)
  • after deleting cookies on a given domain and setting CentralAuthAnon=1 cookie, centrally logged-in user should autologin when clicking login link
  • after temp user creation, temp user should be logged in on other registrable domains, with "keep me logged in" set (on browsers which don't block 3rd-party cookies)
  • after deleting cookies on a given domain, centrally logged-in temp user should autologin (on browsers which don't block 3rd-party cookies)
  • after deleting cookies on a given domain and setting CentralAuthAnon=1 cookie, centrally logged-in temp user should autologin when clicking login link
  • logout clears the centralauth_* cookies on registrable domains other than the current one

Event Timeline

  • after temp user creation, temp user should be logged in on other registrable domains, with "keep me logged in" set (on browsers which don't block 3rd-party cookies)

This is not working, but it's not working on PHP 8.1 either. Filed T403898: Edge login does not work for temporary accounts.

  • after deleting cookies on a given domain and setting CentralAuthAnon=1 cookie, centrally logged-in temp user should autologin when clicking login link

This is not working, but it's not working on PHP 8.1 either. Filed T403899: Top-level autologin does not fully work for temporary accounts.

  • logout clears the centralauth_* cookies on registrable domains other than the current one

Also not working on 8.1 either. That's T226736: "Logging you out from other wikis of the Wikimedia Foundation:" and interwiki icons do not appear when clicking on "Log out" on the English Wikipedia.