Manual:reassignEdits.php

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎한국어 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский

Details[edit]

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

Usage[edit]

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

Parameters[edit]

Option/Parameter Description
<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
Spaces inside a username must be replaced with underscores ( _ ).
Warning Warning: 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.