Manual:Hooks/EditPage::attemptSave
From MediaWiki.org
| EditPage::attemptSave | |
|---|---|
| Available from version 1.8.3 Called before an article is saved, that is before insertNewArticle() is called |
|
*Define function: |
function fnMyHook( $editpage ) { ... }
|
*Attach hook: |
$wgHooks['EditPage::attemptSave'][] = 'fnMyHook'; |
| Called from: | EditPage.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:EditPage::attemptSave extensions.
[edit] Details
$editpage - The current EditPage object.