diff options
-rwxr-xr-x | show-edit-counts.rb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/show-edit-counts.rb b/show-edit-counts.rb index bcd5a3c..6065abd 100755 --- a/show-edit-counts.rb +++ b/show-edit-counts.rb @@ -19,18 +19,7 @@ while not aufrom.nil? do :aulimit => 5000, :aufrom => aufrom) for user in audata['query']['allusers'] - if user['editcount'] == 0 - # optimize 0 edits means we don't need to count how many aren't deleted - print "name: #{user['name']}\tregistration: #{user['registration']}\ttotal_editcount: 0\texisting_editcount: 0" - if user['blockid'].nil? - print "\n" - else - print "\tblockreason: #{user['blockreason']}\n" - end - else - # queue this user for counting how many live edits they have - userqueue.push(user) - end + userqueue.push(user) end aufrom = (audata['query-continue'].nil?) ? nil : audata['query-continue']['allusers']['aufrom'] end |