Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Most active users by edits on plwiki in last 12 months
by
Emptywords
This query is marked as a draft
This query has been published
by
MGA73
.
Toggle Highlighting
SQL
SELECT CONCAT("[[user:", actor_name, "|", actor_name, "]]") AS rev_user_text, user_editcount AS total_edits, SUM(CASE WHEN rev_timestamp BETWEEN 20240101000000 AND 20241231235959 THEN 1 ELSE 0 END) AS edits_last_year, SUM(CASE WHEN rev_timestamp BETWEEN 20241201000000 AND 20241231235959 THEN 1 ELSE 0 END) AS edits_last_month FROM revision JOIN actor ON rev_actor = actor_id JOIN page ON rev_page = page_id JOIN user ON actor_user = user_id WHERE page_namespace = 0 AND actor_user IS NOT NULL AND rev_timestamp BETWEEN 20240101000000 AND 20241231235959 GROUP BY actor_id, user_editcount ORDER BY total_edits DESC LIMIT 500;
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...