Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Update wikis with newer patchset, retaining database #54

Open
DemianX0 opened this issue Apr 24, 2020 · 3 comments · May be fixed by #270
Open

Update wikis with newer patchset, retaining database #54

DemianX0 opened this issue Apr 24, 2020 · 3 comments · May be fixed by #270
Labels
enhancement New feature or request

Comments

@DemianX0
Copy link

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.

@edg2s
Copy link
Collaborator

edg2s commented Apr 24, 2020

What about special:export/import?

@DemianX0
Copy link
Author

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

@edg2s edg2s added the enhancement New feature or request label Sep 23, 2020
edg2s added a commit that referenced this issue Nov 2, 2020
edg2s added a commit that referenced this issue Jan 2, 2021
edg2s added a commit that referenced this issue Jan 2, 2021
edg2s added a commit that referenced this issue Jan 2, 2021
@edg2s
Copy link
Collaborator

edg2s commented Jan 21, 2021

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.

edg2s added a commit that referenced this issue Mar 6, 2021
@edg2s edg2s linked a pull request Mar 6, 2021 that will close this issue
edg2s added a commit that referenced this issue Mar 6, 2021
edg2s added a commit that referenced this issue May 5, 2021
edg2s added a commit that referenced this issue May 5, 2021
edg2s added a commit that referenced this issue Nov 12, 2021
edg2s added a commit that referenced this issue Feb 21, 2022
edg2s added a commit that referenced this issue Feb 21, 2022
edg2s added a commit that referenced this issue Feb 27, 2022
edg2s added a commit that referenced this issue Feb 28, 2022
edg2s added a commit that referenced this issue Feb 28, 2022
edg2s added a commit that referenced this issue Feb 28, 2022
edg2s added a commit that referenced this issue Feb 28, 2022
edg2s added a commit that referenced this issue Feb 28, 2022
edg2s added a commit that referenced this issue Mar 2, 2022
edg2s added a commit that referenced this issue Mar 13, 2022
edg2s added a commit that referenced this issue Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants