| Addshore updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
```
mw.track( 'counter.MediaWiki.wikibase.quality.constraints.gadget.loadEntity' );with event logging in a WMDE extension here: https://github.com/wikimedia/mediawiki-extensions-AdvancedSearch/blob/4d24d5f7da5bc7ab7f686bfb0c89e2eb65e73b70/modules/ext.advancedSearch.init.js#L40
```
For our metrics we will use the metric names MediaWiki.wikibase.repo.ui.termBox.(moreLanguages|lessLanguages|allLanguages)We probably only want to create 1 event called "TermBoxInteraction" or something like that, with one of the fields being the type of interaction. expand, collapse, all for example.
The JS will just have to remember if it has already counted the click for each of the 3 cases so that a single request will only ever log 1 click of each link type per page visit.
...
Example of mw.track in use can be found in WikibaseQualityConstraints.```
mw.track( 'counter.MediaWiki.wikibase.quality.constraints.gadget.loadEntity' );with event logging in a WMDE extension here: https://github.com/wikimedia/mediawiki-extensions-AdvancedSearch/blob/4d24d5f7da5bc7ab7f686bfb0c89e2eb65e73b70/modules/ext.advancedSearch.init.js#L40
```
For our metrics we will use the metric names MediaWiki.wikibase.repo.ui.termBox.(moreLanguages|lessLanguages|allLanguages)We probably only want to create 1 event called "TermBoxInteraction" or something like that, with one of the fields being the type of interaction. expand, collapse, all for example.
The JS will just have to remember if it has already counted the click for each of the 3 cases so that a single request will only ever log 1 click of each link type per page visit.
...
TASK DETAIL
EMAIL PREFERENCES
To: Michael, Addshore
Cc: gerritbot, Lydia_Pintscher, D3r1ck01, Aklapper, WMDE-leszek, Lea_WMDE, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, Jonas, Wikidata-bugs, aude, Mbch331
Cc: gerritbot, Lydia_Pintscher, D3r1ck01, Aklapper, WMDE-leszek, Lea_WMDE, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
