Jump to content

Schema:ReferencePreviewsBaseline

PHP logging

EventLogging::logEvent( 'ReferencePreviewsBaseline', 21143800, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ReferencePreviewsBaseline": 21143800
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ReferencePreviewsBaseline', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21143800
description"Cite extension interactions for users without Reference Previews enabled. Sampling is hardcoded to 1:1000."
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