Jump to content

Schema:SpecialInvestigate

PHP logging

EventLogging::logEvent( 'SpecialInvestigate', 20877007, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"SpecialInvestigate": 20877007
			}
		}
	}
}

JavaScript logging

mw.track( 'event.SpecialInvestigate', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 20877007
description"Logs actions taken on Special:Investigate."
properties
action
description"The action being performed by the user."
type"string"
enum
"submit"
"query"
"end"
"block"
"pin"
"tool"
requiredtrue
targetsCount
description"Number of targets in the request (if zero, that means a filter form was submitted). Present if action is 'submit' or 'block'."
type"integer"
requiredfalse
excludeTargetsCount
description"Number of excluded targets in the request. Present if action is 'submit'."
type"integer"
requiredfalse
relevantTargetsCount
description"Number of targets that an action is performed on. Present if action is 'end', 'block' or 'query'."
type"integer"
requiredfalse
tab
description"The current tab. Present if action is 'query'."
type"string"
enum
"preliminary-check"
"compare"
"timeline"
requiredfalse
queryTime
description"Approximate time taken to fetch results, in milliseconds. Present if action is 'query'."
type"integer"
requiredfalse
resultsCount
description"Number of result rows. Present if action is 'query'."
type"integer"
requiredfalse
resultsIncomplete
description"Whether the results were incomplete. Present if action is 'query'."
type"boolean"
requiredfalse
tool
description"Tool link URL that the user clicked on. Present if action is 'tool'."
type"string"
requiredfalse