Jump to content

Schema:MobileWebInfobox

PHP logging

EventLogging::logEvent( 'MobileWebInfobox', 7931904, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWebInfobox": 7931904
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWebInfobox', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 7931904
description"Logs infobox view time on Wikimedia sites"
properties
wasInteraction
type"boolean"
description"Whether the user clicked on a link in the infobox when leaving it."
height
type"integer"
description"Available height for this screen at startup."
width
type"integer"
description"Available width for this screen at startup."
infoboxLength
type"integer"
description"Height of the infobox on this page."
start
type"integer"
description"Unix time when the user started scrolling the page (accurate to 500ms)"
in
type"integer"
description"Unix time when infobox scrolled into view (accurate to 500ms)"
out
type"integer"
description"Unix time when infobox scrolled out of view (accurate to 500ms)"