PHP logging

EventLogging::logEvent( 'MobileWebWatching', 11761466, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWebWatching": 11761466
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWebWatching', { /* ... */ } );

Schema:MobileWebWatching

From Meta, a Wikimedia project coordination wiki
Revision 11761466
Jump to navigation Jump to search
description"Logs editing attempts on Wikimedia mobile sites"
properties
userEditCount
type"integer"
description"Number of edits before the edit occurred. For example on a successful first edit the edit count will be 0"
isWatched
type"boolean"
requiredtrue
description"Whether the page was in the user's watchlist before carrying out the action."
funnel
type"string"
requiredtrue
description"Funnel user is operating out of."
mobileMode
type"string"
requiredtrue
enum
"stable"
"beta"
"alpha"
description"Whether the user is seeing the regular non-beta, beta, or alpha version of the mobile site."
userId
type"integer"
requiredtrue
description"ID of user"