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
JCrespo (WMF)
.
Toggle Highlighting
SQL
use mediawikiwiki_p; SET @namespace = 0; SET @title = 'Mediawiki'; SELECT pl_title FROM pagelinks JOIN page ON pl_from=page_id LEFT JOIN templatelinks ON page_id = tl_from AND tl_title IN ('Outdated', 'Historical') WHERE tl_from IS NULL and page_namespace=@namespace and page_title = @title AND pl_title not like 'Talk:%' and pl_title not like 'User:%' and pl_title not like '%/%';
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...