4

I have two MediaWiki installations on two different domains, both on the same server but with different databases.

Is there a feature or extension that will allow me to automatically mirror the contents of one wiki to the other, and have the mirrored version stay up to date?

I want to be able to automatically sync the Privacy Policy page because the policy applies to both domains.

  • Maybe the include extension is what you're looking for. – gf_ Jan 13 '16 at 0:43
  • Is it capable of "including" only the body of the article, and not the sidebar, etc? – William Jan 14 '16 at 2:45
  • I've got no experience with MediaWiki or this extension, but I'm sure you'll find out. – gf_ Jan 14 '16 at 10:18
2

Just set $wgEnableScaryTranscluding = true in your LocalSettings.php and ensure the source wiki is a local interwiki (if you don't know how, use the Interwiki extension which offers a nice interface).

For instance this is a user page which is automatically copied (transcluded) from another wiki.

Despite the name, the interwiki transclusion isn't that scary at all: it's used by various wikis including MITRE wikis.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.