Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Lucas Werkmeister (WMDE)
.
Toggle Highlighting
SQL
SET @lang = 'cy'; SELECT actor_name, COUNT(*) AS total, SUM(comment_text LIKE '/* wbsetlabel-add:%') AS added, SUM(comment_text LIKE '/* wbsetlabel-set:%') AS changed, SUM(comment_text LIKE '/* wbsetlabel-remove:%') AS removed, DATE_FORMAT(MIN(rev_timestamp), "%Y-%m-%d") AS since, DATE_FORMAT(MAX(rev_timestamp), "%Y-%m-%d") AS until FROM revision JOIN comment ON rev_comment_id = comment_id JOIN actor ON rev_actor = actor_id JOIN page ON rev_page = page_id WHERE page_namespace = 120 -- Property: AND ( comment_text LIKE CONCAT('/* wbsetlabel-add:1|', @lang, ' */%') OR comment_text LIKE CONCAT('/* wbsetlabel-set:1|', @lang, ' */%') OR comment_text LIKE CONCAT('/* wbsetlabel-remove:1|', @lang, ' */%') ) GROUP BY actor_name ORDER BY COUNT(*) DESC LIMIT 10;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...