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
PhantomTech
.
Begin with "raw" set of edits, further filtering and add information to allow filtering based on correlation, filter "correlated"
Toggle Highlighting
SQL
SELECT unfiltered.user_registration AS registered, unfiltered.user_name AS username, unfiltered.user_editcount AS editcount, unfiltered.page_title AS page_title, unfiltered.num_edits AS page_edits_by_user FROM ( SELECT user.user_id, user.user_registration, user.user_name, user.user_editcount, page.page_id, page.page_title, page.page_namespace, COUNT(page.page_id) as num_edits FROM user JOIN actor ON actor.actor_user = user.user_id JOIN revision_userindex ON revision_userindex.rev_actor = actor.actor_id JOIN page ON page.page_id = revision_userindex.rev_page WHERE true # Only scan users who registered after date AND user.user_registration > 20220000000000 # Only scan users who's name matches regex AND user.user_name regexp "^Coop[0-9]{3,}$" GROUP BY user.user_id, page.page_id ) as unfiltered WHERE true # Restrict results to specific namespace # AND unfiltered.page_namespace IN (0) # Filter out pages that have only been edited by one user AND COUNT(unfiltered.page_id) OVER (PARTITION BY unfiltered.page_id) > 1 ORDER BY page_edits_by_user DESC LIMIT 100;
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...