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
Halfak (WMF)
.
Gets all of the WikiProject article importance classifications on the English Wikipedia.
Toggle Highlighting
SQL
SELECT article.page_id, article.page_namespace, article.page_title, cl.cl_to AS category, cl.cl_type AS category_type, DATE_FORMAT(cl.cl_timestamp, "%Y%m%d%H%i%S") AS last_update, SUBSTRING_INDEX(cl.cl_to, "-", 1) AS importance FROM categorylinks cl JOIN page tp ON cl.cl_from = tp.page_id AND tp.page_namespace = 1 JOIN page article ON article.page_title = tp.page_title AND article.page_namespace = 0 WHERE cl.cl_to LIKE "Top-importance%articles" OR cl.cl_to LIKE "High-importance%articles" OR cl.cl_to LIKE "Mid-importance%articles" OR cl.cl_to LIKE "Low-importance%articles" OR cl.cl_to LIKE "Unknown-importance%articles";
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...