The users responsible for the largest amount of tag wiki edits (more than 10 edits)
Q&A for Drupal developers and administrators
select UserId [User Link], case when PostTypeId = 4 then 'excerpt' else 'wiki' end, count(distinct PostId) from PostHistory join Posts p on p.Id = PostId where PostHistoryTypeId in (2,5) and PostTypeId in (4,5) and UserId <> -1 group by UserId, PostTypeId having count(distinct PostId) > 20 order by UserId, PostTypeId desc, count(distinct PostId) desc