Description
Tracking client_ip allows us to correlate various UI interactions with geographical regions, which can yield insights into preferences, directions, difficulties, etc. experienced by users in different regions, and provide better metrics to inform and support our diversity objectives.
This ticket is motivated by the need to have this info included in WikiLambda 's ui_actions schema, which was created by this patch. client_ip should be added to the common schema fragment, so that it applies not only to ui_actions, but also to our WikiLambda API schema, and future metrics schemas that import the common fragment. After adding client_ip to the common fragment, it should be removed from the top level of the API schema.
It can be added to the common fragment using:
allOf: $ref: /fragment/http/client_ip/1.0.0#
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist