Manual:Hooks/ArticleRollbackComplete
From MediaWiki.org
| ArticleRollbackComplete | |
|---|---|
| Available from version 1.12.0 Executes after an article rollback is complete |
|
*Define function: |
function fnMyHook( &$article, $user, $revision ) { ... }
|
*Attach hook: |
$wgHooks['ArticleRollbackComplete'][] = 'fnMyHook'; |
| Called from: | Article.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:ArticleRollbackComplete extensions.
[edit] Details
- $article: the article that was edited
- $user: the user who did the rollback
- $revision: the revision the page was reverted back to