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
MisterSynergy
.
for https://www.wikidata.org/wiki/User:MisterSynergy/itemstats
Toggle Highlighting
SQL
USE wikidatawiki_p; -- bin 0 objects were not items, e.g. [[wikidata:Main page]] etc; ignore them! SELECT CEILING(SUBSTRING(log_title FROM 2) / 250000) AS bin, COUNT(DISTINCT log_title) AS cnt FROM logging WHERE log_namespace=0 AND log_type='delete' AND log_action='delete' AND log_title NOT IN (SELECT page_title FROM page WHERE page_namespace=0) GROUP BY bin HAVING bin>0 ORDER BY bin 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...