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

    Interface ParsedFileWikilinkStaticPrivate

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

    This class is exclusive to Wikitext.parseWikilinks. It represents a well-formed [[wikilink]] markup with a valid file 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 malformed [[wikilink]] markup with an invalid title, see ParsedRawWikilinkStatic.

    This class differs from ParsedWikilink and ParsedRawWikilink in that:

    • It extends the FileWikilink class.
    • (Compared to ParsedWikilink) its instances have methods related to the parameter texts.
    • (Compared to ParsedRawWikilink) the title property is an instace of Title instead of a string.

    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 ParsedFileWikilinkStatic {
        new ParsedFileWikilinkStatic(
            initializer: ParsedFileWikilinkInitializer,
        ): ParsedFileWikilink;
    }

    Hierarchy

    Index

    Constructors

    Constructors