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
DreZhsh
.
Toggle Highlighting
SQL
SELECT actor_name AS user_name, COUNT(rev_id) AS num_edits FROM revision, actor, page, user_groups # Page test WHERE page_id = rev_page AND ( page_content_model = 'javascript' OR page_content_model = 'css' OR page_title = "Gadgets-definition" ) AND ( page_namespace = 2 OR page_namespace = 8 ) # User test AND ug_user = actor_user AND ug_group = 'interface-admin' AND actor_id = rev_actor AND page_title NOT REGEXP CONCAT( actor_name, '\/.+\.(js|css)$' ) # Date test AND rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 YEAR) GROUP BY user_name ORDER BY num_edits DESC
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...