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

    Interface ParsedRawWikilinkStaticPrivate

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

    This class is exclusive to Wikitext.parseWikilinks. It represents a malformed [[wikilink]] markup with an invalid title. For the class that represents a well-formed [[wikilink]] markup with a valid non-file title, see ParsedWikilinkStatic, and for the class that represents a well-formed [[wikilink]] markup with a valid file title, see ParsedFileWikilinkStatic.

    This class differs from ParsedWikilink and ParsedFileWikilink in that:

    • It extends the RawWikilink class.
    • (Compared to ParsedFileWikilink) its instances have methods related to the display text.
    • The title property is a string instead of an instace of Title.

    The constructor of this class is inaccessible, and instances can only be referenced in the result of parseTemplates.

    To check if an object is an instance of this class, use WikilinkStatic.is.

    Important:

    The instance properties of this class are pseudo-read-only, in the sense that altering them does not affect the behaviour of Wikitext.modifyWikilinks.

    interface ParsedRawWikilinkStatic {
        new ParsedRawWikilinkStatic(
            initializer: ParsedRawWikilinkInitializer,
        ): ParsedRawWikilink;
    }

    Hierarchy

    Index

    Constructors

    Constructors

    • Private

      Parameters

      • initializer: ParsedRawWikilinkInitializer

      Returns ParsedRawWikilink