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
Achim55
.
Toggle Highlighting
SQL
SELECT CONCAT('# [[', IF (p1.page_namespace > 0, CONCAT(':{{', p1.page_namespace, '}}:'), ''), REPLACE (p1.page_title,'_',' '), ']] ⇒ [[TimedText:', REPLACE (p2.page_title,'_',' '), ']] → link to redirecting page') FROM page p1 JOIN pagelinks ON pl_from = p1.page_id AND p1.page_namespace NOT IN (2, 3, 6) JOIN linktarget ON lt_id = pl_target_id AND lt_namespace = 102 JOIN page p2 ON p2.page_title = lt_title AND p2.page_namespace = 102 #WHERE p2.page_is_redirect = 1 WHERE pl_target_id = 0 LIMIT 100;
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...