Page MenuHomePhabricator

Rename logs should not be updated during rename
Closed, ResolvedPublic

Description

In the logs for User:Aogarlid, there are three page moves with two of them occurring during user renames, but only the later rename appears there. The earlier rename also says "Aogarlid", but incorrectly appears in the logs for User:MitoCases. In general, if an account named "A" is renamed to "B" and then account "A" is recreated and the recreated account renamed to "C", the first rename will incorrectly appear in the logs for User:C instead of User:A. The same bug also occurs if another account "D" gets renamed to "A" after "A" gets renamed to "B" as part of usurpation. Instead of moving the previous rename log entry to the logs for the new username "C", both rename log entries should appear under the logs for the old username "A".

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 449351 had a related patch set uploaded (by GeoffreyT2000; owner: GeoffreyT2000):
[mediawiki/extensions/Renameuser@master] Exclude 'renameuser' from the 'logTypesOnUser' variable

https://gerrit.wikimedia.org/r/449351

Change 449351 had a related patch set uploaded (by GeoffreyT2000; owner: GeoffreyT2000):
[mediawiki/extensions/Renameuser@master] Exclude 'renameuser' from the 'logTypesOnUser' variable

https://gerrit.wikimedia.org/r/449351

Change 449351 merged by jenkins-bot:
[mediawiki/extensions/Renameuser@master] Exclude 'renameuser' from the 'logTypesOnUser' variable

https://gerrit.wikimedia.org/r/449351

Urbanecm assigned this task to GeoffreyT2000.
Urbanecm added a subscriber: Urbanecm.

Patch merged.