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
FoBe
.
Toggle Highlighting
SQL
# cl_to: Stores the name (excluding namespace prefix) of the desired category. Spaces are replaced by underscores (_) USE huwiki_p; SELECT distinct CONCAT('[https://hu.wikipedia.org/w/index.php?title=Kategória:',page_title,'&redirect=no ',page_title,']') AS page_title, CONCAT('[[:Kategória:',rd_title,']]') AS rd_title FROM categorylinks RIGHT JOIN page ON cl_to = page_title JOIN redirect ON rd_from = page_id WHERE page_namespace = 14 AND page_is_redirect = 1 # only list redirects AND cl_to IS NOT NULL
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...