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
The Polish
.
Toggle Highlighting
SQL
USE plwiki_p; SELECT CONCAT('[[Wikipedia:', p.page_title, ']]') AS page_title FROM page p LEFT JOIN (templatelinks t1 INNER JOIN page p2 ON p2.page_id = t1.tl_from AND p2.page_title LIKE 'Poczekalnia/%') ON p.page_title = t1.tl_title AND t1.tl_from_namespace = 4 AND t1.tl_namespace = 4 LEFT JOIN templatelinks t2 ON p.page_id = t2.tl_from AND t2.tl_namespace = 10 AND t2.tl_title = 'LnDNU' WHERE t1.tl_from IS NULL AND t2.tl_from IS NULL AND p.page_namespace = 4 AND p.page_title LIKE 'Poczekalnia/%' AND p.page_title NOT LIKE 'Poczekalnia/Załatwione%' AND p.page_title NOT LIKE 'Poczekalnia/preload%' AND p.page_title NOT LIKE 'Poczekalnia/wstęp' AND p.page_title NOT LIKE 'Poczekalnia/archiwa' AND p.page_title NOT LIKE 'Poczekalnia/intro' AND p.page_title NOT LIKE 'Poczekalnia/podstrona_załatwione' AND p.page_title NOT LIKE 'Poczekalnia/Dyskusja_nad_szablonami' AND p.page_title NOT LIKE 'Poczekalnia/Kategorie' AND p.page_title NOT LIKE 'Poczekalnia/Szablony' AND p.page_title NOT LIKE 'Poczekalnia/schowek_na_postacie_fikcyjne' AND p.page_is_redirect = 0; select concat("Szablon:",page_title) as pagename from page join templatelinks on page_id = tl_from and tl_namespace = 4 AND tl_title="Poczekalnia/%" where page_title not like "%/%" AND page_namespace = 4 AND not exists ( select * from templatelinks t1 where page_title = t1.tl_title and t1.tl_namespace = 4 limit 1 );
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...