parameters: ()
return_statement: return dict(page=page, history=history)
docstring: show page changelog
docstring_summary: show page changelog
docstring_tokens: show page changelog
function: def page_history():
      """
      show page changelog
      """
      slug = request.args(0) or 'index'
      w = db.plugin_wiki_page
      h = db.plugin_wiki_page_archive
      page = db(w.slug==slug).select().first()
      history = db(h.current_record==page.id).select(orderby=~h.modified_on)
      return dict(page=page, history=history)
function_tokens: def page_history ( ) : slug = request . args ( 0 ) or 'index' w = db . plugin_wiki_page h = db . plugin_wiki_page_archive page = db ( w . slug == slug ) . select ( ) . first ( ) history = db ( h . current_record == page . id ) . select ( orderby = ~ h . modified_on ) return dict ( page = page , history = history )