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 >= "20170101000000" -- AND user_registration < "20200101000000" -- Filter out some unmarked bots AND user_name NOT LIKE '%Bot' -- Filter out past results AND user_name NOT IN ('Bookworm-ce', 'Inceptio', 'Antrotherkus', 'Ypatch', 'Valerie.gau', 'Loucozade', 'Wikifulness', 'MowerBreeze', 'Jsnueva1022', 'Thephotoarchivist', 'Vlogswithjj', 'Intergalactic77', 'SingingZach', 'Shifrajohari', 'Hocus00', 'Jtadesse', 'Helloimahumanbeing', 'TheRealDevinYoung', 'DuaLipaFan23951', 'Tithi.sarkar', 'Dr.bobbs', 'Dr Deepak Garg', 'PaulYordan', 'Bradleysballs', 'ArunasG', 'GordonCeeman', 'ScienceFan66', 'Littletimmy123', 'HailtoArizona', 'Hasbob10', 'TemboUngwe', 'NOLA Forever', 'Vanwater', 'HeidiCI26', 'JayMFern', 'InvadingInvader', 'Th34VengersHere', 'Smccull', 'OodFloo', 'Wikipooba', 'SloppyTots', 'SyLvRuUz', 'Ibitukirire', 'LongWinterBranches158', 'Heffner000', 'Swamming', 'Aam678', 'ParkerL7', 'Lizimbrie', 'Catch Red Owl', 'Edwooster', 'FireWelder', 'Darpos', 'Sunmeadow', 'Theomedi', 'YudhaTohjoyo', 'Deplug1', 'APerez.TD', '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', 'Rohit Chopra 1974', 'Big Ass Josh Windass', 'Georgemoran101', 'Manczakh', 'Taiguo', 'Aethervibes', 'FancyDonut', 'Tomwilliams0301', 'Mesa2025', 'Mtapeli wa mulka', 'Kac1124', 'Skybluepants24', 'Southseasiren', 'ORSfan', 'SilverACC', 'Vaishnavisalvi', 'AARYA SAJAYAN', 'Sparkles belle', 'HazelRay', 'Clsgo', 'Posezsights', 'KGRCET', 'MPS2023', 'Newuser04', 'Kathleenvdh', 'Sorrow3', 'OmInna', 'Flubfloop', 'Astout.ltw', 'Rbradeyb1', 'AlejHerrBar2003', 'ZestLord', 'Fredlesaltique', 'UOITAmandaRobinson2019', 'Quattrovalvole', 'James Moore200', 'Flalf', 'Rachwoo', 'YerkeA', 'Valeriemahoneya', 'Marguerite99', 'Cthowell', 'Pumbai123', 'LoreDef', 'Selanna13', 'Batamore', 'Regalbagel', 'MaxAMillion101', 'FungTraC', 'Simplekindness', 'Shovapa Trinada', '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', 'MattWeinstein', 'Jadugar9211', 'Writersagera', 'SyrOrange88', 'Canse34', 'Elliswiki7', 'Expertwikiguy', 'Jmmansfield', 'Redoryxx', 'Givemedonuts', 'UriChangmas', '0live1950', 'Postsute', 'NightFall60', 'SpiritGirl809', 'Quaenuncabibis', 'Timeousbeastie', 'Blubewwy', 'Crispclear', 'Tol', 'Alexandrakatz01', 'NDSL DI', 'RealPharmer3', 'Malikn55', 'MAGICPOKEMON', 'Claederis17', 'JordanPotter', 'Josh49Matthews', 'Tfindlay44', 'Faheemfahms', 'Tom Ellis', 'GetSoHigh', 'IWasMadeWalker', 'Ezayek', 'Fadew', 'Mostly shoaib', 'Incrdiblehumans87', 'Nousername46000', 'Jsalads', 'Misskenny21', 'E1!Watts1!', 'Yolowill', 'Me1234567891011thunderstorm', '60clawsand20paws', 'Golden Ranky', 'Raspyerries', 'MaddyHGO1', 'Beyourselfbee', 'Cosmiccoffee111', 'Illrunwithyou', 'DramaLlama2021', 'Tigerwarfair', 'Carguetajr', 'Kkkikki', 'Ezzgo', 'RWBN80', 'ExpertExplorr', 'Elite Pat92', 'Maketimus', 'JameezWiki', 'Basktimrobbins', 'CollinParrott', 'AbellaAmor', '50bottlesIO', 'Monday123456789', 'Wherechessies', 'Triminow', 'Nuintern2021', 'Mr. Anonymous 24624680', 'Jpl1976', 'KissingYou7676', 'RandomName15Z', 'Sarajevo Steve', 'Mishalbkhan', 'Edaizemlia', 'Diamondchandelier', 'Roxburytimes', 'Patrickstephenbrown', 'SharpingShuns', 'AICross97', 'PeachyPit82', 'Holmes1t1s', 'XFreecss', 'IGA1587', 'FirstPrezzzz1776', 'Rabbits5961', 'JeanSplicing', 'WanderRays', 'Hunter1n1990', 'OakkRaider', 'Afiwee', 'PatStarIsHere', 'JerseyGrrrl87', 'RobertoCA126', '70smanforever', 'Hammy197062', 'CruzingNC91', 'WrightBro571', 'Ádhamh Mac Conchobhair', 'Aegis of Athena', 'EMarkel-JoyetAPS', 'KS1983', 'Kasens', 'Jfaulstick', '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', '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...