def wiki_delete_page(name, *args, **kwargs): if not hasattr(search, 'index_wiki'): return return search.delete_wiki(name)
def wiki_delete_page(page, *args, **kwargs): if not hasattr(search, 'index_wiki'): return return search.delete_wiki(page.name)
def wiki_rename_page_del(page, *args, **kwargs): if not hasattr(search, 'index_wiki'): return return search.delete_wiki(page.name)
def wiki_rename_page(old_name, *args, **kwargs): if not hasattr(search, 'index_wiki'): return return search.delete_wiki(old_name)