Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
#/bytes added by ips, users to main/draft recently
by
Cryptic
This query is marked as a draft
This query has been published
by
Cryptic
.
Totals of the numbers of bytes added by ips and users to the main and draft namespaces in roughly the last 30 days, counting only edits that added more bytes than they removed and that aren't tagged as "Reverted". For [[WP:RAQ#IP editors - How much of the new content do they create?]] circa 31 August 2022.
Toggle Highlighting
SQL
SELECT CASE WHEN rc_namespace = 0 THEN 'Mainspace' ELSE 'Draft' END AS `Namespace`, SUM(rc_new_len - COALESCE(rc_old_len, 0)) AS `Bytes added`, CASE WHEN actor_user IS NULL THEN 'IP' ELSE 'User' END AS `IP/User` FROM recentchanges JOIN actor_recentchanges ON actor_id = rc_actor WHERE rc_new_len > COALESCE(rc_old_len, 0) AND rc_namespace IN (0, 118) AND NOT EXISTS (SELECT 1 FROM change_tag JOIN change_tag_def ON ctd_id = ct_tag_id WHERE ct_rc_id = rc_id AND ctd_name = 'mw-reverted') GROUP BY actor_user IS NULL, rc_namespace;
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...