Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Android #suggestededit-add-image edits by wiki
by
SNowick (WMF)
This query is marked as a draft
This query has been published
by
SNowick (WMF)
.
Android #suggestededit-add-image edits by wiki
Toggle Highlighting
SQL
SELECT COUNT(DISTINCT r.rev_id) AS n_edits, SUM(CASE WHEN array_contains(ctd_name, 'mw-reverted' THEN 1 ELSE 0 END) AS n_reverted FROM revision r JOIN actor a ON rev_actor = actor_id JOIN page p ON r.rev_page = p.page_id JOIN change_tag ct ON ct_rev_id = rev_id JOIN comment ON comment_id = r.rev_comment_id LEFT JOIN change_tag_def tdef ON ct.ct_tag_id = tdef.ctd_id -- WHERE ct_tag_id IN (SELECT ctd_id -- FROM change_tag_def WHERE ctd_name IN ('android app edit', 'mw-reverted') AND comment_text LIKE '%#suggestededit-add-image%' AND r.rev_timestamp > 20231001000000
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...