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
Zache
.
- arvo on muokkauksia/muokkaajia päivässä kuukausittain - rev_id > 19061900 (kuukausi 2020-07 ) on raja-arvona, koska tämän jälkeen oli mahdollista suodattaa pois kumoukset ja kumotut muokkaukset - Käyttäjätunnukset ipr1Bot ja ipr1, Fiwiki-tools-bot, Zache on suodatettu pois, jotta mallineiden lisäykset eivät tule mukaan tuloksiin - 202305, 202304, 202303 lisäykset ovat Ipr1Bot:n ja 202011 Fiwiki-tools-bot:n ja
Toggle Highlighting
SQL
SELECT * FROM (SELECT floor(d/100) as yearmonth, floor(avg(c)) as avg_edits, floor(avg(pc)) as avg_edited_pages, floor(avg(uc)) as avg_registered_users, floor(avg(ac)) as avg_all_users FROM ( SELECT floor(rev_timestamp/1000000) as d, sum(1) as c, count(distinct(actor_user)) as uc, count(distinct(actor_id)) as ac, count(distinct(rev_page)) as pc FROM templatelinks, linktarget, actor, revision LEFT JOIN ( SELECT ct_rev_id FROM change_tag, change_tag_def WHERE ct_tag_id=ctd_id AND ctd_name IN ('rv', 'mw-manual-revert', 'mw-reverted', 'mw-rollback', 'mw-undo') GROUP BY ct_rev_id ) as t ON ct_rev_id=rev_id, ( SELECT cl_from FROM categorylinks WHERE cl_to IN ( "Wikipedia-artikkelit_Uppslagsverket_Finland_-tunnisteilla", "Wikipedia-artikkelit_Biografiasampo-tunnisteilla", "Wikipedia-artikkelit_Kenraalit ja_amiraalit_-tunnisteilla", "Wikipedia-artikkelit_Ritva-tunnisteilla", "Wikipedia-artikkelit_Ylioppilasmatrikkeli_1640–1852_-tunnisteilla", "Wikipedia-artikkelit_Ylioppilasmatrikkeli_1853–1899_-tunnisteilla", "Wikipedia-artikkelit_BLF-tunnisteilla" ) GROUP BY cl_from ) as foo WHERE foo.cl_from=rev_page AND ct_rev_id IS NULL AND (actor_name!="Ipr1Bot" AND actor_name !="Ipr1") AND actor_id=rev_actor AND rev_page=tl_from AND tl_target_id = lt_id AND tl_from_namespace = 0 AND lt_title = "Auktoriteettitunnisteet" AND lt_namespace = 10 AND rev_id>19061900 GROUP BY d ) as t GROUP BY floor(d/100)) )) as ttt
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...