attribute.php file is a maintenance script that is used by Wikipedia and other Wikimedia projects to re-attributing edits.
Uses reassignEdits.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
Parameters
Option/Parameter
Description
language
(optional) The language code of the Wiki you are adding