Page MenuHomePhabricator

Remove ad-hoc UA logging from existing schemas
Closed, ResolvedPublic

Description

Once a sanitized UA field becomes available as a default field in EventCapsule [1], schemas containing raw UA strings should be updated to have the userAgent field removed.

Owners of these schemas (copied on this ticket) should confirm that (1) the change doesn't affect any existing data crunching and that (2) the sanitized UA provides the required data.

The following Schemas currently include a userAgent field.

https://meta.wikimedia.org/wiki/Schema:LoginUserAgent
Current status: inactive
Ever deployed: no
Owner: Ori.livneh

https://meta.wikimedia.org/wiki/Schema:MobileWebInfobox
Current status: inactive
Ever deployed: yes
Owner: Jdlrobson

https://meta.wikimedia.org/wiki/Schema:Flow
Current status: in development
Ever deployed: no
Owner: Okeyes (WMF)

https://meta.wikimedia.org/wiki/Schema:HttpsSupport
Current status: inactive
Ever deployed: yes
Owner: Ori.livneh

https://meta.wikimedia.org/wiki/Schema:MobileWebCentralAuthError
Current status: inactive
Ever deployed: yes
Owner: Jdlrobson

https://meta.wikimedia.org/wiki/Schema:PageContentSaveComplete
Current status: active
Ever deployed: yes
Owner: Ori.livneh

https://meta.wikimedia.org/wiki/Schema:MobileWebEditing
Current status: inactive (but check with @Jdforrester-WMF)
Ever deployed: yes
Owner: Jdlrobson

https://meta.wikimedia.org/wiki/Schema:ModuleStorage
Current status: inactive
Ever deployed: yes
Owner: Ori.livneh

https://meta.wikimedia.org/wiki/Schema:MediaViewerPerf
Current status: active
Ever deployed: yes
Owner: MarkTraceur

https://meta.wikimedia.org/wiki/Schema:MobileWebUploads
Current status: inactive
Ever deployed: yes
Owner: Jdlrobson

https://meta.wikimedia.org/wiki/Schema:Edit
Current status: active
Ever deployed: yes
Owner: DarTar

[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=52295


Version: unspecified
Severity: normal

Details

Reference
bz59832

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:30 AM
bzimport set Reference to bz59832.

[moving from MediaWiki extensions to Analytics product - see bug 61946]

I believe Schema:MobileWebInfobox and Schema:MobileWebCentralAuthError are inactive. How do I check / mark them (the former definitely is)?

See bug 62983 to get the other one owned by me updated.

Jon – you can move a schema to the "retired" category [1] by modifying the SchemaDoc template, for example: [2]

[1] https://meta.wikimedia.org/wiki/Research:Schemas
[2] https://meta.wikimedia.org/wiki/Schema_talk:MobileWebCentralAuthError

I'm creating an etherpad to coordinate work on each schema that needs to be modified:

http://etherpad.wikimedia.org/p/UA-SchemaUpdate

We're done on our side (MobileFrontend). See bug 62983.

Let's just do a bit of an audit to see what schemas are being used and ping owners. Likely old these are no longer used. This ticket is 2 years old.

Krinkle updated the task description. (Show Details)
Aklapper subscribed.

Resetting assignee as @DarTar is not with WMF anymore and account has been disabled.

UA logging is not happening per schema since a while back , some older data will still have schemas.