dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info
[lhc/web/wiklou.git]
/
includes
/
SpecialUndelete.php
diff --git
a/includes/SpecialUndelete.php
b/includes/SpecialUndelete.php
index
888661b
..
a837eaf
100644
(file)
--- a/
includes/SpecialUndelete.php
+++ b/
includes/SpecialUndelete.php
@@
-431,8
+431,10
@@
class PageArchive {
}
if( $newid ) {
+ wfRunHooks( 'ArticleUndelete', array( &$this->title, true ) );
Article::onArticleCreate( $this->title );
} else {
+ wfRunHooks( 'ArticleUndelete', array( &$this->title, false ) );
Article::onArticleEdit( $this->title );
}
} else {