Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Affiliate members harvest on Meta-Wiki
by
DAlangi (WMF)
This query is marked as a draft
This query has been published
by
JAnstee (WMF)
.
Harvest affiliate members for all affiliates in Wikimedia.
Toggle Highlighting
SQL
# avoid duplicate user names SELECT DISTINCT pl_title AS "Affiliate Members", page_title AS "Affiliates" FROM metawiki_p.pagelinks AS pl JOIN metawiki_p.page AS p ON pl.pl_from = p.page_id # harvest from the a list of affiliates WHERE p.page_title IN ( "Wikimedia_chapters", "April_2009_Wikimedia_Conference/Participants", "Wikimedia_Conference_2010/Chapters'_Meeting/Attendees", "Wikimedia_Conference_2011/Chapters'_Meeting/Attendees", "Wikimedia_Conference_2012/Chapters'_Meeting/Attendees", "Wikimedia_Conference_2013/Participants", "Wikimedia_Conference_2014/Participants", "Wikimedia_Conference_2015/Participants", "Wikimedia_Conference_2016/Participants'_List", "Wikimedia_Conference_2017/Participants'_List", "Wikimedia_Conference_2018/Participants'_List", "Wikimedia_Summit_2019/Participants'_List", "Amical_Wikimedia", "Wikimedia_Medicine", "Wikimedia_Armenia", "Wikimedia_Argentina", "Wikimedia_Austria", "Wikimedia_Australia", "Wikimedia_Bangladesh", "Wikimedia_Belgium", "Wikimedia_Canada", "Wikimedia_Switzerland", "Wikimedia_Chile", "Wikimedia_Czech_Republic", "Wikimedia_Colombia", "Wikimedia_Germany", "Wikimedia_Denmark", "Wikimedia_Estonia", "Wikimedia_Spain", "Wikimedia_Finland", "Wikimedia_France", "Wikimedia_Hungary", "Wikimedia_Indonesia", "Wikimedia_Israel", "Wikimedia_India", "Wikimedia_Italy", "Wikimedia_Korea", "Wikimedia_Mexico", "Wikimedia_Netherlands", "Wikimedia_Norway", "Wikimedia_Poland", "Wikimedia_Portugal", "Wikimedia_Serbia", "Wikimedia_Russia", "Wikimedia_Sweden", "Wikimedia_Taiwan", "Wikimedia_Ukraine", "Wikimedia_United_Kingdom", "Wikimedia_District_of_Columbia", "Wikimedia_New_York_City", "Wikimedia_Uruguay", "Wikimedia_Venezuela", "Wikimedia_South_Africa", "AfroCROWD_User_Group", "Art+Feminism_User_Group", "Wikimedia_Community_User_Group_Albania", "Azerbaijani_Wikimedians_User_Group", "Wikimedians_of_Republic_of_Srpska", "Wikimedians_of_Bashkortostan_User_Group", "Basque_Wikimedians_User_Group", "Wikimédiens_du_Bénin_User_Group", "Wikimedians_of_Bulgaria_User_Group", "Black_Lunch_Table_Wikimedians", "Wikimedistas_de_Bolivia", "Wikimedia_Community_User_Group_Botswana", "Wikimedia_Community_User_Group_Belarus", "Wikimedians_of_Cameroon_User_Group", "Wikimedia_Community_User_Group_Côte_d'Ivoire", "Wikimedians_of_Chicago_User_Group", "Wikimedia_User_Group_China", "Commons_Photographers_User_Group", "Wikimedians_of_Colombia_User_Group", "Wikimedians_of_Democratic_Republic_of_Congo_User_Group", "Wikimedia_Digitization_User_Group", "Algeria_Wikimedians_User_Group", "Wikimedians_of_Ecuador", "Egypt_Wikimedians_User_Group", "Wikiesfera_Grupo_de_Usuarixs", "Esperanto_kaj_Libera_Scio", "Wikimedians_of_Erzya_language_User_Group", "Grŵp_Defnyddwyr_Cymuned_Wicimedia_Cymru", "Gender_Diversity_Visibility_Community_User_Group", "Wikimedia_Community_User_Group_Georgia", "Wikimedia_Ghana_User_Group", "Wikimedia_Community_User_Group_Guinea_Conakry", "GLAM_Macedonia_User_Group", "Wikimedia_Community_User_Group_Greece", "Hindi_Wikimedians_User_Group", "Wikimedia_Community_User_Group_Hong_Kong", "Wikimedia_Community_Ireland_User_Group", "Iraqi_Wikimedians_User_Group", "Iranian_Wikimedians_User_Group", "Wikimedians_of_Kerala_User_Group", "Wikipedians_of_Goa_User_Group", "Marathi_Wikimedians_User_Group", "Wikimedians_of_India_technical_user_group", "Dehalvi_Wikimedia_Community_User_Group", "Jenga_Wikipedia_ya_Kiswahili", "Karavali_Wikimedians_User_Group", "Wikimedia_LGBT+_User_Group", "Wikimedians_of_the_Levant_User_Group", "Wikimedians_of_Latvia_User_Group", "Wikimedia_MA_User_Group", "Maithili_Wikimedians_User_Group", "Wikimaps_User_Group", "Wikimedia_Community_User_Group_Math", "Shared_Knowledge", "Muj(lh)eres_latinoamericanas_en_Wikimedia", "Wikimedia_Community_User_Group_Malta", "MediaWiki_Stakeholders'_Group", "Wikimedia_Community_User_Group_Malaysia", "Wikimedians_of_North_American_Indigenous_Languages_User_Group", "Wikimedians_of_Nepal", "Wikimedia_Community_User_Group_Nigeria", "Hausa_Wikimedians_User_Group", "Igbo_Wikimedians_User_Group", "Yoruba_Wikimedians_User_Group", "Open_Foundation_West_Africa", "Punjabi_Wikimedians_User_Group", "Wikimedians_of_Peru_User_Group", "Philippine_Wikimedia_Community_User_Group", "Wikimedia_Community_User_Group_Sri_Lanka", "Odia_Wikimedians_User_Group", "Wikimedians_of_Romania_and_Moldova_User_Group", "Don_Wikimedians_User_Group", "Wikimedians_of_Saint_Petersburg_User_Group", "Wikimedians_of_Albanian_Language_User_Group", "Wikimedians_of_Slovakia_User_Group", "Wikipedians_of_Slovenia_User_Group", "Wikimedia_Community_of_Tatar_language_User_Group", "Wikimedia_Community_User_Group_Tchad", "Wikimedia_Tool_Developers_Group", "Wikimedia_Thailand", "Wikimedia_TN_User_Group", "Wikimedia_Community_User_Group_Turkey", "Tremendous_Wiktionary_User_Group", "Wikimedia_Community_User_Group_Tanzania", "Wikimedians_of_Tamazight_User_Group", "Wikimedia_Community_User_Group_Uganda", "Cascadia_Wikimedians_User_Group", "Wikimedians_of_Colorado_User_Group", "Florida_Librarians_of_Wikipedia_User_Group", "Georgia_Piedmont_Wikimedians_User_Group", "Wikimedians_of_Los_Angeles_User_Group", "Wikimedians_of_Minnesota_User_Group", "North_Carolina_Triangle_Wikipedians_User_Group", "New_England_Wikimedians", "Ohio_Wikimedians_User_Group", "San_Diego_Wikimedians_User_Group", "Vietnam_Wikimedians_User_Group", "Wikipedia_Asian_Month_User_Group", "Wikibase_Community_User_Group", "West_Bengal_Wikimedians_User_Group", "WikiClassics_User_Group", "WikiDonne_User_Group", "Wikimujeres_Grupo_de_Usuarias", "Wikimedians_in_Residence_Exchange_Network_User_Group", "WikiJournal", "Whose_Knowledge?", "WikiConference_North_America", "Wikipedia_&_Education_User_Group", "Grupo_de_Usuários_Wiki_Movimento_Brasil", "Wikimedians_for_Offline_Wikis_User_Group", "Wikimedia_and_Libraries_User_Group", "Wiki_Project_Med", "Wikisource_Community_User_Group", "Wikitongues_User_Group", "WikiToLearn_User_Group", "Wikivoyage_Association", "WikiWomen's_User_Group", "Wikimedia_Stewards_User_Group", "Wikimedians_of_Santali_Language_User_Group", "Wikimedians_of_the_Caribbean_User_Group", "Community_Wikimedia_User_Group_Haïti", "North-West_Russia_Wiki-Historians_User_Group", "Wikimedians_of_Mali_User_Group", "Wikipedians_of_North_Caucasus_User_Group", "Wikimedia_User_Group_of_Aotearoa_New_Zealand", "Les_sans_pagEs_User_Group", "Wiki_Cemeteries_User_Group", "Wiki_Education_Foundation", "Centre_for_Internet_&_Society_-_Access_to_Knowledge_Program", "Myanmar_Wikimedia_Community_User_Group", "Wikimedians_of_Turkic_Languages_User_Group", "Wikigrannies_User_Group", "Wikimedians_of_United_Arab_Emirates_User_Group", "Wikimedia_Community_User_Group_CEE_Spring", "Wikimedians_for_Sustainable_Development", "Wikimedia_Community_of_Kazakh_language_User_Group", "WikiBlind_User_Group" ) # exclude anything that ends with _(WMF) # as these are WMF staffs not aff members AND pl_title NOT LIKE "%_(WMF)" # remove MediaWiki_message_delivery as it's # the mass message delivery default handle AND pl_title NOT LIKE "%MediaWiki_message_delivery%" # focus on the User: namespace AND pl.pl_namespace = 2
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...