patchdemo
patchdemo copied to clipboard
Update wikis with newer patchset, retaining database
Use-case: for some changesets I've set up test users, a demo page. I demoed 4 patches from a chain, a small error in the first patch required a rebase of the whole chain and recreation of the 4 patches, setting up a user + main page on all 4 again. I expect I'll be doing this again and again. An option to update a former wiki would make this a snap.
What about special:export/import?
What about special:export/import?
Quite tedious. What I had to do to make it most "efficient": http://patchdemo.wmflabs.org/wikis/3f2cebb066a5706519be6492a83a774f/w/index.php/Main_Page
Procedural burden:
- need to maintain a list of all pages; tried category: *.js, *.css not included
- revert Main Page after import... the last revision is the one generated by patchdemo
- recreate users, rights
- update all the links with the new demo GUID
We would also need to run various updates, such as composer update
and maintenance/update.php
. The risk of accidentally breaking a wiki would increase, but this may be acceptable.