pageTitle | type | "string" |
---|
description | "The title of the page." |
---|
required | true |
---|
|
---|
namespaceId | type | "integer" |
---|
required | true |
---|
description | "Namespace ID of the page." |
---|
|
---|
isAnon | type | "boolean" |
---|
description | "Is the user viewing anonymously?" |
---|
required | true |
---|
|
---|
skin | type | "string" |
---|
enum | "vector" |
"minerva" |
"other" |
|
---|
description | "Skin being used by reader. When used skin is not minerva nor vector 'other' will be stored" |
---|
required | true |
---|
|
---|
action | type | "string" |
---|
enum | "shownPrintButton" |
"clickPrintableVersion" |
"onBeforePrint" |
|
---|
description | "`clickPrintableVersion` happens when the user clicks on 'printable version'. `onBeforePrint` happens when the browser emits 'onbeforeprint'. `shownPrintButton` will be triggered when Minerva adds a print button to the display. In Vector this is always visible so is not fired." |
---|
required | true |
---|
|
---|
sessionToken | type | "string" |
---|
description | "Session token that survives across pages (mw.user.sessionId()), but not browser restarts." |
---|
required | true |
---|
|
---|