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
African Hope
.
Toggle Highlighting
SQL
SET @participants = ("Yasield,Tways2017,Abiba Pauline,Kod_B,Peny99, Petrus yh,Aya.ndja,Koffi.noel,Lamagniguitoure,Aristidek5maya"); SELECT a.actor_name AS Contributors, COUNT(p.page_title) AS Edits, COUNT(DISTINCT p.page_title) AS Articles FROM # get edits by users frwikiquote_p.revision_userindex r # get get edits by users LEFT JOIN frwikiquote_p.page p ON r.rev_page = p.page_id # get user details from actor table LEFT JOIN frwikiquote_p.actor a on r.rev_actor = a.actor_id WHERE # Filter by date range: from March 5, 2019 to March 05, 2020 (r.rev_timestamp BETWEEN 20190305000001 AND 20200305235959) AND FIND_IN_SET (a.actor_name , @participants) GROUP BY Contributors ORDER BY Edits DESC; ## LIST OF ARTICLES EDITED/ADDED SELECT CONCAT("https://fr.wiktiquote.org/wiki/", p.page_title) AS Articles, a.actor_name AS Editors FROM # get edits by users frwikiquote_p.revision_userindex r # get get edits by users LEFT JOIN frwikiquote_p.page p ON r.rev_page = p.page_id # get user details from actor table LEFT JOIN frwikiquote_p.actor a on r.rev_actor = a.actor_id WHERE # Filter by date range: from March 5, 2019 to March 05, 2020 (r.rev_timestamp BETWEEN 20190305000001 AND 20200305235959) AND FIND_IN_SET (a.actor_name , @participants) # exclude user pages AND NOT FIND_IN_SET (REPLACE(p.page_title, "_", " ") , @participants) GROUP BY Articles ;
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...