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

Beta upload count and nearby edit count #17

Open
maskaravivek opened this issue Jun 3, 2019 · 3 comments
Open

Beta upload count and nearby edit count #17

maskaravivek opened this issue Jun 3, 2019 · 3 comments

Comments

@maskaravivek
Copy link
Member

With #16 fixed, feedback is fetched using the beta cluster. It would be great to have data corresponding to beta cluster for upload count and nearby edit count as well. All the data in Achievements screen comprises of feedback.py, uploadbyuser.py and wikidataedits.py.

As now, it is confusing as feedback comes from the beta cluster and the rest of the data comes from the prod server.

@urbanecm
Copy link
Collaborator

urbanecm commented Jun 3, 2019

https://tools.wmflabs.org/urbanecmbot/commonsmisc/uploadsbyuser.py?user=Martin_Urbanec&labs=commonswiki, it worked right after #16 was resolved, but I forgot to say it, sorry.

It'll be a little bit harder with wikidataedits.py. I have a code ready, but it says 0 for everyone - just because unlikely production, there is no wikimedia-commons-app tag at beta. Can you tell me which tag should be used? Note I need an internal ID, so you'll need to create the tag first, if it doesn't exist yet.

@maskaravivek
Copy link
Member Author

https://tools.wmflabs.org/urbanecmbot/commonsmisc/uploadsbyuser.py?user=Martin_Urbanec&labs=commonswiki, it worked right after #16 was resolved, but I forgot to say it, sorry.

Great thanks. :)

It'll be a little bit harder with wikidataedits.py. I have a code ready, but it says 0 for everyone - just because unlikely production, there is no wikimedia-commons-app tag at beta. Can you tell me which tag should be used? Note I need an internal ID, so you'll need to create the tag first, if it doesn't exist yet.

Yes, as of now there's no tag at beta. Can a wikimedia-commons-app tag be created?

On a related note, do we have a beta cluster of Wikidata, similar to what we have for commons(https://commons.wikimedia.beta.wmflabs.org)? As of now, the commons app uses the prod Wikidata to queries even in its beta app. Moving to the beta cluster for Wikidata would make testing a lot easier. :)

@urbanecm
Copy link
Collaborator

urbanecm commented Jun 6, 2019

It'll be a little bit harder with wikidataedits.py. I have a code ready, but it says 0 for everyone - just because unlikely production, there is no wikimedia-commons-app tag at beta. Can you tell me which tag should be used? Note I need an internal ID, so you'll need to create the tag first, if it doesn't exist yet.

Yes, as of now there's no tag at beta. Can a wikimedia-commons-app tag be created?

Technically, yes. You need to be an admin there, in order to be able to do it.

On a related note, do we have a beta cluster of Wikidata, similar to what we have for commons(https://commons.wikimedia.beta.wmflabs.org)? As of now, the commons app uses the prod Wikidata to queries even in its beta app. Moving to the beta cluster for Wikidata would make testing a lot easier. :)

Sure, https://wikidata.beta.wmflabs.org.

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

2 participants