Jump to content

Schema:UserFeedback

PHP logging

EventLogging::logEvent( 'UserFeedback', 18903446, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"UserFeedback": 18903446
			}
		}
	}
}

JavaScript logging

mw.track( 'event.UserFeedback', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18903446
description"Logs interactions with the user feedback form that will be available on MediaWiki/Wikitech via a Gadget to gather feedback on documentation improvements."
properties
page_id
type"integer"
requiredtrue
description"ID of the page the user is attempting to provide feedback on."
page_name
type"string"
requiredfalse
description"Name of the page the user is attempting to provide feedback on."
vote
type"string"
requiredtrue
description"User's vote on the usefulness of documentation. User's response will be recorded as 'YES' if they click on a 'YES' button in response to the question: 'Was this documentation helpful?' and NO' if they hit on a 'NO' button."