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
Perhelion
.
Commons
Toggle Highlighting
SQL
USE commonswiki_p; SET max_statement_time = 300; SELECT CONCAT( '# [https://commons.wikimedia.org/w/index.php?title=File:', page_title, '&action=history', ' ',rev_comment,']' ) AS rev_link -- , rev_id COUNT(*) FROM revision JOIN actor ON rev_actor = actor.actor_id -- JOIN user AS u ON u.user_id = a.actor_user JOIN page ON rev_page = page_id AND page_namespace = 6 AND page_is_redirect = 0 WHERE -- gu_home_db = 'commonswiki' -- AND u.user_editcount < 9 (select comment_text AS 'rev_comment' from comment where comment_id = rev_comment_id AND comment_text LIKE 'Requesting rotation %') GROUP BY rev_link
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...