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
Force users to respect Wikipedia's User Agent policy #302
Comments
I've added a new warning to the documentation and updated the initial examples/quickstart to set the |
Yeah, I have the same hesitation. For instance, my own use of mwclient is for the Fedora wiki, not Wikipedia, and that does not require a user agent. |
Thanks for your answers! |
(I'm a SRE at the Wikimedia Foundation)
We regularly get contacted by people getting rate limited while using the API, either directly or for example using your library.
Our API also gets occasionally and accidentally abused.
To help with those 2 issues, we require API users to define a non-default User-Agent, explained in this document: https://meta.wikimedia.org/wiki/User-Agent_policy
I'm wondering if it would be possible to add documentation in this regard to your library, as well as make the UA a mandatory configuration option.
You can see an example implementation on martin-majlis/Wikipedia-API#63
Thanks
The text was updated successfully, but these errors were encountered: