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
Huji
.
Toggle Highlighting
SQL
use fawiki_p; select concat('وپ:', p.page_title) as shortcut, concat('وپ:', pl_title) as target, length(p.page_title) as shortcut_length from pagelinks join page p on pl_from = p.page_id and p.page_namespace = 4 -- Shortcut and p.page_is_redirect = 1 join ( select p1.page_title from templatelinks join page p1 on tl_from = p1.page_id and p1.page_namespace = 4 -- Wikipedia page with a shortcut join page p2 on p1.page_title = p2.page_title and p2.page_namespace = 5 -- Talk page exists where tl_title = 'میانبر' ) dest on dest.page_title = pl_title
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...