Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Empty categories not marked as redirect with template on huwiki
by
FoBe
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:',cat_title,'&redirect=no ',cat_title,']') AS cat_title, cat_id, page_id FROM category inner join page on page.page_title = category.cat_title WHERE EXISTS ( select 1 from categorylinks where cl_from = page_id and cl_to = 'Kategóriaátirányítások' ) AND cat_pages != 0 # non-empty category
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...