In {T349503} and {T349486} we updated `$wgAutoCreateTempUser` in the `operations/mediawiki-config` repo. The full value on dewiki beta is:
```
> $wgAutoCreateTempUser;
= [
"enabled" => true,
"actions" => [
"edit",
],
"genPattern" => "~$1",
"matchPattern" => [
"*$1",
"~2$1",
],
"reservedPattern" => "~$1",
"serialProvider" => [
"type" => "centralauth",
"numShards" => 8,
"useYear" => true,
],
"serialMapping" => [
"type" => "plain-numeric",
],
"expireAfterDays" => 365,
"notifyBeforeExpirationDays" => 10,
]
```
The default settings for `$wgAutoCreateTempUser` in core is:
```
> $wgAutoCreateTempUser
= [
"enabled" => false,
"actions" => [
"edit",
],
"genPattern" => "*Unregistered $1",
"matchPattern" => "*$1",
"reservedPattern" => null,
"serialProvider" => [
"type" => "local",
],
"serialMapping" => [
"type" => "plain-numeric",
],
"expireAfterDays" => null,
"notifyBeforeExpirationDays" => null,
]
```
This task proposes to update the defaults in core, so that we have a consistent developer experience ({T359043}) and require fewer overrides in `operations/mediawiki-config.git`.
Specifically, in core, set:
- `"genPattern" => "~$1"`
- `"matchPattern" => null,`
- `"reservedPattern" => "~$1",`
- "serialProvider" => [ 'type' => 'local', 'useYear' => true ]`
- `"expireAfterDays" => 365,`
- `"notifyBeforeExpirationDays" => 10,`
These changes are also relevant to {T355880}