PHP logging
EventLogging::logEvent( 'MediaWikiPingback', 20104427, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MediaWikiPingback": 20104427
}
}
}
}
JavaScript logging
mw.track( 'event.MediaWikiPingback', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Represents information about a MediaWiki installation" |
---|
properties | database | description | "Database type ($wgDBtype)" |
---|
type | "string" |
---|
required | true |
---|
|
---|
MediaWiki | description | "MediaWiki version (MW_VERSION)" |
---|
type | "string" |
---|
required | true |
---|
|
---|
PHP | description | "PHP version (PHP_VERSION)" |
---|
type | "string" |
---|
required | true |
---|
|
---|
OS | description | "Operating system name and version" |
---|
type | "string" |
---|
required | true |
---|
|
---|
arch | description | "Integer size" |
---|
type | "integer" |
---|
enum | |
---|
required | true |
---|
|
---|
memoryLimit | description | "Memory limit (ini_get('memory_limit'))" |
---|
type | "string" |
---|
required | false |
---|
|
---|
machine | description | "Machine type (uname -m)" |
---|
type | "string" |
---|
required | true |
---|
|
---|
serverSoftware | description | "Web server software ($_SERVER['SERVER_SOFTWARE'])." |
---|
type | "string" |
---|
required | false |
---|
|
---|
|
---|