Jump to content

Schema:ServerSideAccountCreation

PHP logging

EventLogging::logEvent( 'ServerSideAccountCreation', 20953705, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ServerSideAccountCreation": 20953705
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ServerSideAccountCreation', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 20953705
description"Logs server-side events generated by MediaWiki when a new account is created"
properties
token
type"string"
requiredtrue
description"User token"
userId
type"integer"
requiredtrue
description"User ID'"
userName
type"string"
requiredtrue
description"Username of newly-created user"
isSelfMade
type"boolean"
requiredtrue
description"False if existing user created this account for someone else, true otherwise"
returnTo
type"string"
description"Indicates the wiki page the user was on when initiating Create account."
returnToQuery
type"string"
description"The query string, if any, for the wiki page the user was on when initiating Create account."
campaign
type"string"
requiredtrue
description"Contents of 'mediaWiki.campaign' cookie."
userBuckets
type"string"
requiredtrue
description"Contents of 'userbuckets' cookie."
format"json-encoded"
displayMobile
type"boolean"
requiredtrue
description"Whether the mobile view is active."
isStable
type"string"
enum
"stable"
"beta"
"alpha"
description"Whether the user is seeing the regular non-beta, beta, or alpha version of the mobile site. (Not implemented as of 2013-02-12.)"
isApi
type"boolean"
requiredtrue
description"Whether the account creation is using API."