This query is marked as a draft This query has been published by Zhuyifei1999.

SQL

x
 
USE commonswiki_p;
SELECT DISTINCT concat("File:",page_title) 
from page, categorylinks, templatelinks 
where 
  page_namespace=6              -- files only
  AND cl_from=page_id 
  AND cl_to IN ("Media_missing_infobox_template", 
                "Artworks_missing_infobox_template", 
                "Items_with_OTRS_permission_missing_infobox_template",
                "Pages_using_Information_template_with_parsing_errors") 
  AND tl_from = page_id 
  AND tl_namespace=10 
  AND tl_title in ('Infobox_template_tag','Information') 
LIMIT 1000
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...