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

arv: Combine AN3 queries, avoid errors, and handle revdel'd comments #875

Merged
merged 2 commits into from Mar 29, 2020

Conversation

Amorymeltzer
Copy link
Collaborator

1st commit: Combine the three largely identical AN3 queries, avoid errors

Don't print console errors if is provided: we shouldn't be unnecessarily spitting out console errors, either from null queries or mw.Title. The warnings check is fine, though.

Has a more helpful API error messages, similar to #866.

2nd commit: Better text for revdel'd comments in AN3 diffs

@Amorymeltzer
Copy link
Collaborator Author

I'm not sure if the free_resolves input needs to be dependent on a page actually loading, but it was previously so I kept it as such.

Don't print console errors if is provided: we shouldn't be unnecessarily spitting out console errors, either from null queries or mw.Title.  The warnings check is fine, though.

Has a more helpful API error messages, similar to wikimedia-gadgets#866.
@Amorymeltzer Amorymeltzer merged commit 69b1dd0 into wikimedia-gadgets:master Mar 29, 2020
@Amorymeltzer Amorymeltzer deleted the arv-an3combo branch March 29, 2020 16:17
siddharthvp pushed a commit to siddharthvp/twinkle that referenced this pull request Jun 27, 2020
wiki-ST47 pushed a commit to wiki-ST47/twinkle that referenced this pull request Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant