Top Tag Wiki Editors

0

Please login or register to vote for this query.

(click on this box to dismiss)

The users responsible for the largest amount of tag wiki edits (more than 10 edits)

Drupal Answers

Q&A for Drupal developers and administrators

select 
    UserId [User Link], u.Reputation,
 --   case when PostTypeId = 4 then 'excerpt' else 'wiki' end, 
    count(distinct PostId)
from PostHistory
join Posts p on p.Id = PostId
join Users u on PostHistory.UserId = u.Id
where PostHistoryTypeId in (2,5) and PostTypeId in (5) and UserId <> -1
group by UserId, u.Reputation
--, PostTypeId
having count(distinct PostId) > 10
order by  count(distinct PostId) desc

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results