|
Oct 29 2008, 2:06 PM EDT
|
|
|
edit |
1 word added
1 word deleted
|
|
Change: overloadableoverridable and should not be called directly.This event is fired 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.ParametersStringcellIDThe identifier for the cell being renamed.Required
View changes from previous version.
(Word count: 135)
|
|
Jun 2 2008, 7:34 PM EDT
|
|
|
edit |
2 words added
|
|
Change: params ="cellID=" + encodeURIComponent(cellID)+ "&title=" + encodeURIComponent(title)+ "&message=" + encodeURIComponent(message);var request = new XMLHttpRequest();request.open( "PUT", "/path/to/renamePage" );request.onreadystatechange = function() {if( request.readyState == 4 )WPCAPI.onpagerename_Callback( request.status == 200 , request.statusText );};request.send(params);return null;};}
View changes from previous version.
(Word count: 135)
|
|
May 21 2008, 5:18 PM EDT
|
|
|
edit |
4 words added
2 words deleted
|
|
Change: params ="cellID=" + encodeURIComponent(cellID)+ "&title=" + encodeURIComponent(title)+ "&message=" + encodeURIComponent(message);var request = new XMLHttpRequest();request.open( "/path/to/renamePage""PUT", "PUT""/path/to/renamePage" );request.onreadystatechange = function() {if( request.readyState == 4 )WPCAPI.onpagerename_Callback( request.status == 200 );};request.send(params);return null;};}
View changes from previous version.
(Word count: 133)
|
|
May 8 2008, 12:45 PM EDT
|
|
|
rename |
No content added or deleted. |
|
Change: Renamed from onpagerename by May 8 2008, 12:45 PM EDT for: Rename
|
|
May 6 2008, 1:02 PM EDT
|
|
|
rename |
No content added or deleted. |
|
Change: Renamed from Rename Page by May 6 2008, 1:02 PM EDT for: Renaming for consistency with other JavaScript API function pages.
|
|
May 5 2008, 8:05 PM EDT
|
|
|
edit |
2 words deleted
|
|
Change: {var params = '?'+ "cellID=" + encodeURIComponent(cellID)+ "&title=" + encodeURIComponent(title)+ "&message=" + encodeURIComponent(message);var request = new XMLHttpRequest();request.open( "/path/to/renamePage", "PUT" );request.onreadystatechange = function() {if( request.readyState == 4 )WPCAPI.onpagerename_Callback( request.status == 200 );};request.send(params);return null;};}
View changes from previous version.
(Word count: 133)
|
|
May 5 2008, 7:57 PM EDT
|
|
|
edit |
115 words added
152 words deleted
|
|
Change: It should be overridden if additional behavior is required in order to rename this page (e.g: rename a pageParametersStringcellIDThe withinidentifier anfor externalthe CMS,cell checkbeing therenamed.RequiredStringtitleThe new title against a blacklist, etc). If asynchronous operationsof are
View changes from previous version.
(Word count: 133)
|
|
Apr 18 2008, 8:28 PM EDT
|
|
|
edit |
1 word added
1 word deleted
|
|
Change: 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
View changes from previous version.
(Word count: 189)
|
|
Apr 18 2008, 8:28 PM EDT
|
|
|
edit |
13 words added
|
|
Change: The following method is called when a user restores a page.Method Reference public static boolean onpagerename() This method is called whenever a user attempts to rename a page, but before the page
View changes from previous version.
(Word count: 189)
|
|
Apr 17 2008, 9:27 PM EDT
|
|
|
move |
No content added or deleted. |
|
Change: Moved by Apr 17 2008, 9:27 PM EDT
|
|
Apr 16 2008, 3:34 PM EDT
|
|
|
move |
No content added or deleted. |
|
Change: Moved by Apr 16 2008, 3:34 PM EDT
|
|
Apr 15 2008, 4:53 PM EDT
|
|
|
edit |
1 word added
1 word deleted
|
|
Change: to be deleted.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.
View changes from previous version.
(Word count: 176)
|
|
Apr 15 2008, 4:51 PM EDT
|
|
|
edit |
5 words added
1 word deleted
|
|
Change: public static boolean onpagerename()onpagerename() This method is called whenever a user attempts to rename a page, but before the page is allowed to be renamed. By
View changes from previous version.
(Word count: 176)
|
|
Apr 15 2008, 4:46 PM EDT
|
|
|
edit |
16 words added
8 words deleted
|
|
Change: to be deleted.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.defer processing until onpagerename_Callback is called.
View changes from previous version.
(Word count: 173)
|
|
Apr 15 2008, 4:40 PM EDT
|
|
|
edit |
163 words added
|
|
Change: This method 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
View changes from previous version.
(Word count: 164)
|
|
Apr 15 2008, 4:32 PM EDT
|
|
|
create |
No content added or deleted. |
|
Change: Created by Apr 15 2008, 4:32 PM EDT for: no reason given
|