Jump to content

Schema:ModuleLoadFailure

PHP logging

EventLogging::logEvent( 'ModuleLoadFailure', 12448968, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ModuleLoadFailure": 12448968
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ModuleLoadFailure', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 12448968
description"Track modules that failed to load or were prevented from loading."
properties
module
type"string"
requiredtrue
description"Name of module"
error
type"string"
requiredtrue
enum
"forbidden"
description"Why the module failed to load."
doc
type"string"
description"Overview script tags in the document with an excerpt of their attributes and content. Optional."