Jump to content

Manual:Attribute.php

From mediawiki.org

Details

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
site (optional) Is this the main domain of the project? (e.g.: http://www.wikipedia.org)
source Original username
destination New username

Correlated files

Filename Description
attribute.log The language code of the Wiki you are adding
attribute.sql Is this the main domain of the project? (e.g.: http://www.wikipedia.org)