These are great options. Thanks for the responses. I think i have conflated a few separate goals that I'd like to clarify here: 1) A hook-based extension to sync pages between wikis when they are edited (aka a "real-time edit-triggered push") 2) An admin script to sync an entire namespace at once to use in a cron job. 3) A way to make some namespaces public and others private
Brian's "SplitPrivateWiki" extension is a nearly perfect solution for #3 Nischay's "wikiImporter" script is a nearly perfect solution for #2 I'm actually going to experiment with an installation that uses both of these solutions at once. I am still very interested in a solution for #1 above. I'm wondering if I might be able to modify the "HelpPages" or "GlobalUserPage" extensions [0,1] to be usable for arbitrary namespaces. [0] https://www.mediawiki.org/wiki/Extension:HelpPages [1] https://www.mediawiki.org/wiki/Extension:GlobalUserPage I do feel like I am converging on a solution :-D -Rich -----Original Message----- From: MediaWiki-l [mailto:[email protected]] On Behalf Of Brian Wolff Sent: Sunday, July 08, 2018 3:12 PM To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] server-side sync of a namespace from wiki1 to wiki2 I posted the extension I was working on at https://www.mediawiki.org/wiki/Extension:SplitPrivateWiki -- Brian On Sat, Jul 7, 2018 at 8:47 PM, Brian Wolff <[email protected]> wrote: > The closest thing i know of is extension:Push, but its not really a > match with what you want. > > Theres generally 3 approaches to doing something like that: > * shell out to edit.php command line script > * use job queue (jobs can be inserted to foreign wiki if queue > configured > right) > * post to api. > > > Ive been experimenting with my own thing based on our discussion at emwcon. > Ill try to put that on wiki sometime soon. > > -- > brian > > > On Thursday, June 21, 2018, Evans, Richard K. (GRC-H000) > <[email protected]> wrote: >> anyone know how to sync the pages of a namespace in one wiki to >> another wiki on the same server? >> >> I the same server, I'd like to configure a wiki (say wiki 1) such >> that any page created or edited in namespace X on wiki 1 is >> automatically saved to namespace Y on wiki 2. I'd like this to be >> occur behind the scenes automatically. Has anyone done this before? >> >> -Rich >> >> _______________________________________________ >> 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 _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
