PHP logging

EventLogging::logEvent( 'MediaWikiPingback', 15781718, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MediaWikiPingback": 15781718
			}
		}
	}
}

JavaScript logging

mw.eventLog.logEvent( 'MediaWikiPingback', { /* ... */ } );

Schema:MediaWikiPingback

From Meta, a Wikimedia project coordination wiki
Revision 15781718
Jump to navigation Jump to search
description"Represents information about a MediaWiki installation"
properties
database
description"Database type ($wgDBtype)"
type"string"
requiredtrue
MediaWiki
description"MediaWiki version ($wgVersion)"
type"string"
requiredtrue
PHP
description"PHP version (PHP_VERSION)"
type"string"
requiredtrue
OS
description"Operating system name and version"
type"string"
requiredtrue
arch
description"Integer size"
type"integer"
enum
32
64
requiredtrue
memoryLimit
description"Memory limit (ini_get('memory_limit'))"
type"string"
requiredfalse
machine
description"Machine type (uname -m)"
type"string"
requiredtrue
serverSoftware
description"Web server software ($_SERVER['SERVER_SOFTWARE'])."
type"string"
requiredfalse