"Log client side errors. Currently utilised in Minerva but generic enough that it could be used in other places."
properties
sessionToken
type
"string"
description
"Session token that survives across pages (mw.user.sessionId()), but not browser restarts, used in deterministic user bucketing."
required
true
meta
required
false
type
"object"
description
"Optional and currently unused. Can be populated with arbitary fields for the purposes of debugging known unknown issues with the purpose of obtaining better understanding."
mobileMode
required
true
type
"string"
enum
"stable"
"beta"
"desktop"
description
"False if the user is logged in, true otherwise."
isAnon
required
true
type
"boolean"
description
"False if the user is logged in, true otherwise."
revision
required
true
type
"integer"
description
"The revision ID for the page accessed when the report was generated."
userUrl
required
true
type
"string"
description
"The full url (as in the browser window) at time of error."
wgVersion
required
true
type
"string"
description
"Value of wgVersion."
skin
required
true
type
"string"
description
"The skin."
errorLineNumber
required
true
type
"integer"
description
"The line number of where the report originated."
errorColumnNumber
required
true
type
"integer"
description
"The character offset of where the report originated."
errorUrl
required
false
type
"string"
description
"The JavaScript file where the report originated."
errorStackTrace
required
true
type
"string"
description
"A partial stacktrace that hopefully includes the module and function name where the report originated in MobileFrontend or MinervaNeue. The stack trace is modified to exclude the error URL."