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
Jmorgan (WMF)
.
Edits to commons excluding the File namespace by WMF staff, bucketed by year and month.
Toggle Highlighting
SQL
SELECT EXTRACT(Year from DATE_FORMAT(rev_timestamp,'%Y%m%d%H%i%s')) as `year`, EXTRACT(Month from DATE_FORMAT(rev_timestamp,'%Y%m%d%H%i%s')) as `month`, COUNT(rev_id) AS staff_edits FROM commonswiki_p.revision_userindex r INNER JOIN commonswiki_p.page AS p ON r.rev_page = p.page_id WHERE p.page_namespace IN (3, 5, 7) #Commons, File, and User talk namespaces AND r.rev_actor IN (2386505, 61485, 49687) #is a staff account GROUP BY `year`, `month` ORDER BY `year` ASC, `month` ASC;
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...