Manual:attribute.php

From MediaWiki.org
Jump to: navigation, search

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[edit]

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 username
filename Description
attribute.log The Language Code of the Wiki you are adding
attribute.sql The main domain of the project? (Ex: wikipedia.org)


Language: English