Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Utenti attivi su voci di comuni poco mappati
by
Federico Leva (WMIT)
This query is marked as a draft
This query has been published
by
Nemo bis
.
Da un elenco di voci collegate dalle liste di monumenti guardiamo chi le ha modificate dal 2010 in poi, con un numero di contributi pari ad almeno 3 e una quota significativa dei propri contributi totali. Escludiamo gli utenti giĆ molto impegnati (contributi totali > 5k), bloccati o bot.
Toggle Highlighting
SQL
USE itwiki_p; SELECT q.page_title, r.rev_user_text AS Utente, COUNT(r.rev_id) AS Contributi, u.user_editcount FROM page q JOIN pagelinks pl ON q.page_title = pl.pl_title JOIN page p ON pl.pl_from = p.page_id AND p.page_namespace = 102 AND p.page_title LIKE "Wiki_Loves_Monuments_2018/Monumenti/%" AND pl.pl_namespace = 0 JOIN revision_userindex r ON r.rev_page = q.page_id JOIN user u ON r.rev_user = u.user_id WHERE r.rev_timestamp > '20140101000000' AND r.rev_user > 0 AND u.user_editcount < 5000 AND u.user_id NOT IN ( SELECT ipb_user FROM ipblocks WHERE ipb_user > 0 ) AND u.user_id NOT IN ( SELECT ug_user FROM user_groups WHERE ug_group = "bot" ) GROUP BY r.rev_user HAVING Contributi > 2 AND Contributi > (u.user_editcount*0.01) ORDER BY u.user_editcount 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...