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
use fawiki_p; select distinct concat('# [[', page_title, ']]') from page left join langlinks on page_id = ll_from right join categorylinks on page_id = cl_from where page_namespace = 0 and page_is_redirect = 0 /* The selected page has an unhidden dab category. */ and cl_to like '%ابهام%' and exists ( select null from page as catpage where catpage.page_title = cl_to and catpage.page_namespace = 14 and not exists ( select null from page_props as catprops where catprops.pp_page = catpage.page_id and catprops.pp_propname = 'hiddencat' ) ) and not exists ( /* The selected page is not a dab page. */ select null from page_props where pp_page = page_id and pp_propname = 'disambiguation' );
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...