icylamb wrote:
Hello all, I raise this question again cuz I can't find answer for it though I have found a few related topics. I'm not sure if deleting a wiki page is similar to drop a table in SQLObject? Please help, thank you.
----
# Retrieve page by page name
page = Page.byPageName('Some Page')
# Set id to the page's id
id = page.id
# Delete page
Page.delete(id)
----
or
Page.delete(Page.byPageName('Some Page').id)

