Page MenuHomePhabricator

Temporary account is created when doing a null edit
Closed, DeclinedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • A temporary account is created for you

What should have happened instead?:

  • Maybe a temporary account shouldn't be created in this scenario, as long as no revision is saved? I don't see what purpose the account serves at this point.

The only other bug I've found about Temporary accounts and null edits is T327305 from early last year, where the solution seemed to aim at not creating a temporary account in this scenario. So this might be a Regression from that. But it could also be a valid design choice, in which case you are free to mark this as declined or invalid.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Any edit attempt creates a temporary account, following from T359405: Create temporary account early in edit cycle for all edit attempts. If it's important to avoid this in a null edit scenario, we could look at it.

I don't have any strong opinion about whether it should or shouldn't create a temporary account – I was under the impression that temporary accounts would only be created when edits were saved, but I see from that task that there are some scenarios where it would be useful to have a temporary account even though no edit is saved (such as AbuseFilters kicked in, needing to log an actor). So like I said, feel free to just decline this. :-)

Thanks @jhsoby . Let's decline, and if it becomes a problem for some reason, we can repoen it.

If necessary from a table bloat point of view, we consider removing rows from the user table that are 1) temporary accounts with 2) no edits and no log entries associated with the account (cc @Ladsgroup).

If necessary from a table bloat point of view, we consider removing rows from the user table that are 1) temporary accounts with 2) no edits and no log entries associated with the account (cc @Ladsgroup).

There's also some internal discussion here.

If necessary from a table bloat point of view, we consider removing rows from the user table that are 1) temporary accounts with 2) no edits and no log entries associated with the account (cc @Ladsgroup).

I'd say and 3) delete anything after x time too (like one year). That way we make sure we don't accidentally delete anything useful.