Version User Scope of changes
Apr 18 2008, 8:28 PM EDT ryan_wetpaint 1 word added, 1 word deleted
Apr 18 2008, 8:28 PM EDT ryan_wetpaint 13 words added

Changes

Key:  Additions   Deletions
The following method is called when a user restoresrenames a page.

Method Reference

public static boolean onpagerename()

This method is called whenever a user attempts to rename a page, but before the page is allowed to be renamed. By default, this method simply allows the renaming to occur. It should be overridden if additional behavior is required in order to rename this page (e.g: rename a page within an external CMS, check the new title against a blacklist, etc).

If asynchronous operations are performed during this method, then return null to defer processing until the asynchronous operations have completed. Call onpagerename_Callback with a boolean parameter corresponding to this method's return value when processing should continue. A second parameter containing a failure
message may also be passed if denying the action.

Parameters:
cellID String The identifier for the cell on the page to be renamed.
title String The new title for the page.
message String The reason provided by the user for renaming the page.

Returns:
true to allow the page rename action.
false to deny the page rename action.
null to defer processing until onpagerename_Callback is called.