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
Phuedx (WMF)
.
This query counts the number of Vector user scripts, distinguishing those that are empty. A Vector user script as a page in the User namespace with a title that ends with "vector.js."
Toggle Highlighting
SQL
select count( 1 ) as n, count( if( p.page_len > 0, 1, 0 ) ) as n_empty from enwiki_p.page p where p.page_namespace = 2 and p.page_title like '%vector.js' and p.page_len > 0 and p.page_is_redirect = 0 ;
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...