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

Skip empty revisions when using --xmlrevisions #440

Merged
merged 1 commit into from
Oct 22, 2022

Conversation

Pokechu22
Copy link
Contributor

Before, the download would die, and need to be resumed from the start.

I ran into it while working on this, which ended up dying on FamilySearch Wiki:WikiProject England Parish Tables Part 2, which happens to have a deleted revision (apparently the only deleted revision on a non-deleted page). I was able to successfully redownload with this patch. (Well, I actually made another change so that it wouldn't restart from the beginning, but instead the project namespace - if I had had to redo everything, it would have lost half a week's data, but instead I only lost about half a day's data.)

Before, the download would die, and need to be resumed from the start.
@Pokechu22
Copy link
Contributor Author

This issue also affects the much smaller german version, where Hilfe:Mitmachhilfe has a deleted revision too. This PR fixes it. The german one can be saved in under 15 minutes, so it'd be a good one to test with.

@nemobis
Copy link
Member

nemobis commented Oct 22, 2022

Hmm right, how did I forget to consider revision deletion? Maybe we should try to keep whatever information is left public (like the edit summary if available) but maybe not. Thanks a lot!

@nemobis nemobis merged commit 52fe2d8 into WikiTeam:master Oct 22, 2022
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

Successfully merging this pull request may close these issues.

2 participants