Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming an Account Doesn't Move the Userpages Globally #168

Closed
Drewlzoo opened this issue Jan 13, 2014 · 7 comments
Closed

Renaming an Account Doesn't Move the Userpages Globally #168

Drewlzoo opened this issue Jan 13, 2014 · 7 comments

Comments

@Drewlzoo
Copy link
Member

I just renamed Legoboy's account per his request, but when I renamed it, it only moved his userpage and talk page on meta. Any other wikis he was on still displayed his userpage under his old name. When you go to his new userpage, it does display the social profile header properly, but not the actually page.

@adamrobcarter
Copy link
Member

You might have to rename it on every project...

@georgebarnick
Copy link
Member

No, you'll have to manually move them after a rename. The RenameUser
feature has essentially two functions, it changes the value in the user
database table and moves pages. The user database table is global, so it
changes for all wikis when using RenameUser, but userpages aren't global so
RenameUser can only move them on the project it is used from.

@seaside98
Copy link
Member

Could a bot be programmed to do it?

@georgebarnick
Copy link
Member

Yes, that's what I was thinking. There are similar bots on enwiki that do things after a log action happens, such as some bots that remove items from Administrator Noticeboards after a user is blocked. It would be easy to do, basically this:

account rename    bot reads logs    globally move any "User:<oldname>*" to "User:<newname>*"
   ------>           ------>
                                                * represents wildcards if any subpages exist

@adamrobcarter
Copy link
Member

hmm, if there is code in the extension to move the extension pages on one wiki, it could probably be very easily adapted to do it on multiple wikis... I'll take a look tommorrow.

@ghost ghost assigned adamrobcarter Jan 13, 2014
@adamrobcarter
Copy link
Member

Working on this now.

@neoncitylights
Copy link
Contributor

Superseded by https://phabricator.wikimedia.org/T104830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants