Top tag wiki editors

0

Please login or register to vote for this query.

(click on this box to dismiss)

Total number of tag wiki edits by user

Academia Meta

Q&A about the site for academics and those enrolled in higher education

-- Top tag wiki editors
-- Total number of tag wiki edits by user

-- Eliminate edits by Community (who creates tag wikis for unprivileged users
-- to be able to suggest edits) and edits not belonging to a user (which are
-- actually accepts or rejects).
-- I think rejected suggestions also show up in the list — improvements welcome.

SELECT
    ph.UserId as [User Link],
    Count(*) As Total
FROM PostHistory ph
INNER JOIN Posts p ON ph.PostId = p.Id
WHERE p.PostTypeId = 3
  AND IsNull(ph.UserId, -1) <> -1
GROUP BY ph.UserId
HAVING Count(*) >= 2
ORDER BY Total DESC

Enter Parameters

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