Last modified: 2012-11-03 15:04:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 26942 - edits by a registered user where the rev_user field in the revision table or the ar_user field in the archive table are 0 do not move when that user is renamed
edits by a registered user where the rev_user field in the revision table or ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Renameuser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 29757
  Show dependency treegraph
Reported: 2011-01-25 19:43 UTC by xenocidic
Modified: 2012-11-03 15:04 UTC (History)
5 users (show)

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


Description xenocidic 2011-01-25 19:43:40 UTC
"Blake" was recently renamed to "Blake (usurped)" <>

It appears 3 of his early edits (see referenced URL) imported by Graham87 from Nostalgia Wiki did not move at time of rename and are now attributed to the new Blake.
Comment 1 Graham87 2011-01-26 03:00:03 UTC
The initial bug summary was mistaken.

It is easy to tell whether an edit was imported from the Nostalgia Wikipedia because it's revision ID (the number at the end of the URL, obtained by clicking on the timestamp in the user contributions) is more than 330,000,000, since it would have been imported in December 2009 or later. All the edits that were left behind in the rename of User:Blake have revision IDs between 250,000 and 300,000, indicating that they were imported in September 2002 by Brion's mass-import script.

The edits that were left behind in the user rename have one thing in common: the user ID recorded in the database for the user who made the edit (i.e. the rev_user field) for all the edits is 0, much like edits made by unregistered users. This occurred because there was no user by the name of "Blake" when the UseModWiki edits were mass-imported in September 2002. The user ID for a specific edit is always 0 when there is no "contribs" link for that user when viewing the edit. See principle 8 of:

In fact, the only edit imported from the Nostalgia Wikipedia did move when Blake was renamed. See:

and note the edit's revision ID of 394,985,529. I have just imported two edits from the Nostalgia Wikipedia that were made by User:Blake, to the articles "Gray coding" and "Two stroke cycle". Fiddling with usernames from the UseModWiki era generally makes my job harder; see the last bullet point in the section about "Overlapping edits and mismatched titles" in my page about importing edits from the Nostalgia Wikipedia (linked above). However it's not much of a big deal in this case because User:Blake has only six edits in the Nostalgia Wikipedia database.
Comment 2 Graham87 2011-01-26 13:36:15 UTC
The principle referred to above in comment 1 is now principle #9 of my user subpage about importing edits from the Nostalgia Wikipedia.
Comment 3 Blake Salveson 2011-01-27 02:34:02 UTC
So can these edits be moved to the old user? It is weird with me having edits from 2001 when I started editing in 2008. (I am the new "Blake")
Comment 4 Graham87 2011-01-27 03:13:24 UTC
Yes, but  a Wikimedia sysadmin will have to do it. If a bureaucrat renamed your account, the two edits that I imported to the "Gray coding" and Two stroke cycle would be attributed to you, but the other three edits from 2001 would still be attributed to the username "Blake".

If I hadn't done the import yesterday, a bureaucrat could have completely removed the 2001 edits from your contributions by renaming your account a second time, then maybe renaming "Blake (usurped)" back to Blake. Oops! Maybe it is possible to delete the imported edits, rename your account, then re-import them, but that's clunky.
Comment 5 Blake Salveson 2011-01-27 03:36:10 UTC
Could they maybe be moved to a completely unrelated account? "Blake(old)" or something. If not, then it isn't a problem, and you don't need to go through too much trouble. It is just odd looking [ here] and there is a long area of no editing. I guess this is why users generally aren't usurped if they have made edits. :<
Comment 6 Graham87 2011-01-27 04:53:52 UTC
Nope, not without contacting a sysadmin:

If there were no edits from the UseModWiki ear of Wikipedia (e.g. before 25 January 2002), there wouldn't have been a problem with the usurpation.
Comment 10 Siebrand Mazeland 2012-05-22 10:57:56 UTC
(hit comments 7, 8, 9 related to spam).

Is this issue possibly a duplicate of bug 27873?
Comment 11 Graham87 2012-05-22 11:27:32 UTC
Nope, I don't think so, as this bug almost exclusively affects editors who edited in the UseModWiki era of Wikipedia.

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