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
MarioGom
.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 300 FOR SELECT user_name, total, weekdays, dist_days FROM ( SELECT rc_actor, COUNT(*) AS total, SUM( CASE WHEN day = 1 THEN 0 WHEN day = 7 THEN 0 ELSE 1 END ) AS weekdays, COUNT(DISTINCT day) AS dist_days FROM ( SELECT rc_actor, DAYOFWEEK(rc_timestamp) AS day FROM recentchanges INNER JOIN change_tag ON recentchanges.rc_id = change_tag.ct_rc_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id WHERE rc_ip IS NULL AND rc_bot = 0 AND change_tag_def.ctd_name = 'visualeditor' AND rc_timestamp >= "20210101000000" ) AS q GROUP BY rc_actor ) AS p INNER JOIN actor ON p.rc_actor = actor.actor_id INNER JOIN user ON actor.actor_user = user.user_id WHERE -- Contribs and distribution total >= 20 AND total = weekdays AND dist_days = 5 -- Registration date AND user_registration IS NOT NULL AND user_registration >= "20210101000000" -- AND user_registration < "20200101000000" -- Filter out some unmarked bots AND user_name NOT LIKE '%Bot' -- Filter out past results AND user_name NOT IN ('Th34VengersHere', 'Smccull', 'Ibitukirire', 'LongWinterBranches158', 'OodFloo', 'Heffner000', 'Wikipooba', 'SloppyTots', 'SyLvRuUz', 'YudhaTohjoyo', 'Swamming', 'Aam678', 'ParkerL7', 'Lizimbrie', 'Catch Red Owl', 'Edwooster', 'FireWelder', 'Darpos', 'Sunmeadow', 'Theomedi', 'Deplug1', 'APerez.TD', 'Rohit Chopra 1974', 'Prantik16!', 'Anudhara Krishnan', 'KJCoaker', 'Corneliastreet', 'Breckishere', 'Memerman69', 'BedouinBoy', 'Nehir Boz 1205', 'LAficionado', 'Bamberini8', 'Gentleman18', 'ForMoreMusic', 'Rupertdonovan', 'Willajayne', 'Horcruxraven', 'Alientunes', 'Fxholmes', 'Chronotopes', 'BlackPantherDesert', 'Kidzonetoys', '252hpw252', 'SotoRoto', 'Prakashkk00', 'Mdtanbirahmed', 'Elikeith', 'Danthong1989', 'Makatra', 'Stevenscj', 'Justort', 'Big Ass Josh Windass', 'Georgemoran101', 'Manczakh', 'Taiguo', 'Aethervibes', 'FancyDonut', 'Tomwilliams0301', 'Mesa2025', 'Mtapeli wa mulka', 'Kac1124', 'AARYA SAJAYAN', 'Skybluepants24', 'Southseasiren', 'ORSfan', 'SilverACC', 'Vaishnavisalvi', 'Sparkles belle', 'HazelRay', 'Clsgo', 'Posezsights', 'KGRCET', 'MPS2023', 'Newuser04', 'Kathleenvdh', 'Sorrow3', 'OmInna', 'Flubfloop', 'Astout.ltw', 'Rbradeyb1', 'AlejHerrBar2003', 'ZestLord', 'Fredlesaltique', 'UOITAmandaRobinson2019', 'Quattrovalvole', 'James Moore200', 'Flalf', 'Regalbagel', 'MaxAMillion101', 'FungTraC', 'Rachwoo', 'YerkeA', 'Valeriemahoneya', 'Marguerite99', 'Simplekindness', 'Cthowell', 'Pumbai123', 'Shovapa Trinada', 'LoreDef', 'Selanna13', 'Batamore', 'ElizabethBrownstone', 'Forced to create an account for CAES', 'CarlCucumberEEEE', 'Jamielee805', 'Adenosinedp', 'Kinemas123', 'Kill joyarchivist', 'Verdantskyes', 'Cris93sand', 'Acclesius', 'Isabellawhiting19', 'Romharsh DC', 'MYPETCARP', 'Versiamerika413', 'Nepalibhoy', 'Juzblack', 'Nellydieli', 'PastelRoselia', 'Jfishy99', 'BlueWhale35', 'AnApple47', 'A79N', 'Lps2021', 'Yasrena', 'RWBN80', 'Basktimrobbins', '50bottlesIO', 'Triminow', 'MaeYoung61', 'Usdzar1', 'Likeanechointheforest', 'Redoryxx', 'MattWeinstein', 'Jadugar9211', 'Writersagera', 'Givemedonuts', 'SyrOrange88', 'Canse34', 'UriChangmas', '0live1950', 'Postsute', 'NightFall60', 'Timeousbeastie', 'Elliswiki7', 'Expertwikiguy', 'SpiritGirl809', 'Jmmansfield', 'Blubewwy', 'Crispclear', 'Tol', 'Alexandrakatz01', 'Quaenuncabibis', 'NDSL DI', 'RealPharmer3', 'Fadew', 'Mostly shoaib', 'Malikn55', 'MAGICPOKEMON', 'Claederis17', 'JordanPotter', 'Josh49Matthews', 'Incrdiblehumans87', 'Tfindlay44', 'Faheemfahms', 'Tom Ellis', 'Ezayek', 'GetSoHigh', 'IWasMadeWalker', 'Nousername46000', 'Jsalads', 'Misskenny21', 'E1!Watts1!', 'Yolowill', 'Me1234567891011thunderstorm', 'EMarkel-JoyetAPS', '60clawsand20paws', 'Golden Ranky', 'Roxburytimes', 'Patrickstephenbrown', 'Raspyerries', 'SharpingShuns', 'AICross97', 'MaddyHGO1', 'Beyourselfbee', 'PeachyPit82', 'Holmes1t1s', 'Cosmiccoffee111', 'XFreecss', 'Illrunwithyou', 'DramaLlama2021', 'Tigerwarfair', 'IGA1587', 'FirstPrezzzz1776', 'Carguetajr', 'Rabbits5961', 'JeanSplicing', 'Kkkikki', 'WanderRays', 'Hunter1n1990', 'Ezzgo', 'RWBN80', 'ExpertExplorr', 'Elite Pat92', 'OakkRaider', 'Afiwee', 'Maketimus', 'PatStarIsHere', 'JameezWiki', 'Hammy197062', 'Basktimrobbins', 'CollinParrott', 'CruzingNC91', 'WrightBro571', 'AbellaAmor', 'KS1983', 'Kasens', '70smanforever', '50bottlesIO', 'JerseyGrrrl87', 'RobertoCA126', 'Monday123456789', 'Wherechessies', 'Triminow', 'Nuintern2021', 'Ádhamh Mac Conchobhair', 'Mr. Anonymous 24624680', 'Jpl1976', 'KissingYou7676', 'RandomName15Z', 'Sarajevo Steve', 'Mishalbkhan', 'Jfaulstick', 'Edaizemlia', 'Diamondchandelier', 'Siperez', 'Brownkr', 'Allishaishaque17', 'Gkc1021', 'Ndexxx', 'ArchivesandLetters', 'Tui16726', 'Truwsetu3', 'Mayerhofere1', 'Cindydaily', 'SoupBeans', 'The Alaskan Gremlin', 'English2017', 'Westcoastgal11', 'CloodM', 'HRVEF', 'Ceb3697', 'Mountainairy', 'Quinton.Quagliano', 'Weilh', 'Themostbeautifulone', 'Lego8910', 'Vhhhhjhgy', 'Isabel María Pozo Canales', 'ScotsMussels', 'Staplerhorse', 'Wubbox', 'GreenTea32', 'Aml9x', 'Savlatt', 'Gkakekoi98', 'Rhieditz', 'Laurdurham', 'Icysquares', '795Disco', 'ThatLaurelGirl', 'DXLB Muzikant', 'Nikcmortimer', 'Deadlytrouble', 'Amila1921', 'Sheepies', 'Dfbriones', 'Wikigetsme123', 'Aegis of Athena', 'MayaMoss123456') -- Filter out WikiEdu AND user_name not in ( SELECT DISTINCT actor_name FROM recentchanges INNER JOIN change_tag ON recentchanges.rc_id = change_tag.ct_rc_id INNER JOIN actor ON recentchanges.rc_actor = actor.actor_id WHERE ct_tag_id = 530 -- WikiEdu: OAuth CID: 1232 AND actor_user IS NOT NULL ) ORDER BY total DESC
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...