Page MenuHomePhabricator

Add URL parameter to trace WikiEditor edit sessions that originate via sticky header
Closed, ResolvedPublic

Description

As noted in T298634#7904971, in order to evaluate WikiEditor edit sessions people enter into via clicking the [[ ]] button within the new site-wide sticky header, a new URL parameter will need to be introduced.

This task represents the work involved with doing the above.

Requirements

New URL tracking parameters are added such that the following events will be emitted whenever someone clicks the [[ ]] button within the new site-wide sticky header:

action = init, integration = page, init_type = page, init_mechanism = 'click-sticky-header',  editor_interface = wikitext

The requirement above is borrowed from T298634#7855485.

Done

  • ===Requirements are implemented
  • Editing QA verifies that when people click the [[ ]] button within the sticky header, the URL in their browser includes the parameter this task will have implemented
  • @MNeisler to verify data is logging in EditAttemptStep as expected

Event Timeline

@Jdlrobson No, because it wouldn't distinguish between links from the sticky header and the tabs -- it's still the same editor, just a different route taken to reach it.

I was thinking we could add a generic parameter to all edit links in the sticky header e.g. wvprov=sticky-header but that would work on the assumption all the links are unique and identify the type of editor.

@Jdlrobson Yeah, applying such a parameter generically to all edit links would be usable for this. So long as there's something indicating the source, it'll be sufficient. It doesn't matter for this ticket whether the links are unique to the type of editor or not, though.

Deployment Timing
Per today's planning meeting, the Editing Team intends to deploy the patch(es) that will resolve this task this Wednesday, 15 June via a backport window.

Change 805730 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/skins/Vector@master] Add a URL parameter to edit links in the sticky header

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

Jdlrobson claimed this task.

Change 805730 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Add a URL parameter to edit links in the sticky header

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

Editing team should be unblocked now. Let me know if you need anything else from us.