Hello,
I run a v34 enterprise mediawiki server with multiple private wikis for my organization and I've been told that WMF uses PyWikiBot to synchronize specific pages across all of the WMF wikis.
I'd like to do a similar thing and so I have installed and configured PyWikiBot on my server and have the bot accounts all set up and have successfully run the "add_text.py" script to prove that it all works. Now I'd like to automate the page replications across my wikis. I see the core script called "replicate_wiki.py" which would be exactly what I need if all my pages were exclusively on a single namespace; but in my case, all of the pages I want to keep synchronized are in a specific category. Is there a "category" equivalent to "replicate_wiki"?
Is there something link a "replicate_category.py" out there that someone can point me to?
Thanks! /Rich
I think the pywikibot script "transferbot.py" [1] might be what I'm looking for within the pywikibot core scripts.
[1] https://github.com/wikimedia/pywikibot/blob/master/scripts/transferbot.py
Thanks, /RIch
-----Original Message----- From: Evans, Richard K. (GRC-H000) Sent: Saturday, May 2, 2020 5:25 PM To: pywikibot@lists.wikimedia.org Subject: replicate_category.py
Hello,
I run a v34 enterprise mediawiki server with multiple private wikis for my organization and I've been told that WMF uses PyWikiBot to synchronize specific pages across all of the WMF wikis.
I'd like to do a similar thing and so I have installed and configured PyWikiBot on my server and have the bot accounts all set up and have successfully run the "add_text.py" script to prove that it all works. Now I'd like to automate the page replications across my wikis. I see the core script called "replicate_wiki.py" which would be exactly what I need if all my pages were exclusively on a single namespace; but in my case, all of the pages I want to keep synchronized are in a specific category. Is there a "category" equivalent to "replicate_wiki"?
Is there something link a "replicate_category.py" out there that someone can point me to?
Thanks! /Rich