MediaWiki version:
1.6
MediaWiki file: reassignEdits.php
Location: maintenance/
Source code: master 1.40.0 1.39.4 1.35.11
Classes: ReassignEdits

Details

reassignEdits.php file is a maintenance script to reassign edits from a user or IP address to another user.

Options/Arguments

Option/Argument Description Required?
<from> username or IP address to assign edits fromRequired
<to> username to assign edits toRequired
--force reassign even if the target user doesn't existOptional
--norc don't update the recent changes tableOptional
--report print out details of what would be changed, but don't update itOptional
--quiet don't print status information (except for errors)Optional

Usage

php maintenance/reassignEdits.php <from> <to> [ --force| --norc| --report| --quiet ]


Terminal
$ php maintenance/reassignEdits.php "0:0:0:0:0:0:0:1" "Foo"

Checking current edits...found 13.
Checking deleted edits...found 0.
Checking recent changes...found 16.

Total entries to change: 29

Reassigning current edits...done.
Updating recent changes...done.
Spaces inside a username must be replaced with underscores ( _ ).

See also

  • Extension:Renameuser
  • Extension:ReassignEdits
  • Extension:ChangeAuthor
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.