Re: Version control of Mediawiki db in staging/production environment

Bartosz Dziewoński <[email protected]> Fri, 2 Aug 2024 11:51:21 +0200
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <[email protected]>
Perhaps using MediaWiki's page import/export functionality will work for 
you?

https://www.mediawiki.org/wiki/Help:Import
https://www.mediawiki.org/wiki/Help:Export

It's cleaner than storing the whole database in Git, and the XML 
import/export files are mostly human-readable. They can only contain 
pages, so this will take care of categories and the templates, but it 
won't handle e.g. defining an administrator account. Also, note that 
there's no easy way to "undo" an import (you'd have to delete or revert 
the imported pages by hand).

-- 
Bartosz Dziewoński

_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/