Description
Allow for finer-granularity tracking of function creation/editing/viewing activities by adding tracking of the following interactions:
- click edit button next to "About" (pencil icon) vs. "Edit source" in MediaWiki toolbar
- click on an "external link", e.g. "String" or "using + in Javascript", basically learning if people use the function page to go somewhere else
- click to view content in other languages (34 languages)
- click to create an Implementation ("+" button in the first table)
- click to connect/disconnect an implementation or test (buttons in the second table)
- language, learning which are the interface languages that people have set on this page type
Related to T355638, but tracked separately because it appears in a different section of the current Wikifunctions measurement plan.
OKR context, from measurement plan:
Hypothesis #1:
- If we refactor the function viewer page code, we will make it easier to onboard new team members, increase the contribution rate, and decrease our time to deliver new features.
Top level KRs:
- Frontend code quality is more stable
- New team members spend less time onboarding to the codebase
- The function viewer experience is updated with input from the community
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