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

    Interface ParseWikilinksConfig

    Configuration options for Wikitext.parseWikilinks.

    interface ParseWikilinksConfig {
        titlePredicate?: (title: string | Title) => boolean;
        wikilinkPredicate?: (wikilink: DoubleBracketedClasses) => boolean;
    }
    Index

    Properties

    titlePredicate?: (title: string | Title) => boolean

    A predicate function to filter wikilinks by title. Only wikilinks whose titles satisfy this function will be included in the results.

    Type declaration

    wikilinkPredicate?: (wikilink: DoubleBracketedClasses) => boolean

    A predicate function to filter parsed wikilinks. Only wikilinks that satisfy this function will be included in the results.

    Type declaration