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.

William
  • 149
  • 6
  • Maybe the [include extension](https://www.mediawiki.org/wiki/Extension:Include) is what you're looking for. – gxx Jan 13 '16 at 00:43
  • Is it capable of "including" only the body of the article, and not the sidebar, etc? – William Jan 14 '16 at 02:45
  • I've got no experience with MediaWiki or this extension, but I'm sure you'll find out. – gxx Jan 14 '16 at 10:18

1 Answers1

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.

Nemo
  • 259
  • 1
  • 13