(query) ( params -- obj assoc )


Vocabulary
mediawiki.api.private

Inputs
paramsan object


Outputs
objan object
assocan object


Definition


:: (query) ( params -- obj assoc )
{ { "action" "query" } } params assoc-union api-call dup
[ "query" of ] transmute "siprop" params key?
[ params { "prop" "list" "meta" } values-of sift first of ]
unless swap ;