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:
9967fe8
)
Coding conventions - spacing
author
Rob Church
<robchurch@users.mediawiki.org>
Fri, 6 Jul 2007 16:44:14 +0000
(16:44 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Fri, 6 Jul 2007 16:44:14 +0000
(16:44 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
0cb007a
..
e8ab1b2
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-2263,9
+2263,9
@@
class Article {
$wgOut->addHTML( '<h2>' . htmlspecialchars( $newComment ) . "</h2>\n<hr />\n" );
$flags = EDIT_UPDATE | EDIT_MINOR;
- if(
$bot
)
+ if(
$bot
)
$flags |= EDIT_FORCE_BOT;
- if(
!$this->doEdit( $target->getText(), $newComment, $flags)
)
+ if(
!$this->doEdit( $target->getText(), $newComment, $flags )
)
; # todo: this error case has not been handled? Use db transactions?
$wgOut->returnToMain( false );