Page MenuHomePhabricator

Update NavigationTiming to reflect when lazy loaded images in force
Closed, ResolvedPublic0.5 Estimated Story Points

Description

As a data analyst, I want NavigationTiming event logging to reflect when by MediaWiki server configuration lazy loaded images are in force.

Presently, NavigationTiming code looks for a cookie (related code: Navigation Timing extension, Varnish VCL for cache split), but when the configuration is not cookie driven (i.e., when the markup and JavaScript are on by default) I want to ensure that events in the event logging table are reflective of as much.

  • Update cookie to use mw.config (no changes in schema needed)

Event Timeline

Change 287671 had a related patch set uploaded (by Jdlrobson):
Use config variable rather than cookie

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

Change 287671 merged by jenkins-bot:
Use config variable rather than cookie

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

Change 288008 had a related patch set uploaded (by Jdlrobson):
Use config variable rather than cookie

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

Change 288008 abandoned by Jdlrobson:
Use config variable rather than cookie

Reason:
Ignore me

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

phuedx added a subscriber: Jdlrobson.
phuedx subscribed.

Over to you @dr0ptp4kt.

Jdlrobson changed the task status from Open to Stalled.May 12 2016, 4:56 PM
Jdlrobson claimed this task.

I'd like to check this in production which is stalled on this patch making it to Bengali Wikipedia (on 17th)

This is working. I see entries where the flag is 'A' for Bengali wiki stable and when not Bengali wiki beta (since all betas are opted in)