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
Krinkle
.
Toggle Highlighting
SQL
use zhhanswiki_p; set @mobile_edit_tag = ( select ctd_id from change_tag_def where ctd_name = 'mobile edit' ); select substring(rev_timestamp, 1, 4) as year, sum(ct_rev_id is not null) as mobile_revisions, count(rev_id) as revisions, concat( if( count(rev_id) = 0, 0, format( sum(ct_rev_id is not null) / count(rev_id) * 100.0, 2 ) ), '%' ) as mobile_percent from revision left join change_tag on ct_rev_id = rev_id and ct_tag_id = @mobile_edit_tag where rev_timestamp like '2020%' group by year order by year asc;
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...