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
Saeidpourbabak
.
Toggle Highlighting
SQL
SELECT DISTINCT concat('# [[:en:template:',REPLACE(tmpl.page_title,'_',' '),']]') FROM enwiki_p.page AS tmpl WHERE tmpl.page_namespace = 0 AND tmpl.page_is_redirect = 0 # temp, to restrict results AND tmpl.page_title LIKE "%Gmina%" # |||||||||||||||||||||||||||||||||||||| # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv # template has no fa interwiki AND tmpl.page_id NOT IN ( SELECT tmplll.ll_from FROM langlinks AS tmplll WHERE tmplll.ll_lang = "fa" ) AND NOT EXISTS ( SELECT null FROM langlinks AS tmplll WHERE tmpl.page_id = tmplll.ll_from AND tmplll.ll_lang = "fa" ) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # ||||||||||||||||||||||||||||||||||||||
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...