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
IKhitron
.
Toggle Highlighting
SQL
use hewiki_p; set @ns = 10; select distinct(concat('# [[תבנית:', replace(p1.page_title, "_", " "), ']]')) as 'ערך', p2.page_title from page as p1 join pagelinks on p1.page_id = pagelinks.pl_from and p1.page_namespace = @ns join page as p2 on pagelinks.pl_namespace = p2.page_namespace and pagelinks.pl_title = p2.page_title where p1.page_is_redirect = 0 and not p2.page_title like "%_(פירושונים)" and exists (select * from categorylinks where p2.page_id = cl_from and cl_to = 'פירושונים') and not exists (select * from categorylinks where p1.page_id = cl_from and cl_to = 'פירושונים') and not exists (select * from templatelinks where tl_from = p1.page_id and tl_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...