Rewrite some methods in Wiki using QueryTools. This is part of a
continued effort to make the query system more efficient and friendly to
advanced users.