Manual:reassignEdits.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.6
<translate> MediaWiki version:</translate> |
MediaWiki file: reassignEdits.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
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 from | <translate> Required</translate> |
<to> | username to assign edits to | <translate> Required</translate> |
--force | reassign even if the target user doesn't exist | <translate> Optional</translate> |
--norc | don't update the recent changes table | <translate> Optional</translate> |
--report | print out details of what would be changed, but don't update it | <translate> Optional</translate> |
--quiet | don't print status information (except for errors) | <translate> Optional</translate> |
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 ( _ ).