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
Mr. Ibrahem
.
Toggle Highlighting
SQL
USE arwiki_p; select DISTINCT concat("قالب:",page_title) as pagename, count(*) as tot from page join templatelinks on page_title = tl_title# and tl_namespace = 10 AND page_is_redirect = 1 -- no redirects #where page_title not like "%/%" -- no subtemplates where page_namespace = 10 #page_title like "بيانات_بلد%" and page_title like "%/شرح" #and page_title not like "%تصنيف%" AND not exists ( SELECT * FROM templatelinks WHERE tl_from=page_id AND tl_namespace = 10 AND tl_title ="صفحات_توثيق_فرعية" limit 1 ) group by page_id order by count(*)# > 1000 #order by tot desc, page_title limit 50
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...