This query is marked as a draft This query has been published by BilledMammal.

SQL

x
 
WITH actors AS (
  SELECT DISTINCT(rev_actor), COUNT(*) as contributions
  FROM page
  JOIN revision ON rev_page = page_id
  JOIN comment ON rev_comment_id = comment_id
  WHERE page_namespace = 0
  AND page_is_redirect = 0
  AND rev_timestamp > 20220701000000
  AND rev_timestamp < 20220901000000
  AND comment_text LIKE "%#WPWP%"
  GROUP BY rev_actor
)
SELECT actor_name, contributions, (CASE WHEN user_editcount > 499 THEN "Extended-confirmed" ELSE "Not extended-confirmed" END) AS "EXC Status"
FROM actors
JOIN actor ON rev_actor = actor_id
JOIN user ON actor_user = user_id
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...