wdpr
    Preparing search index...

    Module parser/rules/block/module/listpages/normalize

    Query normalization for the ListPages module.

    Converts the raw string-based ListPagesQuery (where fields like tags, category, and order are plain strings) into a NormalizedListPagesQuery with type-safe structured objects. This makes it straightforward for external applications to build database queries from the normalized representation without having to re-parse Wikidot's query syntax.

    Based on Wikidot official documentation: https://www.wikidot.com/doc-modules:listpages-module

    Functions

    normalizeQuery
    parseCategory
    parseDateSelector
    parseNumericSelector
    parseOrder
    parseParent
    parseTags