Right, *this* was the vulnerability that existed. Users couldn't mark the other...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 10 Jan 2008 19:27:49 +0000 (19:27 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 10 Jan 2008 19:27:49 +0000 (19:27 +0000)
includes/Article.php

index e5f0bc7..0481f2d 100644 (file)
@@ -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 );