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:
980dca3
)
fix first parameter of the ArticleSave* hooks
author
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Mon, 27 Dec 2004 01:40:48 +0000
(
01:40
+0000)
committer
Zheng Zhu
<zhengzhu@users.mediawiki.org>
Mon, 27 Dec 2004 01:40:48 +0000
(
01:40
+0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
3a8e3b7
..
a8e66e3
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-257,14
+257,14
@@
class EditPage {
}
}
}
}
- if (wfRunHooks('ArticleSave', $this, $wgUser, $text, $this->summary,
+ if (wfRunHooks('ArticleSave', $this
->mArticle
, $wgUser, $text, $this->summary,
$this->minoredit, $this->watchthis, $sectionanchor))
{
# update the article here
if($this->mArticle->updateArticle( $text, $this->summary, $this->minoredit,
$this->watchthis, '', $sectionanchor ))
{
$this->minoredit, $this->watchthis, $sectionanchor))
{
# update the article here
if($this->mArticle->updateArticle( $text, $this->summary, $this->minoredit,
$this->watchthis, '', $sectionanchor ))
{
- wfRunHooks('ArticleSaveComplete', $this, $wgUser, $text, $this->summary,
+ wfRunHooks('ArticleSaveComplete', $this
->mArticle
, $wgUser, $text, $this->summary,
$this->minoredit, $this->watchthis, $sectionanchor);
return;
}
$this->minoredit, $this->watchthis, $sectionanchor);
return;
}