Scenario is as follows:
- Sign-up from the main page, but don't provide example translations
- Sign-up is rejected by an admin. The message says that one can try again.
Trying to sign-up again with the same name fails:
exception.ERROR: [ca0b0084973670940bba3fdf] /w/api.php Wikimedia\Rdbms\DBQueryError from line 1586 of /srv/mediawiki/tags/2019-06-10_15:00:00/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? Query: INSERT INTO `bw_actor` (actor_user,actor_name) VALUES ('12345','Foobar') Function: User::updateActorId Error: 1062 Duplicate entry 'Foobar' for key 'actor_name' (127.0.0.1:3306)
This is likely because the sandbox does not clean the actor table, which has been added recently.
In addition to fixing this bug, a process should be documented (possibly also scripted) how to clean up existing problematic entries.