PLA-460 adding page_namespace to where for query, handling formatted redirects