Topic on Project:Support desk

Jump to navigation Jump to search

How to assign imported users in revision history to local users

3
Summary by Vishkujo

This is possible by editing the imported names in your database to a placeholder name and then using the reassignEdits script.

Vishkujo (talkcontribs)

Hi,

I'm in the process of importing a Fandom Wiki to my own website. All the pages were imported using importDump.php but in the revision history of all pages, the users appear with the prefix "imported>" and they don't link to local users with the same name. Here's an example: https://jojowiki.com/index.php?title=Yuya_Fungami&action=history

How do I fix this?

Thanks.

Bawolff (talkcontribs)

In theory, they should link if account already exists (unless --no-local-users is set to importDump.php)

i guess you'd have to create all these accounts prior to running the import to make them link up with local accounts. I'm not aware of a script that will turn actor names back into real users.

When running the import, there is also the option to set --username-prefix so you can for example, mark that edit came from wikia instead of just generic imported.

Vishkujo (talkcontribs)

That's weird then. There were already a couple of local accounts created with matching names before I ran the script, including my own page.