dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e195fc5
)
watchlist edit form should run UnwatchArticle hooks
author
River Tarnell
<river@users.mediawiki.org>
Sun, 23 Apr 2006 05:19:32 +0000
(
05:19
+0000)
committer
River Tarnell
<river@users.mediawiki.org>
Sun, 23 Apr 2006 05:19:32 +0000
(
05:19
+0000)
includes/SpecialWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/SpecialWatchlist.php
b/includes/SpecialWatchlist.php
index
c8a734e
..
4f37fc0
100644
(file)
--- a/
includes/SpecialWatchlist.php
+++ b/
includes/SpecialWatchlist.php
@@
-90,6
+90,7
@@
function wfSpecialWatchlist( $par ) {
if( $wl->removeWatch() === false ) {
$wgOut->addHTML( "<br />\n" . wfMsg( 'couldntremove', htmlspecialchars($one) ) );
} else {
+ wfRunHooks('UnwatchArticle', array(&$wgUser, new Article($t)));
$wgOut->addHTML( ' (' . htmlspecialchars($one) . ')' );
}
} else {