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
Bdijkstra
.
https://nl.wikipedia.org/wiki/Gebruiker:Bdijkstra/quarry/Niet_met_Wikidata_gekoppelde_categorieën_met_een_Commons-link
Toggle Highlighting
SQL
SELECT CONCAT('Categorie:',page_title) AS fpn FROM page, iwlinks WHERE page_namespace=14 AND page_title NOT REGEXP '^Gebruiker:|^Wikipedia:Gebruikers[/:]' AND NOT EXISTS (SELECT * FROM page_props WHERE pp_page=page_id AND pp_propname='wikibase_item') AND iwl_from=page_id AND iwl_prefix='commons' AND iwl_title!='Hoofdpagina' /*SELECT CONCAT('[[:Categorie:',REPLACE(page_title,'_',' '),']]') AS 'lokaal', CONCAT('[[:c:',REPLACE(iwl_title,'_',' '),'|',REPLACE(iwl_title,'_',' '),']]') AS 'commons' FROM page, iwlinks WHERE page_namespace=14 AND page_title NOT REGEXP '^Gebruiker:|^Wikipedia:Gebruikers[/:]' AND NOT EXISTS (SELECT * FROM page_props WHERE pp_page=page_id AND pp_propname='wikibase_item') AND iwl_from=page_id AND iwl_prefix='commons' AND iwl_title!='Hoofdpagina'*/
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...