We want to be able to log click events on actions and links of note in Special:Diff so that we can better understand user behaviour on the page and evaluate our changes. This task is limited in scope to Special:Diff (not the MobileFrontend Special:MobileDiff page) and the Vector and Vector 2022 skins.
Specs
Register click events to the following buttons via the Metrics Platform (highlighted) in the Vector and Vector 2022 skins. The screenshots below are from Vector 2022, but the locations of these links should be extremely similar in legacy Vector.
Undo
Thank
Rollback
Requires administrator rights, by default.
Change visibility
Requires administrator rights, by default.
View history
Contribs
Add to watchlist
User page
Previous/Next edit
Tags
Specific tag links
Technical information
TBD
Testing and QA / Acceptance Criteria
- Clicking the buttons highlighted in the Specs above should log an event via the Metrics Platform.