Thread:Extension talk:SemanticMailMerge/Query for all pages with ask where format=mailmerge?/reply

Have a look at the help page on querying for queries.