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 metawiki_p.pagelinks.pl_title AS "Affiliated Username", p.page_title AS "Affiliate Groups" FROM metawiki_p.page AS p JOIN metawiki_p.pagelinks ON metawiki_p.pagelinks.pl_from = p.page_id # harvest from the a list of affiliates WHERE p.page_title IN ( "Wiki_Project_Med", "Wikimedians_of_Cameroon_User_Group", "Wikimedia_Sweden", "Wikimedia_Deutschland", "WikiWomen%27s_User_Group", "WikiDonne", "Karavali_Wikimedians/Members", "Wikimedia_User_Group_Nigeria", "Wikimedia_Armenia", "Wiktionary/Tremendous_Wiktionary_User_Group", "Wikimedia_Tunisie/Participants", "AfroCROWD_User_Group", "Art%2BFeminism_User_Group", "Wikimedia_Community_User_Group_Turkey", "Wikimedia_Community_User_Group_Tanzania", "Wikimedia_Community_User_Group_Albania", "Azerbaijani_Wikimedians_User_Group", "Black_Lunch_Table", "Wikimedistas_de_Bolivia", "Esperanto_kaj_Libera_Scio", "Egypt_Wikimedians", "Wikiesfera", "Wikimedia_Algeria/Gestion/Membres", "Wikimedia_Digitization_User_Group", "Wikimedia_Community_User_Group_Georgia", "Gender_Diversity_Visibility_Community_User_Group", "Wikimedia_Community_User_Group_Wales", "Commons:Commons_Photographers_User_Group", "Wikimedians_of_Erzya_language_User_Group", "Wikimedia_Community_User_Group_Belarus", "Wikimedia_Community_User_Group_Côte_d%27Ivoire", "Wikimedians_of_Democratic_Republic_of_Congo_User_Group", "Wikimedia_Community_User_Group_Guinea_Conakry", "GLAM_Macedonia_User_Group", "Wikimedia_Community_User_Group_Greece", "Hindi_Wikimedians/Members", "Wikimedia_Community_User_Group_Hong_Kong", "Wikimedia_Community_Ireland", "Iraqi_Wikimedians", "Iranian_Wikimedians_User_Group", "Wikimedians_of_Kerala", "Marathi_Wikimedians", "Wikipedians_of_Goa_User_Group", "Wikimedians_of_India_technical_user_group", "Dehalvi_Wikimedia_User_Group/Members", "Jenga_Wikipedia_ya_Kiswahili", "Wikimedia_LGBT%2B/Participants", "Wikimedians_of_the_Levant/Membership", "Wikimedians_of_Latvia_User_Group", "Wikimedia_MA_User_Group/Membres", "Maithili_Wikimedians_User_Group", "Wikimaps_User_Group", "Wikimedia_Community_User_Group_Math", "Wikimedians_of_Nepal/Members", "Shared_Knowledge", "Muj(lh)eres_latinoamericanas_en_Wikimedia", "Wikimedia_Community_User_Group_Malta", "Wikimedia_Community_User_Group_Malaysia", "Wikimedians_of_North_American_Indigenous_Languages_User_Group", "Hausa_Wikimedians_User_Group/Memberships", "Igbo_Wikimedians_User_Group", "Yoruba_Wikimedians_User_Group", "Open_Foundation_West_Africa", "Punjabi_Wikimedians/Members", "Wikimedistas_de_Perú", "PhilWiki_Community/Membership", "Wikimedia_Community_User_Group_Sri_Lanka/Members", "Odia_Wikimedians_User_Group", "Don_Wikimedians_User_Group", "Wikimedians_of_Saint_Petersburg_User_Group", "Wikimedia_Stewards_User_Group", "Wikimedians_of_Colorado_User_Group", "Wikimedians_of_Albanian_Language_User_Group", "Wikimedians_of_Santali_Language_User_Group/Members", "Wikimedians_of_Chicago_User_Group", "Wikimedia_Community_User_Group_Uganda", "Wikimedians_of_Slovakia", "Wikimedia_Community_User_Group_Tchad", "Wikimedia_Community_of_Tatar_language_User_Group", "Wikimedians_of_Tamazight_User_Group", "Cascadia_Wikimedians", "Wikipedians_of_Slovenia_User_Group", "Georgia_Piedmont_Wikimedians", "Wikimedians_of_Minnesota_User_Group", "Wikimedians_of_Los_Angeles", "New_England_Wikimedians/Members", "San_Diego_Wikimedians_User_Group", "Ohio_Wikimedians_User_Group", "Wikibase_Community_User_Group", "Wikipedia_Asian_Month_User_Group", "WikiClassics_User_Group", "Wikimedians_of_the_Caribbean_User_Group", "West_Bengal_Wikimedians/Members", "Wikimujeres", "Vietnam_Wikimedians_User_Group", "Whose_Knowledge%3F", "WikiConference_North_America", "Wikipedia_%26_Education_User_Group/Members", "Wikitongues", "WikiToLearn_User_Group", "Wiki_Movement_Brazil_User_Group", "Wikimedians_for_offline_wikis", "Wikisource_Community_User_Group", "Wikimedians_in_Residence_Exchange_Network/join", "Wikimedia_and_Libraries_User_Group/Members", "Wikimedians_of_Romania_and_Moldova_User_Group", "Wikimedians_of_Republic_of_Srpska", "Wikimedians_of_Bashkortostan_User_Group", "Basque_Wikimedians_User_Group", "Wikimédiens_du_Bénin_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_Belgium", "Wikimedia_México/en", "Wikimedia_Thailand", "Wikimedia_New_York_City/Participants", "Wikimedia_User_Group_of_Aotearoa_New_Zealand", "Les_sans_pagEs", "Wiki_Cemeteries_User_Group", "Myanmar_Wikimedia_Community_User_Group", "Wikimedians_of_Turkic_Languages_User_Group", "Wikigrannies_User_Group/en", "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", "H-GAPS_User_Group", "Para-Wikimedians_Community_User_Group/Members_and_Supporters", "Wikimedia_Community_User_Group_Sudan", "Wikimedians_of_Western_Armenian_Language_User_Group", "Indic_MediaWiki_Developers_User_Group", "Kurdish_Wikimedians_User_Group", "Wiki_World_Heritage_User_Group", "Wikimedians_of_the_Uzbek_language_User_Group", "Wikimedistas_de_Uruguay", "Dagbani_Wikimedians_User_Group/Memberships", "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", "Planning_Dagbani_Wikimedians_User_Group", "Gungbe_Wikimedians_User_Group", "Arabic_Wikimedians_User_Group", "Wikimedia_Small_Projects_in_Spanish", "Wikimedia_Community_of_Saint_Petersburg_User_Group", "Paiwan_Wikimedians_User_Group", "Wikimedia_Community_User_Group_Rwanda", "Wikimedia_Community_User_Group_Kenya", "Deoband_Community_Wikimedia_User_Group", "Women_in_Religion_User_Group", "Wikimedians_of_Lagos_User_Group", "Tyap_Wikimedians_User_Group", "Kashmiri_Wikimedians_User_Group" ) # exclude anything that ends with _(WMF) # as these are WMF staffs not aff members AND metawiki_p.pagelinks.pl_title NOT LIKE "%_(WMF)" # remove MediaWiki_message_delivery as it's # the mass message delivery default handle AND metawiki_p.pagelinks.pl_title NOT LIKE "%MediaWiki_message_delivery%" # focus on the User: namespace AND metawiki_p.pagelinks.pl_namespace = 2 # Unite both tables UNION
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...