Manual:reassignEdits.php
From MediaWiki.org
| MediaWiki File: reassignEdits.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.21.1 • 1.20.6 |
| Classes: | ReassignEdits |
reassignEdits.php is a maintenance script located in the maintenance directory that reassigns edits from a user or IP address to another user.
Usage: php reassignEdits.php [--force|--quiet|--norc|--report] <from> <to>
<from>: username or IP address to assign edits from<to>: username to assign edits to--force: reassign even if the target user doesn't exist--quiet: don't print status information (except for errors)--norc: don't update the recent changes table--report: print out details of what would be changed, but don't update it
Note: spaces inside a username must be replaced with underscores ( _ )
Bug: Currently (MW 1.19.1) the script is not updating the file history, that is, fields img_user and img_user_text from the Image table. See the discussion for a workaround.