[Mediawiki-l] script maintenance/changeuser.sql

Evelyne Cangini Evelyne.Cangini at rap.prd.fr
Fri Jul 20 10:13:28 UTC 2007


Hello,

I'm using mediawiki version 1.10.0. It seams the script 
maintenance/changeuser.sql doesn't work.
The structure of the table "user" is not OK. And all columns's contain 
seems the same ?

update low_priority /*$wgDBprefix*/user set user_name=@newname where 
user_name=@oldname;
update low_priority /*$wgDBprefix*/user_newtalk set user_ip=@newname 
where user_ip=@oldname;
update low_priority /*$wgDBprefix*/cur set cur_user_text=@newname where 
cur_user_text=@oldname;
update low_priority /*$wgDBprefix*/old set old_user_text=@newname where 
old_user_text=@oldname;
update low_priority /*$wgDBprefix*/archive set ar_user_text=@newname 
where ar_user_text=@oldname;
update low_priority /*$wgDBprefix*/ipblocks set ipb_address=@newname 
where ipb_address=@oldname;
update low_priority /*$wgDBprefix*/oldimage set oi_user_text=@newname 
where oi_user_text=@oldname;
update low_priority /*$wgDBprefix*/recentchanges set 
rc_user_text=@newname where rc_user_text=@oldname;

Thank,
Evelyne






More information about the MediaWiki-l mailing list