Outcome of status-review s by the tagger

1

Please login or register to vote for this query.

(click on this box to dismiss)

We see the posts which were (re)tagged as "status-review" in their post history. We group them by their _current_ status-* tagging and by the re-tagger user. So we can estimate the likely outcome of a change request, from the re-tagger SE employee.

Drupal Answers

Q&A for Drupal developers and administrators

WITH Raw AS (
  SELECT
    Id,
    PostId,
    Text AS Tags,
    UserId,
    RANK() OVER (PARTITION BY PostId ORDER BY Id) AS No
  FROM PostHistory
  WHERE
    PostHistoryTypeId IN (3, 6, 9)
)
SELECT N.UserId AS [User Link], Tags.TagName, COUNT(*) AS Count
FROM Raw C, Raw N, PostTags, Tags
WHERE
  C.PostId = N.PostId
  AND
  C.No + 1 = N.No
  AND
  C.Tags NOT LIKE '%<status-review>%'
  AND
  N.Tags LIKE '%<status-review>%'
  AND
  C.PostId = PostTags.PostId
  AND
  PostTags.TagId = Tags.Id
  AND
  Tags.TagName LIKE 'status-%'
GROUP BY N.UserId, Tags.TagName
ORDER BY N.UserId, Tags.TagName;

Enter Parameters

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