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
Ederporto
.
Toggle Highlighting
SQL
use commonswiki_p; SELECT CONCAT("# {{#target:User_talk:", actor_name, "|commons.wikimedia.org}}") as line FROM revision r_prev join categorylinks on rev_page = cl_from join actor on rev_actor = actor_id and actor_user is not null WHERE rev_parent_id = 0 and cl_to IN ( "Images from Wiki Loves Monuments 2015 in Brazil", "Images from Wiki Loves Monuments 2016 in Brazil", "Images from Wiki Loves Monuments 2017 in Brazil", "Images from Wiki Loves Monuments 2018 in Brazil", "Images from Wiki Loves Earth 2014 in Brazil", "Images from Wiki Loves Earth 2015 in Brazil", "Images from Wiki Loves Earth 2016 in Brazil", "Images from Wiki Loves Earth 2017 in Brazil", "Images from Wiki Loves Earth 2018 in Brazil", "Images from Wiki Loves Earth 2019 in Brazil", ) and not exists ( SELECT 1 FROM revision join categorylinks on rev_page = cl_from WHERE rev_parent_id = 0 AND rev_actor = r_prev.rev_actor and cl_to IN ("Images from Wiki Loves Monuments 2019 in Brazil") ) GROUP BY actor_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...