Manual:Attribute.php

attribute.php is a MediaWiki script located in the maintenance directory that is used by Wikipedia and other Wikimedia projects to re-attributing edits. Uses reassingEdits.php. The program reads from the database all of the pages that are from username source and creates a new SQL file with the records reassigned to username destination. In order to update the database, the SQL file needs to be imported to the database. This program does not handle the actual modification of the database.

Usage
{| style="width: 75%; border:1px solid #338800; background-color:#FEFEFE;" ! width="33%" | Option/Parameter || Description
 * language || (optional) The Language Code of the Wiki you are adding
 * site || (optional) The main domain of the project? (Ex: wikipedia.org)
 * source || Original username
 * destination || New usernamesername
 * -|}
 * source || Original username
 * destination || New usernamesername
 * -|}
 * -|}

{| style="width: 75%; border:1px solid #338800; background-color:#FEFEFE;" ! width="33%" | filename || Description
 * attribute.log || The Language Code of the Wiki you are adding
 * attribute.sql || The main domain of the project? (Ex: wikipedia.org)
 * -|}
 * attribute.sql || The main domain of the project? (Ex: wikipedia.org)
 * -|}