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
Jonteemil
.
Toggle Highlighting
SQL
SELECT IF(cl_to IS NULL, "Add", "Remove") AS "Cat", CONCAT("[[File:", REPLACE(img_name,"_"," "), "]]") AS File FROM image JOIN page ON page_namespace=6 AND page_title=img_name LEFT JOIN categorylinks ON cl_from=page_id AND cl_to IN ( "Animated_GIF_files" ) WHERE img_major_mime="image" AND img_minor_mime="gif" AND img_media_type="BITMAP" AND img_metadata LIKE "%\"frameCount\";i:%" AND (img_metadata LIKE "%\"frameCount\";i:1;%" XOR cl_from IS NULL) GROUP BY img_name
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...