From: Roan Kattouw Date: Tue, 20 Nov 2007 15:22:06 +0000 (+0000) Subject: Check markbotedits permission on regular rollback as well X-Git-Tag: 1.31.0-rc.0~50780 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=134ce61c5adbcf084a353d037c03bdb8046ce07e;p=lhc%2Fweb%2Fwiklou.git Check markbotedits permission on regular rollback as well --- diff --git a/includes/Article.php b/includes/Article.php index e982410c8a..0e2a9928cd 100644 --- 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; }