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
Erutuon
.
Toggle Highlighting
SQL
select if(instr(page_title, 'zh/') = 1, substring_index(page_title, '/', 3), substring_index(page_title, '/', 1)) as subpage, sys.format_bytes(sum(page_len)) as size from page # Module where page_namespace = 828 # Module name doesn't end with /documentation and (instr(page_title, '/documentation') = 0 or instr(page_title, '/documentation') + length('/documentation') <> length(page_title) + 1) group by substring_index( page_title, '/', if(instr(page_title, 'zh/') = 1, 3, 1)) order by sum(page_len) desc; select sum(page_len) as 'user sandbox module size' from page where page_namespace = 828 and instr(page_title, 'User:') = 1;
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...