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
Herzi Pinki
.
Count the number of edits on Wikipedia:österreichbezogen pages, where edit_count > 5 and registration in last year
Toggle Highlighting
SQL
USE dewiki_p; SELECT /* SLOW_OK */ DISTINCT a1.actor_name AS user, COUNT(r1.rev_parent_id) as edit_count FROM page AS p1 JOIN categorylinks AS cl1 ON p1.page_id=cl1.cl_from join revision as r1 on p1.page_id = r1.rev_page join actor as a1 on a1.actor_id = r1.rev_actor WHERE # rev_timestamp >= 20200101000000 # (week, -2, GETDATE()) rev_timestamp >= DATE_FORMAT(DATE_ADD(CURRENT_TIMESTAMP(), INTERVAL -2 Week),'%Y%m%d000000') and edit_count > 5 AND a1.actor_name NOT LIKE "%bot%" AND actor_name NOT LIKE "%Bot%" AND cl1.cl_to = "Wikipedia:österreichbezogen" GROUP BY user ORDER BY edit_count 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...