But when you are using a command file to run every night, that means the information will not be real time. So a change made now to a wiki will be reflected on the other one only tomorrow.
Amit
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Michael Daly Sent: Wednesday, May 30, 2007 12:45 PM To: MediaWiki-l Subject: Re: [Mediawiki-l] hiding and sharing articles/namespaces to the public
revansx@cox.net wrote:
Instead of writing an extension, I also considered setting-up an second wiki whose MySQL database was just daily replication of the private one.
This is a simple solution and easy to implement with mysqldump backup of the private and mysql to reload on the public one. This can be done with a simple command file executed by a timer driven process overnight.
You could do this with a single MySQL installation if you massage the exported sql file to rename the database from, say, wikidb (private one) to wikidb_public before restoring.
--- Does it pass the experts ho-ho, ha-ha test?
Simple is good!
Mike
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l