Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Make end user explicitly provide user-agent details #14

Description

@bearloga

Right now all calls made with the package have the same generic UA pointing at this package.

To make it easier to deal with abuse of WDQS and to comply with https://foundation.wikimedia.org/wiki/Policy:Wikimedia_Foundation_User-Agent_Policy, the user should have to provide an informative, specific UA (e.g. include their name/email, repo URI) of the form: <client name>/<version> (<contact information>)

The package can then append "WikidataQueryServiceR/2.0 (https://github.com/wikimedia/WikidataQueryServiceR/)" to the user-provided UA.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions