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:
Build a VariableContext with page data, index, total count, and site info
Execute the compiled template to produce a wikitext string
Re-parse the wikitext string into AST elements
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).
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:
VariableContextwith page data, index, total count, and site infodiv.list-pages-item(whenseparate=true)The final result may also include prepend/append lines and be wrapped in a
div.list-pages-box(whenwrapper=true).