Page MenuHomePhabricator

Moving a file to Commons should not auto-create a Commons user account for the original uploader of the file
Closed, DeclinedPublic1 Estimated Story Points

Description

Motivation
Currently, when people move a file to Commons with the FileImporter, a user account on Commons is auto-created for the original uploader of the file in the source wiki. This also triggers a welcoming message for the original uploaders and this is probably confusing since they didn't participate in any activity.

Acceptance criteria

  • We don't want to create accounts for people who did not participate in any activity.
  • If the user name does not yet exist on Commons, it will not be resolved

Notes
The auto-creation is related to the import for the FileRevisons. There we cannot use prefix links on usernames and our current setting is "create the user and link him if he did not exist before".

Event Timeline

This ticket confuses me. Auto-creating the user in a CentralAuth a.k.a. SUL environment is the right thing to do, and a technical prerequisite for other features we want (e.g. properly linking the edits to the users own [[Special:Contributions]]).

The side effects of an import via FileImporter should not be different from the side effects of any other import (e.g. when an article history of a translated article is imported). Here is a recent example of a French user who never created an account on dewp, but got one via an import: https://de.wikipedia.org/wiki/Spezial:Beitr%C3%A4ge/Paul%27c.

It should be possible to disable an unwanted welcome message (if this is the only issue) without ditching an essential feature.

Lea_WMDE renamed this task from Moving a file to Commons auto-creates a Commons user account for the original uploader of the file to Moving a file to Commons should not auto-create a Commons user account for the original uploader of the file.Jul 16 2018, 12:27 PM

This got renamed and moved to the "ready for pickup" column without further discussion – at least none I can see at the moment. As I tried to explain in T199076#4407943 I am certain the Commons user account must be created. Otherwise the user can't find his own contributions any more (after the file got deleted at the source). Being able to find my own files on

as well as

and others is an essential (if not the one critical) feature FileImporter is build for.

Please clarify what the actual problems are (only the welcome message, or more?) and split this ticket accordingly.

WMDE-Fisch set the point value for this task to 1.Jul 24 2018, 12:27 PM

It should be possible to disable an unwanted welcome message (if this is the only issue) without ditching an essential feature.

I assume blocking that welcome message is not trivial. But at least we could start an low point valued investigation on that.

Without favoring for that option it should be said, that not creating the username is the default setting in other import code using the ExternalUsernames class.

sorry @thiemowmde I had overlooked the comment. I will discuss this with CommComm/UX again