Page MenuHomePhabricator

Target user field can not be empty (as stated in the documentation)
Open, Needs TriagePublic


The documentation of the UserMerge extension states the following in the "extras" section:

if you omit the "New User" field, then the extension auto-populates the New User as "Anonymous" (user_id 0), and ask you to confirm a merge to Anonymous.

However, this is actually not quite correct, as the target user field is a required field, it can therefore not be omitted.

This could also be related to T72591: "Anonymous" is hardcoded as the username to merge to userid 0. Not requiring the user to write a name in the target field would make it easier to merge a user to an unknown field. Probably there should also be a checkbox "delete user" instead of "merge" and the field is didsabled or not displayed at all.


Related Gerrit Patches:

Event Timeline

Florian created this task.Sep 16 2018, 6:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 16 2018, 6:49 PM
Florian claimed this task.Sep 16 2018, 7:10 PM

Change 460768 had a related patch set uploaded (by Florianschmidtwelzow; owner: Florianschmidtwelzow):
[mediawiki/extensions/UserMerge@master] Use checkbox to merge to anonymous instead of writing "Anonymous" as target

Mainframe98 updated the task description. (Show Details)Sep 16 2018, 7:42 PM