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
.
A list of portals whose talk pages link to WP:WikiProject Something, sorted by project
Toggle Highlighting
SQL
SELECT DISTINCT SUBSTRING(SUBSTRING_INDEX(pl_title, '/', 1) FROM 13) AS project, SUBSTRING_INDEX(page_title, '/', 1) AS portal FROM pagelinks JOIN page ON page_id = pl_from WHERE pl_from_namespace = 101 /* Portal talk: */ AND pl_namespace = 4 /* Wikipedia: */ AND pl_title like "WikiProject_%" ESCAPE "%" AND pl_title != "WikiProject_" AND pl_title != "WikiProject_Portals" AND pl_title != "WikiProject_assessment" ORDER BY SUBSTRING(SUBSTRING_INDEX(pl_title, '/', 1) FROM 13), SUBSTRING_INDEX(page_title, '/', 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...