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
MusikAnimal
.
Toggle Highlighting
SQL
SELECT 'Total edits' AS `type`, COUNT(*) AS `count` FROM recentchanges WHERE rc_timestamp > DATE_SUB(NOW(), INTERVAL 3 DAY) UNION SELECT 'VisualEditor' AS `type`, COUNT(*) AS `count` FROM recentchanges JOIN change_tag ON ct_rc_id = rc_id WHERE rc_timestamp > DATE_SUB(NOW(), INTERVAL 3 DAY) AND ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'visualeditor') UNION SELECT '2017 wikitext editor' AS `type`, COUNT(*) AS `count` FROM recentchanges JOIN change_tag ON ct_rc_id = rc_id WHERE rc_timestamp > DATE_SUB(NOW(), INTERVAL 3 DAY) AND ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'visualeditor-wikitext') UNION SELECT 'Discussion Tools' AS `type`, COUNT(*) AS `count` FROM recentchanges JOIN change_tag ON ct_rc_id = rc_id WHERE rc_timestamp > DATE_SUB(NOW(), INTERVAL 3 DAY) AND ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'discussiontools') UNION SELECT 'Mobile web edit (wikitext)' AS `type`, COUNT(*) AS `count` FROM recentchanges JOIN change_tag ON ct_rc_id = rc_id WHERE rc_timestamp > DATE_SUB(NOW(), INTERVAL 3 DAY) AND ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'mobile web edit') UNION SELECT 'Mobile app edit' AS `type`, COUNT(*) AS `count` FROM recentchanges JOIN change_tag ON ct_rc_id = rc_id WHERE rc_timestamp > DATE_SUB(NOW(), INTERVAL 3 DAY) AND ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'mobile app edit')
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...