Page MenuHomePhabricator

WikiLambda: Track function-creation attempts
Closed, ResolvedPublic

Description

Description

Create Metrics Platform instruments that log events for:

  • User loads function definition page (Special:CreateZObject?zid=Z8)
  • User publishes function definition
  • User cancels function definition editing

Desired behavior/Acceptance criteria


Completion checklist

Related Objects

StatusSubtypeAssignedTask
OpenBUG REPORTNone
OpenNone
ResolvedBTullis
ResolvedJdforrester-WMF
ResolvedDVrandecic
Resolvedcmassaro
ResolvedClement_Goubert
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedori
Resolvedsbassett
Resolvedakosiaris
ResolvedJdforrester-WMF
ResolvedRequest CCoxwell-WMF
ResolvedRequestgengh
ResolvedRequestArnoldokoth
Resolvedcmassaro
ResolvedQuiddity
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedBUG REPORTgengh
ResolvedBUG REPORTgengh
Resolvedgengh
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTDVrandecic
ResolvedBUG REPORTcmassaro
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTAAlhazwani-WMF
DuplicateBUG REPORTNone
ResolvedBUG REPORTJdforrester-WMF
ResolvedBUG REPORTDVrandecic
Resolvedgengh
ResolvedBUG REPORTcmassaro
ResolvedBUG REPORTgengh
Resolvedgengh
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
Resolved CCoxwell-WMF
Resolved CCoxwell-WMF
ResolvedAAlhazwani-WMF
ResolvedLadsgroup
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
Resolvedcmassaro
ResolvedJdforrester-WMF
ResolvedDVrandecic
Resolvedgengh
ResolvedBUG REPORTJdforrester-WMF
ResolvedDMartin-WMF
ResolvedDMartin-WMF
ResolvedQuiddity
ResolvedQuiddity
ResolvedQuiddity
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedQuiddity

Event Timeline

  • User loads function definition page: indicated by event name wf.ui.newView.mounted, with custom data viewname = function-editor. Use custom data field isnewzobject to distinguish CUJ2 (function creation) from CUJ3 (editing an existing function).

Change 932350 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Add custom data "isnewzobject" to "wf.ui.newView.mounted" event

https://gerrit.wikimedia.org/r/932350

Change 932350 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add custom data "isnewzobject" to "wf.ui.newView.mounted" event

https://gerrit.wikimedia.org/r/932350

Change 933495 had a related patch set uploaded (by Jforrester; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Change existing event names to verb-object convention

https://gerrit.wikimedia.org/r/933495

Change 933495 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Change existing event names to verb-object convention

https://gerrit.wikimedia.org/r/933495

Change 933602 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Add instrument to produce zobject publish event

https://gerrit.wikimedia.org/r/933602

Change 933609 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Add event logging for the 3 view initializations

https://gerrit.wikimedia.org/r/933609

Change 933602 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add instrument to produce zobject publish event

https://gerrit.wikimedia.org/r/933602

Hi @DMartin-WMF @ATsay-WMF As part of this instrumentation work can you please submit documentation (of the data you're collecting) for Legal's review & approval through the L3SC (if you haven't already)?

We're here to make sure no oversight happens with regards to privacy or security or any other legal issues. And if you have a timeline you're working towards, please let us know in the L3SC request form so we can work with you to meet it.

(Heads-up @EMagallanes)

Thanks for the heads up! I'll look out for the ticket in Asana. :)

Change 934429 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Add metrics instrument for loading function-editing page

https://gerrit.wikimedia.org/r/934429

Change 934429 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add metrics instrument for loading function-editing page

https://gerrit.wikimedia.org/r/934429

Change 937204 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Metrics custom data: pass undefined as null & update 2 names

https://gerrit.wikimedia.org/r/937204

Loading the function definition page to create a new function will be indicated by all MP events like this:

  • Event name: 'wf.ui.editFunction.load'
  • Custom data 'isnewzobject' = true

Publishing a new function will be indicated by all MP events like this:

  • Event name: 'wf.ui.editFunction.publish'
  • Custom data 'isnewzobject' = true

Canceling new function creation will be indicated by all MP events like this:

  • Event name: 'wf.ui.editFunction.cancel'
  • Custom data 'isnewzobject' = true

Change 937204 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Metrics custom data: pass undefined as null & update 2 names

https://gerrit.wikimedia.org/r/937204

Change 938928 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] WikiLambda metrics: Allow false custom data values to get through

https://gerrit.wikimedia.org/r/938928

Change 938928 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] WikiLambda metrics: Allow false custom data values to get through

https://gerrit.wikimedia.org/r/938928

Change 933609 abandoned by David Martin:

[mediawiki/extensions/WikiLambda@master] Add event logging for the 3 view initializations

Reason:

Not likely to ever be needed, based on recent analysis of Wikifunctions metrics needs

https://gerrit.wikimedia.org/r/933609