Reattribute edits
From Wikitech
(Difference between revisions)
m (Robot: Adding Category:How-To) |
|||
| Line 6: | Line 6: | ||
You '''MUST''' switch from suda to ariel between steps 3 and 4 or you will execute the query on the slave server and break things. Don't do that. | You '''MUST''' switch from suda to ariel between steps 3 and 4 or you will execute the query on the slave server and break things. Don't do that. | ||
| + | |||
| + | [[Category:How-To]] | ||
Revision as of 21:40, 28 November 2005
- change directory to /home/wikipedia/common/php-new/maintenance
- delete ../attribute.log and ../attribute.sql
- run: php attribute.php en wikipedia 1.2.3.4 "User Name" (this has to be done on suda right now because ariel has no php.)
- feed ../attribute.sql to mysql ON ARIEL (or whatever the master db server is)
- append ../attribute.log to Wikipedia:Changing_attribution_for_an_edit/Log
You MUST switch from suda to ariel between steps 3 and 4 or you will execute the query on the slave server and break things. Don't do that.