Last modified: 2013-01-17 19:20:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35452, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33452 - Renaming user causes conflicting usernames in deleted file histories
Renaming user causes conflicting usernames in deleted file histories
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
: shell
Depends on:
Blocks: 29757
  Show dependency treegraph
 
Reported: 2012-01-01 04:10 UTC by Fletcher Commons
Modified: 2013-01-17 19:20 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fletcher Commons 2012-01-01 04:10:07 UTC
Let's say a user uploads a file, the file is deleted, and the account is then renamed. When looking at Special:Undelete for the file page, the "File history" log entry shows the uploader's old username, while the "Page history" log shows the new username.

An example is http://en.wikipedia.org/wiki/Special:Undelete/File:Pekmez_poster.jpg:

Page history

    (del/undel) (diff) 09:41, 13 September 2006 . . Posuur (talk | contribs | block) ({{no rights reserved}} Source: http://www.taris.com.tr)

File history

    (del/undel) 09:41, 13 September 2006 . . Ugur Olgun (talk | contribs | block) 200 × 158 (15,443 bytes) ({{no rights reserved}} Source: http://www.taris.com.tr)

The file was deleted in 2009; the user was renamed in 2010. "Posuur" is the new username.

I've checked a couple other renamed accounts' deleted file histories, and the same issue persists.

I'm not sure if this occurs when a file is deleted *after* the user's rename because I haven't yet found an example for that.
Comment 1 db [inactive,noenotif] 2012-01-02 13:50:54 UTC
This is already fixed (bug 27737) but the fix helps only by new renames.

You can use this bug as request to fix the database for that rename, see bug 29757.
Comment 2 Nemo 2012-08-23 08:47:02 UTC
So this is only about incomplete rename of Ugur Olgun?
Comment 3 Andre Klapper 2012-11-02 12:14:04 UTC
Fletcher: Could you answer comment 2, please?
Comment 4 Sam Reed (reedy) 2013-01-17 19:20:24 UTC
mysql:wikiadmin@db63 [enwiki]> UPDATE filearchive SET fa_user_text='Posuur' where fa_user = '1932143' AND fa_user_text = 'Ugur Olgun';
Query OK, 28 rows affected (0.01 sec)
Rows matched: 28  Changed: 28  Warnings: 0

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links