mwbot-ts - v1.3.2
    Preparing search index...

    Interface ApiParamsActionParse

    interface ApiParamsActionParse {
        action?: ApiParamsAction;
        ascii?: boolean;
        assert?: "user" | "bot" | "anon";
        assertuser?: string;
        callback?: string;
        centralauthtoken?: string;
        contentformat?:
            | "application/json"
            | "application/octet-stream"
            | "application/unknown"
            | "application/x-binary"
            | "text/css"
            | "text/javascript"
            | "text/plain"
            | "text/unknown"
            | "text/x-wiki"
            | "unknown/unknown";
        contentmodel?: | "json"
        | "wikitext"
        | "text"
        | "GadgetDefinition"
        | "JsonSchema"
        | "MassMessageListContent"
        | "Scribunto"
        | "SecurePoll"
        | "css"
        | "javascript"
        | "sanitized-css"
        | "unknown";
        curtimestamp?: boolean;
        disableeditsection?: boolean;
        disablelimitreport?: boolean;
        disablepp?: boolean;
        disablestylededuplication?: boolean;
        disabletoc?: boolean;
        effectivelanglinks?: boolean;
        errorformat?: "none"
        | "bc"
        | "html"
        | "plaintext"
        | "raw"
        | "wikitext";
        errorlang?: string;
        errorsuselocal?: boolean;
        format?: "json" | "jsonfm" | "xml" | "xmlfm" | "php" | "none";
        formatversion?: "1" | "2" | "latest";
        generatexml?: boolean;
        maxage?: number;
        maxlag?: number;
        mobileformat?: boolean;
        oldid?: number;
        onlypst?: boolean;
        origin?: string;
        page?: string;
        pageid?: number;
        parsoid?: boolean;
        preview?: boolean;
        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",
        >;
        pst?: boolean;
        redirects?: boolean;
        requestid?: string;
        responselanginfo?: boolean;
        revid?: number;
        section?: string;
        sectionpreview?: boolean;
        sectiontitle?: string;
        servedby?: boolean;
        showstrategykeys?: boolean;
        smaxage?: number;
        summary?: string;
        templatesandboxcontentformat?: | "application/json"
        | "application/octet-stream"
        | "application/unknown"
        | "application/x-binary"
        | "text/css"
        | "text/javascript"
        | "text/plain"
        | "text/unknown"
        | "text/x-wiki"
        | "unknown/unknown";
        templatesandboxcontentmodel?: | "json"
        | "wikitext"
        | "text"
        | "GadgetDefinition"
        | "JsonSchema"
        | "MassMessageListContent"
        | "Scribunto"
        | "SecurePoll"
        | "css"
        | "javascript"
        | "sanitized-css"
        | "unknown";
        templatesandboxprefix?: string
        | string[];
        templatesandboxtext?: string;
        templatesandboxtitle?: string;
        text?: string;
        title?: string;
        uselang?: string;
        useskin?:
            | "apioutput"
            | "cologneblue"
            | "contenttranslation"
            | "fallback"
            | "minerva"
            | "modern"
            | "monobook"
            | "timeless"
            | "vector"
            | "vector-2022";
        utf8?: boolean;
        wrapoutputclass?: string;
        [param: string]: | undefined
        | string
        | number
        | boolean
        | (string | number)[]
        | Date;
    }

    Hierarchy (View Summary)

    Indexable

    • [param: string]: undefined | string | number | boolean | (string | number)[] | Date
    Index

    Properties

    ascii?: boolean
    assert?: "user" | "bot" | "anon"
    assertuser?: string
    callback?: string
    centralauthtoken?: string
    contentformat?:
        | "application/json"
        | "application/octet-stream"
        | "application/unknown"
        | "application/x-binary"
        | "text/css"
        | "text/javascript"
        | "text/plain"
        | "text/unknown"
        | "text/x-wiki"
        | "unknown/unknown"
    contentmodel?:
        | "json"
        | "wikitext"
        | "text"
        | "GadgetDefinition"
        | "JsonSchema"
        | "MassMessageListContent"
        | "Scribunto"
        | "SecurePoll"
        | "css"
        | "javascript"
        | "sanitized-css"
        | "unknown"
    curtimestamp?: boolean
    disableeditsection?: boolean
    disablelimitreport?: boolean
    disablepp?: boolean
    disablestylededuplication?: boolean
    disabletoc?: boolean
    effectivelanglinks?: boolean
    errorformat?: "none" | "bc" | "html" | "plaintext" | "raw" | "wikitext"
    errorlang?: string
    errorsuselocal?: boolean
    format?: "json" | "jsonfm" | "xml" | "xmlfm" | "php" | "none"
    formatversion?: "1" | "2" | "latest"
    generatexml?: boolean
    maxage?: number
    maxlag?: number
    mobileformat?: boolean
    oldid?: number
    onlypst?: boolean
    origin?: string
    page?: string
    pageid?: number
    parsoid?: boolean
    preview?: boolean
    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",
    >
    pst?: boolean
    redirects?: boolean
    requestid?: string
    responselanginfo?: boolean
    revid?: number
    section?: string
    sectionpreview?: boolean
    sectiontitle?: string
    servedby?: boolean
    showstrategykeys?: boolean
    smaxage?: number
    summary?: string
    templatesandboxcontentformat?:
        | "application/json"
        | "application/octet-stream"
        | "application/unknown"
        | "application/x-binary"
        | "text/css"
        | "text/javascript"
        | "text/plain"
        | "text/unknown"
        | "text/x-wiki"
        | "unknown/unknown"
    templatesandboxcontentmodel?:
        | "json"
        | "wikitext"
        | "text"
        | "GadgetDefinition"
        | "JsonSchema"
        | "MassMessageListContent"
        | "Scribunto"
        | "SecurePoll"
        | "css"
        | "javascript"
        | "sanitized-css"
        | "unknown"
    templatesandboxprefix?: string | string[]
    templatesandboxtext?: string
    templatesandboxtitle?: string
    text?: string
    title?: string
    uselang?: string
    useskin?:
        | "apioutput"
        | "cologneblue"
        | "contenttranslation"
        | "fallback"
        | "minerva"
        | "modern"
        | "monobook"
        | "timeless"
        | "vector"
        | "vector-2022"
    utf8?: boolean
    wrapoutputclass?: string