text: import frappe
  
  
  def get_context(context):
  
  	frappe.form_dict.revisions = True
  	wiki_settings = frappe.get_single("Wiki Settings")
  	context.banner_image = wiki_settings.logo
  	context.script = wiki_settings.javascript
  	context.docs_search_scope = ""
  	can_edit = frappe.session.user != "Guest"
  	context.can_edit = can_edit
  	context.show_my_account = False
  
  	revisions = frappe.db.get_all(
  		"Wiki Page Revision",
  		filters={"wiki_page": frappe.form_dict.wiki_page},
  		fields=["message", "creation", "owner", "name", "raised_by"],
  	)
  	context.revisions = revisions
  	context.no_cache = 1
  	context.doc = frappe.get_doc("Wiki Page", frappe.form_dict.wiki_page)
  	context.title = "Revisions: " + context.doc.title
  
  	context.doc.set_breadcrumbs(context)
  	return context
  