I think Meza [0] has some wiki merging scripts, though I have never used
them and can't provide guidance. Maybe you can find your answers there.

[0] https://github.com/enterprisemediawiki/meza

On Wed, Jan 22, 2020, 01:51 Kevin Zhang <[email protected]> wrote:

> If I had an separate wiki and a wikifarm (using shared tables for user and
> actor) and wanted to merge the separate wiki into the wikifarm, what would
> be the safest way to handle user account migration without any
> conflicts/data corruption? Is it even safe to renumber user ids?
>
> Assume user ids for the separate wiki would conflict with existing wikifarm
> user ids.
>
> thinking at a minimum the following is required:
> 1. on wikifarm: halt account creations, set read only, and get max user id
> 2. on separate wiki: set wiki to read only, renumber all user ids (user,
> actor tables) starting at one past the current wikifarm max user id to
> avoid conflicts, run rebuildall.php & rebuildrecentchanges.php, create a
> database dump using mysqldump, and export a backup of localsettings.php
> 3. on wikifarm, add a new wiki (import localsettings.php) and import
> database dump of separate wiki then run update.php as required
>
> Thanks,
>
> Kevin
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to