HomePhorge

Create an autocreate log when a temporary account is created on edit

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Create an autocreate log when a temporary account is created on edit

Why:

  • When a temporary account is created on edit, no log entry is visible on Special:Log to indicate that the temporary account exists.
  • No log is specifically set through the call to AuthManager ::autoCreateUser having the $log parameter set always to false. This was set in e8dbf5f80c029c4be52f1afd4ef91c59cfcd1185 which was the commit that created the code to create temporary accounts.
  • No specific reason was provided to not create a log and in T357498 there is a request to add this log.

What:

  • Remove the false argument for $log to AuthManager ::autoCreateUser in TempUserCreator::attemptAutoCreate.
  • Update the integration tests to verify that an autocreate log is added when a temporary user is successfully created.

Bug: T357498
Change-Id: Icf6be65a91437aa32684769c2858262a06ad0416

Details

Provenance
Dreamy JazzAuthored on Jun 26 2024, 12:46 PM
Kosta HarlanCommitted on Jul 4 2024, 7:43 AM

Event Timeline

Kosta Harlan <kharlan@wikimedia.org> committed rMWc81f5b81e321: Create an autocreate log when a temporary account is created on edit (authored by Dreamy Jazz <wpgbrown@wikimedia.org>).Jul 4 2024, 7:43 AM

Commit No Longer Exists

This commit no longer exists in the repository.