Recent mod actions on questions by a specific user


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing

--actions that can only be done by moderators
--answers can be made CW by regular users, but not questions
SELECT TOP(##num?100##)
  ph.UserId AS [User Link],
  ph.PostId AS [Post Link],
          ) [Revisions Link]
FROM PostHistory ph INNER JOIN Posts p ON ph.PostId=p.Id
WHERE p.PostTypeId=1
  AND ph.UserId=##userid?1##  
  AND ph.PostHistoryTypeId IN (##list?14,15,16,37,38,53##)
ORDER BY ph.CreationDate DESC

--14 = Post Locked - post locked by moderator
--15 = Post Unlocked - post unlocked by moderator
--16 = Community Owned - post now community owned
--QUESTION can only be made CW by a moderator (so I look only at question; PostTypeId=1)
--37 = Post merge source
--38 = Post merge destination
--53 = Question removed from hot network questions by a moderator

Enter Parameters

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