def GET_wiki_listing(self): def check_hidden(page): g.log.debug("Got here %s" % str(this_may_view(page))) return this_may_view(page) pages = WikiPage.get_listing(c.site, filter_check=check_hidden) return WikiListing(pages).render()
def GET_wiki_listing(self): """Retrieve a list of wiki pages in this subreddit""" 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()
def GET_wiki_listing(self): """Retrieve a list of wiki pages in this subreddit""" 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()
def GET_wiki_listing(self): def check_hidden(page): return this_may_view(page) pages, linear_pages = WikiPage.get_listing(c.site, filter_check=check_hidden) return WikiListing(pages, linear_pages).render()
def GET_wiki_listing(self): def check_hidden(page): g.log.debug("Got here %s" % str(this_may_view(page))) return this_may_view(page) pages = WikiPage.get_listing(c.site, filter_check=check_hidden) return WikiListing(pages).render()
def GET_wiki_listing(self): def check_hidden(page): return this_may_view(page) pages, linear_pages = WikiPage.get_listing(c.site, filter_check=check_hidden) return WikiListing(pages, linear_pages).render()