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

WikiAssignmentOutput treats failed API calls to get page text as simply a blank page #1442

Closed
ragesoss opened this Issue Oct 10, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@ragesoss
Member

ragesoss commented Oct 10, 2017

Lot's of bad edits were made to article talk pages that blanked them except for an assignment template. See for example the October 10 edits: https://en.wikipedia.org/wiki/Special:Contributions/Fcu001

This is because WikiApi treated anything but a 200 response the same way, meaning that it couldn't tell the difference between an empty page (where just posting the desired contents is what we want to do) vs. an API error (eg, rate-limiting).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment