Jump to content

Schema:MediaWikiVagrantUsage

PHP logging

EventLogging::logEvent( 'MediaWikiVagrantUsage', 5634313, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MediaWikiVagrantUsage": 5634313
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MediaWikiVagrantUsage', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5634313
description"Logs usage metrics for MediaWiki-Vagrant"
properties
hostOperatingSystem
type"string"
description"The name and version of the host environment's operating system"
virtualBoxVersion
type"string"
description"Version identifier for VirtualBox"
vagrantVersion
type"string"
description"Version identifier for Vagrant"
mediaWikiVagrantCommit
type"string"
description"SHA1 of local clone of MediaWiki-Vagrant repository"
puppetSucceeded
type"boolean"
description"Did Puppet successfully run to completion?"