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:
62a7da6
)
*Don't call ArticleSaveComplete if the edit did not go through and no updates (even...
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 3 Sep 2007 04:19:53 +0000
(
04:19
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 3 Sep 2007 04:19:53 +0000
(
04:19
+0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
5c242cc
..
7ba55c5
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1473,8
+1473,10
@@
class Article {
wfDoUpdates();
}
- wfRunHooks( 'ArticleSaveComplete', array( &$this, &$wgUser, $text, $summary,
- $flags & EDIT_MINOR, null, null, &$flags, $revision ) );
+ if ( $good ) {
+ wfRunHooks( 'ArticleSaveComplete', array( &$this, &$wgUser, $text, $summary,
+ $flags & EDIT_MINOR, null, null, &$flags, $revision ) );
+ }
wfProfileOut( __METHOD__ );
return $good;