Manual:reassignEdits.php
Appearance
MediaWiki version: | ≥ 1.6 |
MediaWiki file: reassignEdits.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | ReassignEdits |
Details
[edit]reassignEdits.php file is a maintenance script to reassign edits from a user or IP address to another user.
Options/Arguments
[edit]Option/Argument | Description | Required? |
---|---|---|
<from> | username or IP address to assign edits from | Required |
<to> | username to assign edits to | Required |
--force | reassign even if the target user doesn't exist | Optional |
--norc | don't update the recent changes table | Optional |
--report | print out details of what would be changed, but don't update it | Optional |
--quiet | don't print status information (except for errors) | Optional |
Usage
[edit]php maintenance/run.php reassignEdits <from> <to> [ --force| --norc| --report| --quiet ]
Terminal
$ php maintenance/run.php reassignEdits "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 ( _ ).
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.