Hi,

With "DevelopmentSettings: Enable temp user autocreation" (
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1035037), we have enabled
temporary account autocreation for anonymous edits by default when
DevelopmentSettings.php is loaded. The goal is to bring wider exposure of
the feature to developers, to help with identifying problems not currently
known about. If you encounter issues related to anonymous editing and
temporary accounts, please file a task with the #Temporary accounts tag.

If you load DevelopmentSettings.php and would like to disable the temp
accounts autocreation feature, set $wgAutoCreateTempUser['enabled'] = false;
in your LocalSettings.php.

Thanks,
Kosta

On 18. Jul 2024 at 05:23:52, Szymon Grabarczuk <sgrabarc...@wikimedia.org>
wrote:

> Greetings,
>
> This patch[0] sets the default configuration in Wikimedia CI to enable the
> temporary accounts feature.[1] This means: PHPUnit, Selenium, API-Testing,
> and QUnit tests run in an environment where temporary account autocreation
> is enabled.
>
> ## Why?
>
> Next week, the Trust and Safety Product team is deploying the temporary
> accounts feature to testwiki.[2] Later this year, we will move forward with
> deploying to other production wikis. By enabling temporary accounts in CI,
> we increase the likelihood that new code works smoothly with the temporary
> accounts feature.
>
> ## What do I need to do?
>
> This time, nothing. All MediaWiki core, extension and skins tests pass,
> whether temporary accounts are enabled or disabled.[3]
>
> For new PHPUnit tests, please make use of `TempUserTestTrait` to disable
> the temporary accounts feature for tests that make assertions specifically
> about anonymous IP editing.
>
> We also recommend that you enable temporary accounts in your local
> development environment by adding `$wgAutoCreateTempUser['enabled'] =
> true;` to your LocalSettings.php.
>
> ## Questions?
>
> Please contact us[4] or file a task on Phab and tag it with “#Temporary
> accounts”.
>
> [0] https://gerrit.wikimedia.org/r/c/mediawiki/core/+/980947
>
> [1]
> https://www.mediawiki.org/wiki/Trust_and_Safety_Product/Temporary_Accounts/For_developers#How_should_I_update_my_code,
> https://www.mediawiki.org/wiki/Help:Temporary_accounts
>
> [2] https://phabricator.wikimedia.org/T348895
>
> [3] https://phabricator.wikimedia.org/T355879
>
> [4]
> https://www.mediawiki.org/wiki/Talk:Trust_and_Safety_Product/Temporary_Accounts
>
> Cheers,
>
> Kosta & Thalia, Trust and Safety Product
>
>
> and
>
>
> Szymon Grabarczuk (he/him)
>
> Lead Movement Communications Specialist
> (Product & Tech)
>
> Wikimedia Foundation <https://wikimediafoundation.org/>
> _______________________________________________
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to