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 effectiveness 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
use tewiki_p; set @dbname = 'tewiki'; set @ct_tag_id = ( select ctd_id from change_tag_def where ctd_name = 'contenttranslation' ); select LEFT(rev_timestamp,6) as month, count(rev_id) from change_tag, page, revision where page_id = rev_page and page_namespace = 0 and rev_id = ct_rev_id and rev_parent_id = 0 and ct_tag_id = @ct_tag_id Group by LEFT(rev_timestamp,6) LIMIT 100;
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...