Context
Temporary accounts is a new editing paradigm in which anonymous editing results in a temporary account being created automatically for the user. This feature will roll out to testwiki in Q3 or Q4 FY23-24 and then to pilot wikis.
DevelopmentSettings: Enable auto creation of temp users is an example patch for tracking test status of the test pipeline when temp accounts flag is enabled. As we can see, there are failures in PHPUnit, Selenium, and API-testing tests when temp accounts feature flag is enabled.
Proposal
In this epic, we'll:
- fix test failures seen in PHPUnit, Selenium, QUnit, and API-testing tests when $wgAutoCreateTempUser['enabled'] = true;.
- Most of the work here is adjusting assumptions made in tests about anonymous editing
- In other cases, we need to update code that breaks when temporary accounts is enabled
Acceptance criteria
- CI for MediaWiki core and extensions has temporary accounts enabled
- PHPUnit, Selenium, and API-testing tests that run as part of the WMF gate and submit are passing when $wgAutoCreateTempUser['enabled'] = true;