Jump to content

Schema:CommonsCategoryTreeUse

PHP logging

EventLogging::logEvent( 'CommonsCategoryTreeUse', 7036065, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"CommonsCategoryTreeUse": 7036065
			}
		}
	}
}

JavaScript logging

mw.track( 'event.CommonsCategoryTreeUse', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 7036065
description"Get samples of category page visitation and category link clicks per logged in and anonymous users."
properties
isAnon
type"boolean"
requiredtrue
description"Is the user anonymous or logged in?"
action
type"string"
enum
"impression"
"catlinkclick"
description"Possible actions logged client-side"
requiredtrue
pageNs
type"integer"
description"Namespace number of the current page."