Optional
ascii
ascii?: boolean
Optional
assert
assert?: "user" | "bot" | "anon"
Optional
assertuser
assertuser?: string
Optional
callback
callback?: string
Optional
centralauthtoken
centralauthtoken?: string
Optional
contentformat
contentformat?:
| "application/json"
| "application/octet-stream"
| "application/unknown"
| "application/x-binary"
| "text/css"
| "text/javascript"
| "text/plain"
| "text/unknown"
| "text/x-wiki"
| "unknown/unknown"
Optional
contentmodel
contentmodel?:
| "json"
| "wikitext"
| "text"
| "GadgetDefinition"
| "JsonSchema"
| "MassMessageListContent"
| "Scribunto"
| "SecurePoll"
| "css"
| "javascript"
| "sanitized-css"
| "unknown"
Optional
curtimestamp
curtimestamp?: boolean
Optional
disableeditsection
disableeditsection?: boolean
Optional
disablelimitreport
disablelimitreport?: boolean
Optional
disablepp
disablepp?: boolean
Optional
disablestylededuplication
disablestylededuplication?: boolean
Optional
disabletoc
disabletoc?: boolean
Optional
effectivelanglinks
effectivelanglinks?: boolean
errorformat?: "none" | "bc" | "html" | "plaintext" | "raw" | "wikitext"
Optional
errorlang
errorlang?: string
Optional
errorsuselocal
errorsuselocal?: boolean
format?: "json" | "jsonfm" | "xml" | "xmlfm" | "php" | "none"
formatversion?: "1" | "2" | "latest"
Optional
generatexml
generatexml?: boolean
Optional
maxage
maxage?: number
Optional
maxlag
maxlag?: number
Optional
oldid
oldid?: number
Optional
onlypst
onlypst?: boolean
Optional
origin
origin?: string
Optional
page
page?: string
Optional
pageid
pageid?: number
Optional
parsoid
parsoid?: boolean
Optional
preview
preview?: boolean
Optional
prop
prop?: MultiValue< | "wikitext" | "text" | "revid" | "categories" | "categorieshtml" | "displaytitle" | "encodedjsconfigvars" | "externallinks" | "headhtml" | "images" | "indicators" | "iwlinks" | "jsconfigvars" | "langlinks" | "limitreportdata" | "limitreporthtml" | "links" | "modules" | "parsetree" | "parsewarnings" | "parsewarningshtml" | "properties" | "sections" | "subtitle" | "templates" | "headitems",> Optional
redirects
redirects?: boolean
Optional
requestid
requestid?: string
Optional
responselanginfo
responselanginfo?: boolean
Optional
revid
revid?: number
Optional
section
section?: string
Optional
sectionpreview
sectionpreview?: boolean
Optional
sectiontitle
sectiontitle?: string
Optional
servedby
servedby?: boolean
Optional
showstrategykeys
showstrategykeys?: boolean
Optional
smaxage
smaxage?: number
Optional
summary
summary?: string
Optional
templatesandboxcontentformat
templatesandboxcontentformat?:
| "application/json"
| "application/octet-stream"
| "application/unknown"
| "application/x-binary"
| "text/css"
| "text/javascript"
| "text/plain"
| "text/unknown"
| "text/x-wiki"
| "unknown/unknown"
Optional
templatesandboxcontentmodel
templatesandboxcontentmodel?:
| "json"
| "wikitext"
| "text"
| "GadgetDefinition"
| "JsonSchema"
| "MassMessageListContent"
| "Scribunto"
| "SecurePoll"
| "css"
| "javascript"
| "sanitized-css"
| "unknown"
Optional
templatesandboxprefix
templatesandboxprefix?: string | string[]
Optional
templatesandboxtext
templatesandboxtext?: string
Optional
templatesandboxtitle
templatesandboxtitle?: string
Optional
text
text?: string
Optional
title
title?: string
Optional
uselang
uselang?: string
Optional
useskin
useskin?:
| "apioutput"
| "cologneblue"
| "contenttranslation"
| "fallback"
| "minerva"
| "modern"
| "monobook"
| "timeless"
| "vector"
| "vector-2022"
Optional
utf8
utf8?: boolean
Optional
wrapoutputclass
wrapoutputclass?: string