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:
dea0a62
)
Check markbotedits permission on regular rollback as well
author
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 20 Nov 2007 15:22:06 +0000
(15:22 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 20 Nov 2007 15:22:06 +0000
(15:22 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
e982410
..
0e2a992
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-2282,7
+2282,7
@@
class Article {
}
$set = array();
- if ( $bot ) {
+ if ( $bot
&& $wgUser->isAllowed('markbotedits')
) {
# Mark all reverted edits as bot
$set['rc_bot'] = 1;
}