PHP logging

EventLogging::logEvent( 'TwoColConflictConflict', 21143807, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TwoColConflictConflict": 21143807
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TwoColConflictConflict', { /* ... */ } );

Schema:TwoColConflictConflict

From Meta, a Wikimedia project coordination wiki
Revision 21143807
Jump to navigation Jump to search
description"Logs edit conflicts where Extension:TwoColConflict is enabled"
properties
twoColConflictShown
type"boolean"
requiredtrue
description"Indicates whether a TwoColConflict resolution page was shown (opposed to the regular edit conflict page)."
isAnon
type"boolean"
requiredtrue
description"Indicates whether the conflict was caused by an anon user."
editCount
type"integer"
requiredtrue
description"Indicates the edit count of the user causing the conflict. 0 for anon users."
pageNs
type"integer"
requiredtrue
description"Indicates the namespace ID the conflcit occoured in."
baseRevisionId
type"integer"
requiredtrue
description"Indicates the baseRevisionId for the conflict, taken from EditPage."
latestRevisionId
type"integer"
requiredtrue
description"Indicates the id of the latest revision of the article at the time of the conflict."
textUser
type"string"
description"Indicates the text that was entered causing the conflict. (deprecated)"
summary
type"string"
description"Edit summary. (deprecated)"
conflictChunks
type"integer"
requiredtrue
description"The number of overlapping edit chunks which diff3 cannot resolve automatically."
conflictChars
type"integer"
requiredtrue
description"Rough count of the number of characters in the "other" side of the conflict, which could not be resolved automatically. Note that conflict workflows will show additional chunks, where there was any difference between the other and your edit."
startTime
type"string"
requiredtrue
description"Timestamp when the editor was first launched."
editTime
type"string"
requiredtrue
description"Timestamp of the base revision, corresponding to baseRevisionId."
pageTitle
type"string"
requiredtrue
description"Article title, without the namespace."
hasJavascript
type"boolean"
requiredtrue
description"Indicates whether Javascript was enabled."