Page MenuHomePhabricator

Produce totals for any missing normalizations
Closed, ResolvedPublic0 Estimated Story Points

Description

Some of our metrics would benefit from more normalization. For example, Visual Editor template dialog opens make the most sense as a rate per Visual Editor session. Discuss any open questions and use aggregation scripts to produce any missing denominators.

If aggregation scripts will be adjusted, there is a help page and the queries are in this repo.

Wanted normalizations

ContextGoalWantedImplementation
CodeMirror (board, config.yaml)Percentage of code mirror users per editor typeAll users of a editor type (byEditor)Read editor types and codemirror settings from user_properties table → gerrit:657362
Visual Editor TemplateDialog (board, config.yaml)Percentage of “open” actions per VE pageview (session)Total number VE sessions by edit count (Note that these are both sampled at 8.25%)EditAttemptStep with editor_interface (visualeditor, wikitext-2017) & action (ready) & user_editcountgerrit:659230

Combinations of relevant preference settings (CodeMirror)

Wikitext 2010 usebetatoolbarWikitext 2017 visualeditor-newwikitextCode mirror usecodemirror Outcome
0(0)0 (or missing)disabled (2010 editor)
0(0)1disabled (2010 editor)
010 (or missing)disabled (2017 editor)
011enabled (2017 editor)
(1)(0)0 (or missing)disabled (2010 editor)
(1)(0)1enabled (2010 editor)
(1)1 (precedence)0 (or missing)disabled (2017 editor)
(1)1 (precedence)1enabled (2017 editor)

The gadget wikiEd takes precedence over the 2010 editor but not over 2017 editor.

Implementation

CodeMirror

MediaWiki.CodeMirror.preferences.byPreference.{wikitext_2010,wikitext_2017,CodeMirror,wikitext_2010_and_CodeMirror,wikitext_2017_and_CodeMirror}.byEnabled.true.byEditCount.$edit_count_bucket.byWiki.$wiki

VisualEditor

  • MediaWiki.VisualEditor.session.byEditCount.$edit_count_bucket.byWiki.$wiki

Event Timeline

Lena_WMDE set the point value for this task to 3.Jan 20 2021, 9:30 AM

Change 657362 had a related patch set uploaded (by Svantje Lilienthal; owner: Svantje Lilienthal):
[analytics/reportupdater-queries@master] added editor type preferences * removed extension CodeEditor

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

Change 659230 had a related patch set uploaded (by Svantje Lilienthal; owner: Svantje Lilienthal):
[analytics/reportupdater-queries@master] added visual editor sessions

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

Change 657362 merged by Mforns:
[analytics/reportupdater-queries@master] Added editor type preferences

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

Change 659230 merged by Milimetric:
[analytics/reportupdater-queries@master] Added visual editor sessions

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

Change 668039 had a related patch set uploaded (by Awight; owner: Awight):
[analytics/reportupdater-queries@master] Fix wiring to metrics

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

Change 668039 merged by Mforns:
[analytics/reportupdater-queries@master] Fix wiring to metrics

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

awight changed the point value for this task from 1 to 0.Apr 28 2021, 8:35 AM
awight updated the task description. (Show Details)