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:
b15aa02
)
Right, *this* was the vulnerability that existed. Users couldn't mark the other...
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Thu, 10 Jan 2008 19:27:49 +0000
(19:27 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Thu, 10 Jan 2008 19:27:49 +0000
(19:27 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
e5f0bc7
..
0481f2d
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-2368,7
+2368,7
@@
class Article {
if ($wgUser->isAllowed('minoredit'))
$flags |= EDIT_MINOR;
- if( $bot )
+ if( $bot
&& ($wgUser->isAllowed('markbotedits') || $wgUser->isAllowed('bot'))
)
$flags |= EDIT_FORCE_BOT;
$this->doEdit( $target->getText(), $summary, $flags );