Description
Record the usage of types in conjunction with functions, over time, and the return type of the involved function. This should include "inventory" of how many types exist, and how frequently each type is used as input or output functions. This could also include how often each type is used in function creation or editing activities. The instruments already exists to record these activities (per T340160, T340779).
Update: we've decided to track the existence of types, and their association with functions, using the new DB table which resulted from T363439. For a finer granularity of type-tracking, that table can be queried in conjunction with the Wikifunctions UI metrics table, which records when each function is created and edited.
This is motivated in part by our need to answer questions like the following: How frequently are new types used by the community and what are the most common use cases?
Notes:
- WikiLambda getter getInputsOfFunctionZid might be useful.
Desired behavior/Acceptance criteria
- The type info is recorded accurately and reliably, and shows up in the relevant tables in the data lake.
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