wiki.techinc.nl/tests
Kosta Harlan 9d3de690e0 Use anonymous user when creating named account from temp account
Why:

- Using an anonymous user object at the start of account creation helps
  ensure that downstream code paths do not record the association
  between a temporary account and a named account

What:

- Use an anonymous user object during account creation initiated by
  temp account users
- Update the session to use the anonymous user and set the request
  context user based on the session user
- Ensure the temp account username is removed from the session, to avoid
  issues where account creation fails and code thinks that a temporary
  account username is already defined for the session
- Add a test to exercise this code path

Bug: T393628
Change-Id: I6d2df8c1d842c4fefa916ed395479f479a0051eb
(cherry picked from commit 3d80e63f109834b90a83597d6d924895b2c6ae71)
2025-05-29 12:06:33 +00:00
..
api-testing block: Fix DBS::acquireTarget() race using GET_LOCK() 2025-04-07 11:43:34 +00:00
common SECURITY: Message: Don’t call is_callable() on strings 2024-10-26 21:41:52 +00:00
jest mediawiki.special.block: "Editing their own talk page" is inverted 2024-10-21 09:42:47 -07:00
parser SECURITY: Ensure emitted HTML is safe against Unicode NFC normalization 2025-04-10 15:56:06 +01:00
phan Add @phan-mandatory-param for function name arguments 2024-09-20 16:23:17 +00:00
phpunit Use anonymous user when creating named account from temp account 2025-05-29 12:06:33 +00:00
qunit mw.jqueryMsg: Allow complex expressions in parser functions' first param 2024-11-12 14:21:26 +00:00
selenium selenium: Fix 'Page should be editable' 2024-10-08 15:06:39 +00:00
uidesign
.htaccess In .htaccess deny files, use "Satisfy All" 2025-04-04 13:17:15 +00:00