'Retrieve a list of wiki pages in this subreddit'

@require_oauth2_scope('wikiread')
@api_doc(api_section.wiki, uri='/wiki/pages', uses_site=True)
def GET_wiki_listing(self):

    def check_hidden(page):
        return (page.listed and this_may_view(page))
    (pages, linear_pages) = WikiPage.get_listing(c.site, filter_check=check_hidden)
    return WikiListing(pages, linear_pages).render()
