Jump to content

Schema:APIRequest

PHP logging

EventLogging::logEvent( 'APIRequest', 28113207, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"APIRequest": 28113207
			}
		}
	}
}

JavaScript logging

mw.track( 'event.APIRequest', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 28113207