wdpr
    Preparing search index...

    Module parser/rules/block/module/listpages/resolve

    ListPages module resolution (phase 3 of the ListPages lifecycle).

    After the application has fetched page data based on the extracted requirements, this module substitutes that data into the pre-compiled templates and re-parses the resulting wikitext to produce final AST elements.

    For each page in the fetched data:

    1. Build a VariableContext with page data, index, total count, and site info
    2. Execute the compiled template to produce a wikitext string
    3. Re-parse the wikitext string into AST elements
    4. Optionally wrap each item in a div.list-pages-item (when separate=true)

    The final result may also include prepend/append lines and be wrapped in a div.list-pages-box (when wrapper=true).

    Type Aliases

    ListPagesModuleData

    Functions

    isListPagesModule
    resolveListPages

    References

    ParseFunction → ParseFunction