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
Stefan2
.
These usually do not have fair use rationales, which is a violation of [[WP:NFCC#10c]].
Toggle Highlighting
SQL
USE enwiki_p; SELECT p.page_id FROM page p INNER JOIN categorylinks c1 ON c1.cl_from = p.page_id AND c1.cl_to = 'All_non-free_media' # Exclude files with templated rationales as some rationale templates are very short: LEFT JOIN templatelinks t ON t.tl_from = p.page_id AND t.tl_namespace = 10 AND t.tl_title IN ('Non-free_use_rationale', 'Non-free_use_rationale_2', 'Non-free media rationale') LEFT JOIN categorylinks c2 ON c2.cl_from = p.page_id AND c2.cl_to = 'All_Wikipedia_files_with_no_non-free_use_rationale' WHERE p.page_len < 250 AND t.tl_from IS NULL AND c2.cl_from IS NULL AND p.page_namespace = 6
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...