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

    Interface ExclusionComplianceConfig

    Additional options for Mwbot.edit.

    interface ExclusionComplianceConfig {
        complianceTypes?: string | string[];
        comply?: boolean;
    }
    Index

    Properties

    complianceTypes?: string | string[]

    The message type(s) this edit is associated with. If the page includes a {{bots|optout=}} template that matches any of the specified types, the edit attempt will fail with a botdenied error.

    Ignored unless comply is set to true.

    comply?: boolean

    Whether to comply with bot exclusions by automatically detecting {{bots}} and {{nobots}} templates. (Default: false)

    If the target page opts out of bot edits, the attempt will fail with a botdenied error.