// to the repo with no actual change.
//
toPage = engine.getPage( renameToClean );
if( toPage == null ) throw new InternalWikiException("Rename seems to have failed for some strange reason - please check logs!");
toPage.setAttribute( WikiPage.CHANGENOTE, fromPage.getName() + " ==> " + toPage.getName() );
toPage.setAuthor( context.getCurrentUser().getName() );
engine.getPageManager().putPageText( toPage, engine.getPureText( toPage ) );