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

    Interface WikilinkBaseStatic<T>Protected

    The base class for WikilinkStatic and RawWikilinkStatic.

    This interface defines the static members of the WikilinkBase class. For instance members, see WikilinkBase (defined separately due to TypeScript limitations).

    interface WikilinkBaseStatic<T extends string | Title> {
        new WikilinkBaseStatic(title: T, display?: string): WikilinkBase<T>;
    }

    Type Parameters

    Index

    Constructors

    Constructors

    • Creates a new instance.

      Parameters

      • title: T

        The title of the page that the wikilink links to.

      • Optionaldisplay: string

        An optional display text for the wikilink.

      Returns WikilinkBase<T>