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

Change top editors endpoints docs to reflect change in anonymous users #1079

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

fdansv
Copy link

@fdansv fdansv commented Oct 30, 2018

As of this gerrit change https://gerrit.wikimedia.org/r/#/c/analytics/aqs/+/468927/ the top editors endpoints will be returning null instead of "Anonymous Editor". This patch just updates the docs for those two endpoints.

cc @jobar

@@ -1109,7 +1109,7 @@ paths:
100 editors by edits count. You can filter by editor-type (all-editor-types,
anonymous, group-bot, name-bot, user) or page-type (all-page-types, content or
non-content). The user_text returned is either the mediawiki user_text if the user is
registered, or "Anonymous Editor" if user is anonymous.
registered, or null if user is anonymous.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically that's backward-incompatible, do we care?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not a problem. The endpoint is super young and only used by Wikistats 2, which already handles this issue.

@Pchelolo Pchelolo merged commit 400b58f into wikimedia:master Oct 30, 2018
@Pchelolo
Copy link
Contributor

+1

@fdansv fdansv deleted the anonymous-editors-null branch October 30, 2018 15:13
@d00rman d00rman added the API label Oct 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants