Jump to content

Schema:ReferencePreviewsCite

PHP logging

EventLogging::logEvent( 'ReferencePreviewsCite', 21143801, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ReferencePreviewsCite": 21143801
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ReferencePreviewsCite', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21143801
description"Reference Previews interactions logged by the Cite extension, for users with the feature enabled."
properties
action
type"string"
enum
"pageview"
"clickedFootnote"
"clickedReferenceContentLink"
description"`pageview` happens once at the beginning of each pageview. `clickedFootnote` happens when a user clicks a footnote link in article content. `clickedReferenceContentLink` happens when a link within the reference itself is clicked."
requiredtrue