Get Action Reverts a page to a specific version
Get Parameters
- pageName - The name of the page to revert
- version - The version to revert to
Server Side Javascript for GET method
if(typeof(pageName)=="undefined")
{
transaction.setResult(transaction.SHOW_PAGE);
}
else
{
version = transaction.getParameter("version");
wiki.revert(pageName,version);
transaction.goToPage(pageName);
}