Schema:ServerSideAccountCreation: Difference between revisions

PHP logging

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

extension.json setup for JavaScript logging

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

JavaScript logging

mw.track( 'event.ServerSideAccountCreation', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5233795
Content deleted Content added
ATDT (talk | contribs)
Marked "userBuckets" property as having "json-encoded" format.
ATDT (talk | contribs)
Re-wrote description of 'displayMobile' field.
Line 39: Line 39:
"type": "boolean",
"type": "boolean",
"required": true,
"required": true,
"description": "True if shouldDisplayMobileView() - 'Determine whether or not we should display the mobile view.' XXX (spage, 2013-01-09) better description needed"
"description": "Whether the mobile view is active."
},
},
"isStable": {
"isStable": {

Revision as of 09:34, 11 February 2013

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."
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."