Reattribute edits

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(fixme)
Line 1: Line 1:
 
{{fixme|Old paths}}
 
{{fixme|Old paths}}
 
{{fixme|There's Special:Renameuser now}}
 
{{fixme|There's Special:Renameuser now}}
 +
{{fixme|There's also reassignEdits.php}}
  
 
# change directory to <tt>/home/wikipedia/common/php-new/maintenance</tt>
 
# change directory to <tt>/home/wikipedia/common/php-new/maintenance</tt>

Revision as of 20:24, 7 May 2006

FIXME: Old paths

FIXME: There's Special:Renameuser now

FIXME: There's also reassignEdits.php

  1. change directory to /home/wikipedia/common/php-new/maintenance
  2. delete ../attribute.log and ../attribute.sql
  3. 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.)
  4. feed ../attribute.sql to mysql ON ARIEL (or whatever the master db server is)
  5. 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.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox