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
Certes
.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 1000 FOR SELECT CASE WHEN Pt.page_title REGEXP "/[Aa]rchive" THEN "Archive" WHEN Pt.page_title REGEXP "/[Ss]andbox" THEN "Sandbox" WHEN Pt.page_title REGEXP "/talk_page_tutorial" THEN "Talk page tutorial" WHEN Pt.page_title REGEXP "/TWA$" THEN "TWA" WHEN Pt.page_title REGEXP "/[12][901][0-9][0-9]/[A-Z]" THEN "Monthly archive" WHEN Pt.page_title REGEXP "\.[0-9]+/[0-9][0-9]$" THEN "IP range" ELSE "Other" END AS type, COUNT(*), MIN(Pt.page_title), MAX(Pt.page_title) FROM page Pt WHERE Pt.page_namespace=3 AND Pt.page_title LIKE "%/%" AND Pt.page_title NOT REGEXP "/([Aa]rchive|[Ss]andbox|talk_page_tutorial|TWA|[12][0-9])" AND NOT EXISTS (SELECT * FROM page Pu WHERE Pu.page_namespace=2 AND Pu.page_title = Pt.page_title) GROUP BY type ORDER BY type
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...