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
Wurgl
.
Suche Begriffsklärungsseiten in denen auf die selbe Person direkt und indirekt über einen Weiterleitungslink verlinkt wird
Toggle Highlighting
SQL
use dewiki_p; select bkl.page_title as Begriffsklaerung, s.page_title as Direktlink, t.page_title as Weiterleitung from page as bkl, page as s, page as t, redirect, pagelinks as tpl, pagelinks as spl, templatelinks, categorylinks where rd_from = t.page_id and rd_namespace = t.page_namespace and t.page_is_redirect = 1 and rd_title = s.page_title and rd_namespace = s.page_namespace and tpl.pl_title = t.page_title and tpl.pl_namespace = t.page_namespace and spl.pl_title = s.page_title and spl.pl_namespace = s.page_namespace and tpl.pl_from = spl.pl_from and tpl.pl_from_namespace = 0 and spl.pl_from_namespace = 0 and bkl.page_namespace = 0 and tpl.pl_from = bkl.page_id and s.page_id = tl_from and tl_title = "Personendaten" and tl_namespace = 10 and bkl.page_id = cl_from and cl_to in ("Begriffsklärung", "Familienname", "Männlicher_Vorname", "Weiblicher_Vorname") order by bkl.page_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...