Manual:Hooks/UndeleteShowRevision
From MediaWiki.org
| UndeleteShowRevision | |
|---|---|
| Available from version 1.9.0 called when showing a revision in Special:Undelete |
|
*Define function: |
function fnMyHook( $title, $row ) { ... }
|
*Attach hook: |
$wgHooks['UndeleteShowRevision'][] = 'fnMyHook'; |
| Called from: | SpecialUndelete.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:UndeleteShowRevision extensions.
[edit] Details
$title: title object related to the revision $rev: revision (object) that will be viewed