Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add import:export command to move revisions between wikis #239

Open
samwilson opened this issue Nov 4, 2023 · 0 comments
Open

Add import:export command to move revisions between wikis #239

samwilson opened this issue Nov 4, 2023 · 0 comments

Comments

@samwilson
Copy link
Owner

samwilson commented Nov 4, 2023

e.g. mwcli import:export --wiki from_wiki --towiki to_wiki page_or_category_name (maybe with mwcli export:import being an alias, because the order of wikis might be confusing).

Where page_or_category_name is either a page name or a category name. If a File NS page is given, it should copy the file as well as the page wikitext.

An additional --prefix option could be added that would indicate that the given page_or_category_name is a prefix and that everything under it should be copied.

--dry-run would probably also be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant