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

    Interface ParsedWikilinkProps<CLS>

    interface ParsedWikilinkProps<CLS> {
        children: Set<number>;
        endIndex: number;
        index: number;
        nestLevel: number;
        parent: null | number;
        skip: boolean;
        startIndex: number;
        text: string;
    }

    Type Parameters

    • CLS

    Hierarchy (View Summary)

    Index

    Properties

    children: Set<number>

    The indices of the child objects within the parseWikilinks result array.

    endIndex: number

    The ending index of this wikilink in the wikitext (exclusive).

    index: number

    The index of this object within the result array returned by parseWikilinks.

    nestLevel: number

    The nesting level of this wikilink. 0 if it is not nested within another wikilink.

    A value of 1 or greater indicates that the wikilink is either incorrectly embedded within another wikilink, or that it serves as part of the thumb text of a file wikilink.

    parent: null | number

    The index of the parent object within the parseWikilinks result array, or null if there is no parent.

    skip: boolean

    Whether the wikilink appears inside an HTML tag specified in SkipTags.

    startIndex: number

    The starting index of this wikilink in the wikitext.

    text: string

    The original text of the wikilink parsed from the wikitext. The value of this property is static.