Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Content translation creation statistics, translator wise on tewiki
by
Arjunaraoc
This query is marked as a draft
This query has been published
by
Arjunaraoc
.
Example data for task https://phabricator.wikimedia.org/T215397 . Shows ratio of main namespace articles that were created using Content Translation and not using Content Translation and subsequently deleted.
Toggle Highlighting
SQL
set @ct_tag_id = ( select ctd_id from change_tag_def where ctd_name = 'mw-rollback' OR ctd_name ='mw-reverted' ); select LEFT(rev_timestamp,6) as month, user_name, count(user_name) from user,actor, revision_actor_temp, change_tag, page, revision where page_id = rev_page and page_namespace = 0 and user_id =actor_user and revactor_actor=actor_id and revactor_rev=rev_id and rev_id = ct_rev_id and ct_tag_id in @ct_tag_id Group by LEFT(rev_timestamp,6),user_name 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...