title
stringlengths
1
212
description
stringlengths
1
4.39k
query
stringlengths
1
65.5k
extra_info
stringlengths
18
31.6k
wikidb
stringlengths
4
26
Links to https://www.persee.fr/ in frwiki
Links to http://jnul.huji.ac.il/heb in hewiki
use frwiki_p; select el_from, page_title, el_to from externallinks, page where el_to like '%https://www.persee.fr/%' and el_from = page_id and page_namespace = 0 limit 500000;
{"resultsets": [{"headers": ["pl_from", "pl_title", "cl_to"], "rowcount": 516}], "runningtime": "5.27"}
frwiki_p
Skin usage in dewiki
For accounts that have logged in in the last year. Does not include all usage of the default skin.
SELECT CASE up_value WHEN "monobook" THEN "monobook" WHEN "vector" THEN "vector" WHEN "vector-2022" THEN "vector-2022" WHEN "minerva" THEN "minerva" WHEN "cologneblue" THEN "cologneblue" WHEN "timeless" THEN "timeless" WHEN "modern" THEN "modern" ELSE "DEFAULT" END AS `skin`, COUNT(*) FROM user_properties_anon WHERE up_property = "skin" AND upa_touched > SUBDATE(NOW(), INTERVAL 1 YEAR) GROUP BY 1 ORDER BY 2 DESC
{"resultsets": [{"headers": ["actor_name", "no_of_page_moves"], "rowcount": 12}], "runningtime": "0.07"}
dewiki_p
Sample2 all pages from history (min5edits)
null
select distinct(t2.rev_page) from (select r.rev_page, r.rev_actor, count(*) No_edits from revision r join page p on r.rev_page = p.page_id join (select distinct(rev_actor) from revision join actor on rev_actor = actor_id where rev_page in (424775, 10332988, 7259439, 609947, 673067, 1760669, 289919, 5222282, 1686370, 2976535) and rev_actor not in (14126709, 18056118, 216043524, 14796318, 16375738, 22460537, 20266988, 563809, 9511030, 24468, 12761752, 14499063, 39925, 4432706, 43381, 953633, 10689166, 20533100, 19847846, 1612810, 264188, 8387952, 2223198, 3509975, 177986, 847016, 8980440, 6214873, 22009527, 9665885, 13823744, 7733289, 2967075, 6874869, 11172234, 27056630, 5147276, 5520467, 2827, 5134194, 4307, 15444490, 17224635, 188803383, 10904585, 5431, 14938428, 29655010, 7027479, 10015622, 5869011, 2130000, 36175903, 27270702, 9585176, 218915983, 830427, 9773229, 7950974, 5666009, 37466, 3011506, 19860659, 7746879, 2620394, 12145837, 25152719, 3359439, 10660234, 2789804, 166912, 16847663, 37223, 16477131, 15188542, 166509, 9826484, 9594842, 4292958, 8911656, 119960, 37201, 6440673, 6451853, 9171913, 17621853, 17616251, 284, 249704, 16733635, 21689777, 376333, 215737986, 16288579, 204103446, 11004708, 9220540, 35384, 4379715, 603698, 12172911, 4093490, 1586414, 5499193, 5578475, 5636984, 5731502, 193904013, 29384733, 1270151, 15214308, 10962635, 18116187, 5961506, 19244651, 184, 24577, 11506, 12510958, 216153498, 9871133, 194849034, 9278, 15811, 21572516, 29376529, 10852398, 4942192, 8731056, 16961639, 6115046, 2815241, 191152745, 6266430, 88691, 23935497, 205795513, 5568797, 3928337, 13964144, 5946, 19390776, 517706, 9017380, 14287535, 3518605, 18475305, 119243, 8271969, 3237983, 218442445, 20425276, 10813129, 5744357, 20974684, 16995931, 29867973, 21008486, 21668753, 9357494, 14344300, 16693307, 5774834, 7151258, 210, 16456511, 10599, 9976641, 218387192, 1830347, 962, 11484997, 5058835, 210976, 11832, 709767, 113408, 7938639, 1538185, 705550, 42558, 35887223, 2657139, 30774129, 13204716, 13204854, 35908721, 7516966, 6612980, 218124230, 8397470, 17664497, 21421794, 24003993, 29477, 3200627, 14294243, 2403666, 21828975, 63158, 15836621, 32993, 1292041, 5731619, 10640373, 8132176, 326, 13306436, 3415071, 4287573, 449094, 316021, 672892, 6217027, 5325267, 33261201, 14700773, 14700848, 211640630, 9857388, 20686001, 17724714, 4144161, 3049357, 4188, 3229342, 28070633, 3449815, 7423249, 684647, 10942040, 16579841, 8836327, 15279564, 2473804, 1061888, 6244133, 6596180, 16122095, 10261863, 3753164, 2099487, 1801850, 2692, 33107153, 26918548, 3403616, 2980035, 5411293, 59654, 45280, 30618, 9493401, 7470706, 7248260, 210033075, 4928287, 12488344, 20223518, 12601988, 6369744, 14259505, 7450628, 17255683, 2012912, 4038452, 3472350, 43820, 220560128, 20023991, 9229503, 18810592, 31862637, 35624214, 172181, 809038, 2670665, 4925186, 189848970, 6236558, 1168777, 218611944, 197869704, 10396799, 218715955, 5619356, 10276665, 220695559, 7123050, 9924617, 9233180, 7474979, 2385458, 20972241, 13005945, 535218, 43012, 13514798, 10750530, 6306782, 28445807, 494734, 8663577, 18775375, 29583917, 166649, 205590251, 6707345, 214905430, 30456351, 10571255, 21625807, 376082, 30679493, 20689472, 10409937, 9302065, 25677421, 16916379, 3022906, 14509999, 15454895, 221845645, 31007956, 81625, 7827212, 36084, 6570216, 1116679, 15857481, 786935, 14870827, 6001908, 8207987, 6065469, 15877641, 197503590, 347191, 29323, 6806669, 188757, 6387896, 6520359, 6327364, 221544702, 172185, 11930568, 15484047, 16272485, 222431932, 307, 12937478, 815494, 720179, 10734324, 10734325, 455285, 199572, 2534695, 10498627, 7640953, 4291047, 6238141, 14182478, 22676623, 9896807, 11245850, 7937356, 208196048, 6767330, 4240, 6379313, 6318668, 162, 6460238, 8234046, 589, 6460245, 8234029, 8234032, 8234040, 8234053, 4253, 898427, 703833, 201193270, 6698907, 1669933, 12439518, 11612447, 17850345, 190946, 32430555, 76499, 7637690, 24555235, 753722, 213289597, 1100, 24972727, 42047, 17191016, 13794298, 219863304, 11432468, 76939, 185330, 7326950, 16722329, 18413176, 24294, 7427898, 6355311, 6468054, 34646, 14026455, 28323306, 2608226, 1787307, 13364672, 207757678, 3272013, 1717768, 20452811, 249649, 19269907, 13813907, 9505327, 15274495, 17345942, 1175, 24512, 17582888, 19466152, 2812742, 172182, 79718, 24550, 14297961, 12326347, 1899440, 204238, 320366, 6268931, 3218, 2697, 4955097, 172179, 222678128, 9477072, 1411, 29715002, 24447, 9360547, 13511504, 202312501, 31827944, 5601174, 3895585, 25747982, 33165661, 17739839, 5748518, 24119009, 36183764, 191293384, 192619287, 198980722, 20871016, 4056126, 207506760, 17380871, 4109425, 3008487, 130746, 10305432, 42420, 18507598, 412, 10537008, 112577, 20696784, 9550219, 214493275, 859071, 573994, 919724, 9629292, 219196739, 17766668, 101369, 22574632, 4406287, 6787970, 304, 24409131, 29810799, 198685798, 8350332, 81200, 221316426, 14168976, 20336426, 217999031, 191026924, 606195, 4653, 14892191, 4987585, 13536185, 2761985, 8026384, 4122214, 324525, 3349907, 494731, 5697806, 3161083, 4438881, 18100686, 9202410, 5746054, 8675851, 202991275, 8194986, 302387, 21422092, 218702535, 46755, 215157217, 3621476, 207383938, 31180493, 4040886, 10962242, 17036594, 10592009, 6900364, 15949729, 14697470, 8497458, 17144496, 152725, 3155104, 7032885, 864562, 38800, 239898, 17557771, 14205032, 35540, 9174, 10601022, 6703434, 9261169, 217218094, 5167575, 847015, 10619069, 33273339, 5691609, 5691616, 7166158, 7662294, 7625519, 5694695, 14655731, 6723493, 17479026, 2711, 28580326, 19248590, 5985435, 5628455, 1380248, 6072344, 17493145, 7228277, 42291, 949, 1097563, 33733984, 10666410, 27274598, 9196615, 8108648, 7948911, 289456, 7651024, 12874028, 3308277, 212873428, 27305723, 16058366, 28895181, 7466770, 224, 1008506, 27507689, 252720, 22638780, 9731501, 8778882, 6019, 17654002, 24568691, 10262040, 3933, 57010, 11642116, 55088, 18288, 371277, 566453, 5322520, 26756707, 2234401, 3066017, 3104336, 3104348, 6837316, 17373643, 17380528, 20024198, 21742786, 127644, 10910681, 212912163, 3296732, 27587768, 16272008, 23224464, 7165783, 3563779, 6356011, 13005419, 32861664, 8855024, 220728614, 24730, 3574818, 27174356, 6325412, 10370452, 282001, 10327628, 16693794, 13488522, 18527097, 3629215, 24523, 18919761, 615615, 16181898, 1023, 5034985, 17186271, 27811, 2152888, 2270293, 5060638, 6535438, 11293752, 11553433, 7086, 2861, 214147936, 8184919, 221290, 20259177, 13566105, 6256109, 8347172, 84844, 7691903, 19842995, 7159481, 9795093, 1142412, 6323208, 28133933, 602503, 14901522, 8269891, 24307, 14273463, 744513, 8335394, 17192284, 37492, 208321476, 188768848, 1946411, 6166040, 14881004, 29547867, 22003224, 30910340, 29885505, 13515435, 19117521, 266404, 189571857, 10256639, 218329940, 50253, 23983158, 446291, 519695, 956534, 205844311, 3935966, 27621654, 198338242, 10740067, 5329513, 5428328, 5308591, 9915602, 13888195, 59617, 24999087, 1131204, 8215682, 9203807, 373556, 5742959, 8824273, 12957391, 204385846, 13782304, 5750744, 3006730, 932178, 1400670, 9371950, 5765602, 32630, 11078685, 6272403, 219485292, 9139, 758685, 494758, 1287237, 4862130, 21354867, 2997528, 19302336, 14589362, 204317, 742642, 4350854, 7566026, 21168786, 21549010, 4642265, 4643514, 6316713, 508, 7521956, 7567967, 899632, 5561584, 5777495, 4641202, 6588088, 132116, 1131208, 18963256, 221681309, 3331779, 210090804, 13722863, 81843, 2332056, 7210053, 1315544, 14033, 18835089, 4746, 2227304, 22115, 314453, 220341, 16063333, 10354061, 14236656, 20196211, 5530026, 6796837, 550618, 9621189, 33101, 9552659, 9228496, 216160728, 2958, 219884, 224278, 18330378, 6147327, 26521639, 243322, 5523972, 13840028, 2292981, 21366634, 20153776, 7470210, 8034785, 9369644, 4106303, 602506, 9171172, 168084, 13806908, 115185, 17239158, 6922413, 6973485, 7881932, 10972407, 24501, 18256634, 12961447, 12299, 216884087, 13002706, 14767213, 13651744, 6064734, 33286045, 222691845, 11002629, 16110744, 5756514, 16359336, 10538336, 177, 6229407, 10568890, 210374129, 10657, 11166332, 8209126, 1223840, 7679372, 18572029, 9235779, 33428069, 494729, 190369816, 110379, 18357227, 66244, 10241741, 11378860, 6962008, 14478, 315460, 189698000, 83571, 7176247, 25193153, 6392977, 1184715, 10602197, 5384875, 444010, 9682062, 9367895, 30005215, 21471002, 1038931, 201700154, 1299210, 9560320, 126836, 9050402, 11463621, 4203484, 6218741, 1436564, 586621, 8867362, 25679090, 9783264, 24707282, 4594819, 2687544, 4180543, 117707, 567242, 18616176, 17770, 30117061, 30683030, 494690, 202245496, 43818, 929652, 24166499, 19315213, 7286999, 5952831, 7392773, 8900159, 7729422, 83565, 6920287, 4166810, 1317081, 212100309, 163334, 6893314, 214234878, 131683, 30207385, 29758297, 35419733, 1824146, 606174, 7547069, 15873595, 249758, 3443051, 80595, 15107703, 4311, 6646162, 85619, 5919703, 1289767, 5020107, 13848276, 27040475, 1708324, 35186340, 5508263, 17566617, 5991580, 8044991, 42532, 586016, 34036611, 217866986, 3269771, 8276957, 12725242, 15852872, 659323, 16911539, 1630936, 5835315, 1667199, 25747365, 14204562, 1038, 18325270, 1124076, 15426, 5301148, 11456374, 16510297, 11647499, 43825, 3133150, 1424538, 7533774, 4311494, 3630179, 35583396, 9836127, 2144306, 9408929, 10182567, 267096, 29007794, 5991814, 6207691, 17068934, 37957, 6387898, 7966599, 752677, 5795423, 5545826, 1020, 100105, 10158413, 215059092, 8003143, 4270, 296366, 507305, 17774181, 4081504, 14965452, 42363, 32, 12912659, 13729270, 38356, 426221, 7930328, 7360053, 2034966, 253542, 16106553, 6194381, 11454823, 3304830, 28397081, 953655, 37571, 10688316, 31043499, 9529993, 33094, 30991924, 1870, 24735, 29767973, 30991892, 373712, 1568002, 11501023, 242495, 8933542, 482963, 42242, 7083726, 31378305, 26125052, 9885884, 1284801, 639860, 10808209, 24875440, 212864824, 118384, 1356092, 10563704, 200630101, 10894, 25298774, 73131, 5061277, 5052802, 15152217, 9251921, 3019505, 31067747, 28548405, 18408143, 16870995, 11008969, 11685950, 8400964, 6930894, 5118867, 5793587, 42476, 11860, 17397485, 10123046, 243155, 18151964, 98840, 197067460, 14823631, 81518, 1837280, 1752831, 3560425, 215006043, 10228130, 16867417, 14658378, 1435414, 21331457, 166969, 15481896, 35277, 8677505, 3673184, 85933, 5298847, 7262386, 131700, 2755, 21521108, 1352450, 15823864, 15814087, 752675, 9328729, 3962781, 4649333, 5454880, 22989716, 42048, 35169780, 16658192, 5991998, 68199, 14994107, 4944547, 19171249, 198729139, 33589569, 249413, 2637155, 215378, 17071588, 16078, 578348, 129610, 329412, 8878525, 241230, 9923717, 13885391, 21363512, 10930277, 19187567, 17537370, 17588050, 43816, 8113311, 1510968, 2882536, 12238038, 5276, 72871, 4062358, 12194622, 26089, 8269331, 8665872, 8699353, 14166359, 16941364, 31611455, 2385923, 333758, 404756, 4933716, 9766753, 786934, 3825444, 17530893, 16780959, 22686293, 31969890, 30088113, 11112930, 159274, 7321960, 9296, 519171, 7042848, 13997288, 14540865, 14797100, 593982, 193677792, 8108431, 9204, 189355549, 2199738, 11518, 24124162, 550322, 213, 6059, 19670271, 550617, 215090560, 1567368, 5830171, 8462191, 10180509, 8864577, 4970662, 221196251, 8661401, 2413433, 33569975, 7306136, 901409, 18748379, 19749277, 342366, 8584496, 30541295, 8157915, 4435846, 9109, 21105266, 15789389, 1439913, 6756854, 13948876, 368146, 401934, 7825405, 8193374, 1627047, 880006, 46657, 4491184, 8883395, 239945, 9799141, 10448012, 1397653, 399990, 16435440, 1252423, 5035689, 9278696, 7796210, 446293, 10994110, 34895011, 31283811, 4431341, 214676385, 5985275, 46748, 1082434, 5662955, 16143554, 28792266, 5195073, 29612637, 24549, 6742708, 18668806, 244468, 4933419, 18259436, 22133, 11510562, 204857755, 2907429, 33807458, 504603, 13853364, 536, 6673313, 9706247, 35206, 11837047, 10882297, 188419916, 5904447, 218574561, 17572326, 14409826, 17269012, 12427941, 852699, 341224, 17294302, 23865307, 7866708, 7866714, 7207628, 6458442, 8393618, 8279706, 8389491, 7045107, 10975863, 10895206, 2213843, 20180522, 9817391, 4403973, 18147730, 341602, 214688898, 195069319, 18069, 3940571, 507997, 2281314, 14107764, 42367, 19044663, 3247268, 32946866, 358454, 302346, 4503294, 15562502, 1572037, 324517, 5915929, 13697734, 9739413, 7211963, 147692, 14076609, 11492461, 34510817, 34541894, 13140936, 4395168, 8580710, 1153478, 4234, 64088, 8848456, 264393, 8505423, 2269540, 8736266, 213137314, 13792097, 6700733, 4165473, 3994669, 16355116, 470418, 5508802, 24483, 21221647, 11733203, 24169413, 3283697, 2291239, 198693102, 7741510, 23127777, 388426, 33399004, 8775598, 7342446, 13140300, 4639358, 13321742, 874, 206515975, 182, 10476662, 30020546, 18719861, 15512509, 3350229, 7439931, 28563169, 8696194, 25834621, 4327834, 715819, 38233, 16371767, 14028514, 7485100, 6525732, 672811, 15697103, 5442642, 4518040, 6779390, 6788853, 216510157, 165644, 14121282, 33921845, 2431288, 6981903, 5394712, 31154412, 18863886, 35658185, 35407488, 216586954, 5697448, 6790307, 2382664, 5685304, 4879481, 1427239, 7911057, 181155, 9971639, 7353743, 21647441, 183, 12338680, 15174249, 20891948, 5488586, 214723533, 26935980, 22040578, 2556269, 31065859, 1207463, 10952555, 25872881, 13717354, 9143, 18828821, 4405039, 14955488, 3505103, 580236, 4176811, 131682, 511822, 42533, 1917001, 3634482, 8706999, 21271767, 1153479, 10347024, 8564931, 29751764, 12485109, 4780, 36299569, 3532, 9241370, 8650192, 9768643, 3372951, 205721047, 15280034, 6733, 129954, 16330541, 267097, 16598493, 11817, 217133032, 4516673, 121290, 214550, 10115273, 5762540, 24044143, 2014333, 3853911, 2750387, 204083, 9163, 1684378, 11847655, 10546471, 1470488, 2798102, 23853134, 251053, 21217181, 9627511, 16355749, 34543685, 8646, 5966525, 1725904, 9017428, 2702050, 18730722, 215132523, 22946518, 1743156, 11858, 8856491, 265, 219731603, 194675876, 8583855, 7955816, 18172674, 18451569, 16141135, 19532580, 15475121, 15507640, 17655039, 628372, 12235945, 202196804, 204085, 215522889, 11890779, 11885661, 11733371, 9633866, 14912137, 735296, 8112032, 21529231, 928570, 13284900, 994, 36375607, 8012946, 28267894, 200017643, 198977042, 129952, 3993072, 110747, 4720508, 491708, 11007235, 8777059, 10724481, 31803975, 216054613, 30465760, 13441098, 21093, 28687787, 13842325, 703858, 926464, 19627559, 8834736, 1399415, 59619, 17963138, 980237, 4066704, 311504, 725914, 239952, 8301889, 2757137, 21056639, 14044489, 20263402, 29651, 6080906, 4545790, 215027931, 16598909, 1540840, 84860, 6114225, 6896648, 4579203, 3745948, 198102944, 1269178, 2483412, 17354425, 3475533, 2826744, 13213822, 31797567, 4294000, 5053263, 8569280, 4305821, 14020353, 12428750, 16840207, 27598995, 8709725, 347745, 221582842, 320597, 6004825, 2275321, 210705909, 15526825, 26727556, 398853, 34220554, 13546549, 45319, 7180015, 13660308, 987729, 17947405, 453356, 540, 10231828, 37842, 3675873, 29310881, 7119874, 202258632, 7131573, 2214707, 2523303, 4219, 3909433, 14824375, 7974316, 5836773, 17140364, 26822094, 15798299, 59695, 571088, 15188449, 12221539, 2316934, 18296316, 25633212, 12723055, 7533009, 3142101, 20358959, 23852101, 257444, 1061879, 786930, 7744569, 8365076, 85618, 8243961, 8359833, 8365063, 8390024, 4387650, 37633, 7909448, 9810437, 13360967, 5891953, 11079899, 1520724, 5098844, 5754930, 1048985, 8056538, 24344079, 3981867, 51202, 31777834, 19279074, 17342191, 222061370, 14688680, 80738, 24550861, 24528366, 5434495, 3309052, 218071378, 6195888, 18503223, 17540, 1792050, 190987528, 24775, 6511547, 18790360, 7574894, 22336218, 23019712, 4051062, 18435928, 5735190, 1563698, 1901, 1561030, 4951286, 19273743, 13459265, 1847952, 27674770, 13092191, 8916990, 8813, 11833605, 3177425, 8463714, 7184283, 8882973, 4854628, 971918, 8975099, 2932993, 18160338, 5844376, 45205, 13651718, 4292199, 215758109, 17595585, 279697, 5782132, 16238410, 340687, 42284, 204259, 4127276, 7643134, 3783877, 19039710, 191535516, 2384668, 241091, 14140864, 16673794, 8286955, 28257375, 2907542, 296365, 3597711, 951144, 6262834, 951145, 14917722, 14917721, 14917731, 14917728, 22980089, 21196090, 9412924, 21243923, 1103607, 12511929, 6826337, 215720364, 17402866, 215903837, 8734639, 213672035, 35032700, 42531, 26151514, 43687, 19475614, 11774212, 30803366, 6113910, 217558666, 3782778, 326992, 25606551, 12084, 121257, 20416, 20223236, 20147168, 163325, 9012405, 15002081, 18613672, 32168707, 51040, 9286526, 9725236, 12216512, 11480948, 5278539, 424211, 25155305, 18563975, 443769, 5475571, 31458570, 221004279, 1312616, 3608904, 6981505, 13420494, 3672043, 18605725, 3981055, 14935106, 18081332, 8342416, 9848411, 4284277, 9499475, 3047020, 17947398, 30841600, 205625059, 1801467, 446292, 2769770, 5458023, 204142, 479085, 21792306, 20667971, 12591816, 5914797, 17327285, 16365175, 6435, 15475859, 1257187, 1934892, 215479969, 221027791, 11512173, 59647, 232714, 1566621, 945429, 10461042, 14829802, 14795034, 2533001, 34200713, 32276274, 13295074, 1398738, 86082, 8489757, 214952711, 5294892, 572633, 405703, 209789338, 203038527, 6362865, 2012625, 115174, 17936554, 28281553, 4873073, 12997811, 657585, 15920865, 1926954, 18814708, 8693630, 17006041, 6569693, 4327959, 2591335, 166078, 3708344, 42254, 602613, 6283983, 215247360, 9387220, 7240441, 15856108, 14543209, 5171487, 10819, 20775, 209965046, 253104, 20940556, 17698061, 10357743, 3858712, 15807886, 7746400, 4333284, 28644130, 659225, 2958001, 519818, 2358907, 6864262, 14093035, 6931350, 2355641, 28070665, 4270901, 204768253, 2968132, 8184671, 321476, 17501254, 11419282, 1179334, 6096538, 531028, 8416066, 26809683, 9703767, 16487447, 17196325, 839108, 29712676, 3771233, 867291, 1750706, 212268835, 172187, 7693, 8644328, 25213442, 14257666, 3879446, 320356, 13748688, 306931, 8449556, 40522, 1842172, 1457645, 6886208, 15637983, 715781, 6041, 20011727, 1911555, 31713096, 491871, 2423, 212403830, 703832, 20115307, 2999905, 4240115, 10663689, 188163, 42365, 2804569, 2035058, 5652695, 189561535, 27648266, 10632, 18862331, 7025605, 6262815, 2923913, 47505, 213778203, 19418967, 204177600, 18216878, 214817645, 7642605, 7583049, 10788197, 19357722, 82666, 4294, 15615897, 5252208, 16484040, 3646692, 214063017, 208154735, 20359425, 2791411, 204122, 16438305, 212252712, 449002, 19377631, 32354802, 211170477, 9432314, 204303, 202157781, 50406, 215571414, 2107155, 131692, 2320157, 204112, 9021067, 37836, 1095171) order by rev_actor) t1 on r.rev_actor = t1.rev_actor where p.page_namespace = 0 and p.page_is_redirect = 0 and r.rev_minor_edit = 0 group by r.rev_page, r.rev_actor having No_edits >= 5 order by r.rev_page) t2 order by t2.rev_page
{"resultsets": [{"headers": ["Page title"], "rowcount": 92780}], "runningtime": "76.20"}
enwiki
arbcom elections for carn
null
SELECT user_name # user_registration, # user_editcount, # Count(rev_id) FROM (SELECT * FROM (SELECT user_id, user_name, user_registration, user_editcount FROM user WHERE ( ( user_registration IS NULL ) OR ( user_registration < 20221021000000 ) ) AND ( user_editcount >= 500 )) AS A INNER JOIN actor ON ( actor_user = A.user_id ) WHERE NOT EXISTS (SELECT * FROM user_groups WHERE ( ug_user = A.user_id ) AND ( ug_group = "bot" ))) AS B INNER JOIN revision ON ( rev_timestamp > 20220720000000 and rev_timestamp < 20230120000000) AND ( rev_actor = B.actor_id ) GROUP BY user_name HAVING Count(rev_id) >= 100
{"resultsets": [{"headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"], "rowcount": 0}], "runningtime": "20.69"}
ruwiki_p
All pages with 10 or more slashes in their titles
null
SELECT page_namespace AS "ns", page_title AS "title", LENGTH(page_title) AS "title length", page_len AS "size", ROUND ( ( CHAR_LENGTH(page_title) - CHAR_LENGTH( REPLACE ( page_title, "/", "") ) ) / CHAR_LENGTH("/") ) AS "count" FROM page WHERE page_namespace IN (2, 3) AND ROUND ( ( CHAR_LENGTH(page_title) - CHAR_LENGTH( REPLACE ( page_title, "/", "") ) ) / CHAR_LENGTH("/") ) > 7 ORDER BY count DESC LIMIT 10;
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 13}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 7}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 5}], "runningtime": "0.14"}
enwiki_p
(TOTAL) SDC edits by user and edit summary #WMSE-WLM-colombia
null
SELECT page_title, comment_text FROM revision_userindex r1 JOIN actor_revision ON actor_id = r1.rev_actor LEFT JOIN page ON page_id = r1.rev_page LEFT JOIN comment_revision ON comment_id = r1.rev_comment_id LEFT JOIN revision r2 ON r1.rev_parent_id = r2.rev_id WHERE actor_name IN ('AliciaFagervingWMSE-bot') AND r1.rev_timestamp > '20210101000000' AND comment_text LIKE '%#WMSE-WLM-colombia%'
{"resultsets": [{"headers": ["ipb_address", "actor_name", "ipb_timestamp", "comment_text"], "rowcount": 265}], "runningtime": "5.86"}
commonswiki_p
List of articles about living people containing at least one fair use image
If I did this right, it's going to return a list of articles about living people that have at least one non-free image.
USE ruwiki_p; SELECT DISTINCT CONCAT('* [[', p.page_title, ']]') FROM page p INNER JOIN categorylinks c1 ON p.page_id = c1.cl_from AND c1.cl_to = "Википедия:Биографии современников" INNER JOIN imagelinks i ON i.il_from = p.page_id AND i.il_from_namespace = 0 AND RIGHT(i.il_to, 4) <> '.ogg' INNER JOIN page i_p ON i.il_to = i_p.page_title INNER JOIN categorylinks c2 ON i_p.page_id = c2.cl_from AND c2.cl_to = "Файлы:Несвободные" LIMIT 5000
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "45.45"}
ruwiki_p
hewiki most prolific translators
null
use euwiki_p; SELECT rev_actor, actor_name, count(revision.rev_id) as articles_created FROM change_tag, actor, revision WHERE revision.rev_parent_id = 0 AND ct_tag_id = (select ctd_id from change_tag_def where ctd_name = 'contenttranslation') AND rev_id = ct_rev_id AND rev_actor = actor_id GROUP BY rev_actor ORDER BY articles_created DESC LIMIT 100;
{"resultsets": [{"headers": ["lt_title"], "rowcount": 300}], "runningtime": "9.10"}
euwiki_p
Skin usage in frwiki
For accounts that have logged in in the last year. Does not include all usage of the default skin.
SELECT CASE up_value WHEN "monobook" THEN "monobook" WHEN "vector" THEN "vector" WHEN "vector-2022" THEN "vector-2022" WHEN "minerva" THEN "minerva" WHEN "cologneblue" THEN "cologneblue" WHEN "timeless" THEN "timeless" WHEN "modern" THEN "modern" ELSE "DEFAULT" END AS `skin`, COUNT(*) FROM user_properties_anon WHERE up_property = "skin" AND upa_touched > SUBDATE(NOW(), INTERVAL 1 YEAR) GROUP BY 1 ORDER BY 2 DESC
{"resultsets": [{"headers": ["log_title", "actor_name", "log_timestamp", "comment_text"], "rowcount": 13}], "runningtime": "203.90"}
frwiki_p
Translatable pages in a custom source language
null
select page_lang, page_namespace, page_title from revtag right join page on (rt_page = page_id and rt_revision = page_latest) where rt_type = 'tp:mark' and page_lang is not null
{"resultsets": [{"headers": ["rc_this_oldid", "actor_name", "comment_text"], "rowcount": 2163753}], "runningtime": "1804.83"}
metawiki
WSpaਯਾਦਾਂ
This Query will provide the list of users who did edit on given book with its all pages.
Use pawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "contributors of this book:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "Julius_Ceasuer WHERE rev_page IN (select page_id from page where page_title like "ਯਾਦਾਂ.pdf%")Punjabi Translation by HS Gill.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 450}], "runningtime": "204.56"}
pawikisource_p
WSpaਯਾਦਾਂ
This Query will provide the list of users who did edit on given book with its all pages.
Use pawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "contributors of this book:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "Julius_Ceasuer WHERE rev_page IN (select page_id from page where page_title like "ਯਾਦਾਂ.pdf%")Punjabi Translation by HS Gill.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 357}], "runningtime": "150.16"}
pawikisource_p
WSpaਯਾਦਾਂ
This Query will provide the list of users who did edit on given book with its all pages.
Use pawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "contributors of this book:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "Julius_Ceasuer WHERE rev_page IN (select page_id from page where page_title like "ਯਾਦਾਂ.pdf%")Punjabi Translation by HS Gill.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 791}], "runningtime": "604.64"}
pawikisource_p
WSpaਯਾਦਾਂ
This Query will provide the list of users who did edit on given book with its all pages.
Use pawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "contributors of this book:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "ਯਾਦਾਂ.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page", "comment_id", "comment_hash", "comment_text", "comment_data"], "rowcount": 241}], "runningtime": "11.19"}
pawikisource_p
WSpaਬੁਝਦਾ ਦੀਵਾ
This Query will provide the list of users who did edit on given book with its all pages.
Use pawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "contributors of this book:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "ਬੁਝਦਾ_ਦੀਵਾ.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 9110}], "runningtime": "4311.35"}
pawikisource_p
zhwiki: Pages which title contains Irish and Czech Republic
null
USE zhwiki_p; SELECT page_id, page_title FROM page WHERE page_namespace = 14 AND page_is_redirect = 0 AND page_title LIKE "%愛爾蘭共和國%"; SELECT page_id, page_title FROM page WHERE page_namespace = 14 AND page_is_redirect = 0 AND page_title LIKE "%爱尔兰共和国%"; USE zhwiki_p; SELECT page_id, page_title FROM page WHERE page_namespace = 14 AND page_is_redirect = 0 AND page_title LIKE "%捷克共和國%"; SELECT page_id, page_title FROM page WHERE page_namespace = 14 AND page_is_redirect = 0 AND page_title LIKE "%捷克共和国%"; # 0/1 main 2/3 user 4/5 wp 6/7 file 8/9 mediawiki 10/11 template # 12/13 help 14/15 cat 100/101 portal 118/119 draft 710/711 timedtext 828/829 module # 2300/2301 gadget 2302/2303 g. def -1 special -2 media
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 15}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 6}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 8}], "runningtime": "0.19"}
zhwiki_p
PageTriage tagged edits
null
SELECT COUNT(*) FROM change_tag INNER JOIN change_tag_def ON change_tag_def.ctd_id = change_tag.ct_tag_id INNER JOIN revision ON revision.rev_id = change_tag.ct_rev_id INNER JOIN page ON page.page_id = revision.rev_page WHERE change_tag_def.ctd_name = "pagetriage" AND page.page_namespace = 0 AND revision.rev_timestamp BETWEEN 20220301000000 AND 20220901000000
{"resultsets": [], "runningtime": "0.03"}
enwiki_p
PageTriage user patrols
null
SELECT user.user_name, COUNT(*) as cnt FROM pagetriage_log INNER JOIN user ON user.user_id = pagetriage_log.ptrl_user_id WHERE ptrl_reviewed = 1 AND ptrl_timestamp BETWEEN 20220301000000 AND 20220901000000 GROUP BY ptrl_user_id ORDER BY cnt DESC
{"resultsets": [], "runningtime": "0.03"}
enwiki_p
Userspace pages of non-existent users (no talk, no subpages)
null
SELECT CONCAT('https://en.wikipedia.org/wiki/User:', p.page_title) AS URL FROM enwiki_p.page p LEFT JOIN enwiki_p.user u ON REPLACE(p.page_title, '_', ' ') = u.user_name WHERE p.page_namespace = 2 AND u.user_id IS NULL AND p.page_is_redirect = 0 AND NOT IS_IPV4(p.page_title) -- Exclude IPv4 AND NOT IS_IPV6(p.page_title) -- Exclude IPv6 AND p.page_title NOT LIKE '%.css' AND p.page_title NOT LIKE '%.cs' AND p.page_title NOT LIKE '%.js' AND p.page_title NOT LIKE '%.charset' AND p.page_title NOT LIKE '%.%.%.xxx' AND p.page_title NOT IN ('Unknown_user', 'Global_rename_script', 'Sec\"\'27\\u00226\\x3ETest_(WMF)') -- Exclude technical user pages AND p.page_id NOT IN ( SELECT cl.cl_from FROM enwiki_p.categorylinks cl WHERE cl.cl_to IN ('User_soft_redirects', 'Wikipedia_doppelganger_accounts', 'Wikipedia_alternative_accounts') -- Exclude these categories ) AND p.page_id NOT IN ( SELECT tl.tl_from FROM enwiki_p.templatelinks tl WHERE tl.tl_target_id IN (32197, 277052, 282063, 115252, 1968835) -- Exclude pages tagged with sockpuppet template ) AND p.page_title NOT LIKE '%/%'
{"resultsets": [{"headers": ["reviews", "rc_title", "accepted", "accept %", "declined", "decline %"], "rowcount": 1416}], "runningtime": "15.26"}
enwiki_p
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len FROM page talkpage WHERE talkpage.page_title NOT LIKE '%/%' AND talkpage.page_namespace IN (1,11,15,101,119) AND NOT EXISTS ( SELECT 1 FROM page mainpage WHERE mainpage.page_namespace=talkpage.page_namespace-1 AND mainpage.page_title=talkpage.page_title ) AND NOT EXISTS ( SELECT 1 FROM templatelinks WHERE talkpage.page_id=tl_from AND tl_target_id = 418257 ) LIMIT 100
{"resultsets": [{"headers": ["declined_then_deleted", "actor_name"], "rowcount": 174}], "runningtime": "20.19"}
enwiki_p
Pages with Qid in title on svwiki
null
SELECT page_title FROM page WHERE page_is_redirect = 1 AND page_title LIKE '%(Q[0-9]%)'
{"resultsets": [{"headers": ["pl_title", "COUNT(*)"], "rowcount": 2106}], "runningtime": "12.16"}
svwiki_p
All users edit count all Dagwiki
null
SELECT actor_name,COUNT(rev_actor) as edit_count FROM revision,actor WHERE actor_id=rev_actor GROUP BY rev_actor ORDER BY count(rev_actor) desc
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "14.88"}
dagwiki_p
PageTriage tagged edits
null
SELECT * FROM change_tag INNER JOIN change_tag_def ON change_tag_def.ctd_id = change_tag.ct_tag_id INNER JOIN revision ON revision.rev_id = change_tag.ct_rev_id INNER JOIN page ON page.page_id = revision.rev_page WHERE change_tag_def.ctd_name = "pagetriage" AND page.page_namespace = 0 AND revision.rev_timestamp BETWEEN 20220301000000 AND 20220901000000
{"resultsets": [{"headers": ["Page title", "Namespace"], "rowcount": 44153}], "runningtime": "36.39"}
enwiki_p
pagetriage_page 27 Jan
null
SELECT * FROM pagetriage_page
{"resultsets": [{"headers": ["page_namespace", "page_id", "page_title", "page_is_redirect", "page_len"], "rowcount": 10}], "runningtime": "0.06"}
enwiki_p
hewiki most prolific translators
null
use euwiki_p; SELECT rev_actor, actor_name, count(revision.rev_id) as articles_created FROM change_tag, actor, revision WHERE revision.rev_parent_id = 0 AND ct_tag_id = (select ctd_id from change_tag_def where ctd_name = 'contenttranslation') AND rev_id = ct_rev_id AND rev_actor = actor_id GROUP BY rev_actor ORDER BY articles_created DESC LIMIT 100;
{"resultsets": [{"headers": ["old", "new"], "rowcount": 2}], "runningtime": "0.05"}
euwiki_p
WSpa:ਰਾਮ_ਸਰੂਪ_ਅਣਖੀ_ਦੀਆਂ_ਸਾਰੀਆਂ_ਕਹਾਣੀਆਂ_ਭਾਗ_-1
This Query will provide the list of users who did edit on given book with its all pages.
Use pawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "contributors of this book:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "ਸ਼ੇਖ਼_ਚਿੱਲੀ_ਦੀ_ਕਥਾ.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 509}], "runningtime": "357.69"}
pawikisource_p
WSpaਰਾਮ_ਸਰੂਪ_ਅਣਖੀ_ਦੀਆਂ_ਸਾਰੀਆਂ_ਕਹਾਣੀਆਂ_ਭਾਗ_-1
This Query will provide the list of users who did edit on given book with its all pages.
Use pawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "contributors of this book:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "ਰਾਮ_ਸਰੂਪ_ਅਣਖੀ_ਦੀਆਂ_ਸਾਰੀਆਂ_ਕਹਾਣੀਆਂ_ਭਾਗ_-1.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 293}], "runningtime": "253.02"}
pawikisource_p
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len FROM page talkpage WHERE talkpage.page_title NOT LIKE '%/%' AND talkpage.page_namespace IN (1,11,15,101,119) AND NOT EXISTS ( SELECT 1 FROM page mainpage WHERE mainpage.page_namespace=talkpage.page_namespace-1 AND mainpage.page_title=talkpage.page_title ) AND NOT EXISTS ( SELECT 1 FROM templatelinks WHERE talkpage.page_id=tl_from AND tl_target_id = 418257 ) LIMIT 100
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "20.14"}
enwiki_p
Example query for querying P180fromCategory values
null
SELECT page_namespace, page_id, el_to FROM externallinks, page WHERE page_id=el_from AND page_namespace=2 AND page_title="Zache/P180fromCategory" AND el_to LIKE "%#P%=Q%";
{"resultsets": [{"headers": ["CONCAT('File:', REPLACE(page_title,'_',' '))"], "rowcount": 61}], "runningtime": "1.34"}
commonswiki_p
نشاط الإداريين آخر ثلاثين يوم
null
USE arwiki_p; SET @end_date = '20230127'; SET @start_date =DATE_SUB(@end_date, INTERVAL 6 month); SELECT @start_date, DATE_FORMAT(@start_date, "%W %e %M %Y") as 'بداية الفترة', DATE_FORMAT(@end_date, "%W %e %M %Y") as 'نهاية الفترة', DATEDIFF(@end_date,@start_date) as 'المدة' ; SELECT actor_name, SUM(IF( (log_type = 'delete' AND log_action != 'restore'),1,0)) AS 'delete', SUM(IF( (log_type = 'delete' AND log_action = 'restore'),1,0)) AS 'restore', SUM(IF( (log_type = 'delete' AND log_action = 'event'),1,0)) AS 'event', SUM(IF( (log_type = 'delete' AND log_action = 'revision'),1,0)) AS 'revision', SUM(IF( (log_type = 'block' AND log_action != 'unblock'),1,0)) AS 'block', SUM(IF( (log_type = 'block' AND log_action = 'unblock'),1,0)) AS 'unblock', SUM(IF( (log_type = 'block' AND log_action = 'reblock'),1,0)) AS 'reblock', SUM(IF( (log_type = 'protect' AND log_action != 'unprotect'),1,0)) AS 'protect', SUM(IF( (log_type = 'protect' AND log_action = 'unprotect'),1,0)) AS 'unprotect', SUM(IF( (log_type = 'protect' AND log_action = 'modify'),1,0)) AS 'modify', SUM(IF( log_type = 'rights',1,0)) AS 'rights', SUM(IF( log_type != '',1,0)) AS 'total' FROM logging INNER JOIN actor ON logging.log_actor = actor.actor_id WHERE log_timestamp between @start_date and @end_date AND log_type IS NOT NULL AND log_action IS NOT NULL AND actor_name IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'sysop') AND log_type IN ('block', 'delete', 'protect', 'rights') AND log_action NOT IN ('delete_redir', 'autopromote', 'move_prot') AND ucase (actor_name) not like ucase ("%BOT") collate utf8_general_ci AND actor_name not like "بوت %" collate utf8_general_ci AND actor_name not like "مرشح_الإساءة%" collate utf8_general_ci AND actor_name NOT IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'bot') GROUP BY actor_name ORDER BY 'total' DESC;
{"resultsets": [{"headers": ["categoria"], "rowcount": 165}], "runningtime": "0.43"}
arwiki_p
Qatar recent changes
null
SELECT DISTINCT actor_name -- rc_timestamp, actor_name, rc_title, comment_text FROM recentchanges_userindex AS recentchanges INNER JOIN actor_recentchanges AS actor ON recentchanges.rc_actor = actor.actor_id INNER JOIN comment ON recentchanges.rc_comment_id = comment.comment_id WHERE TRUE AND rc_namespace = 0 AND rc_new = 0 AND rc_bot = 0 AND ( FALSE OR rc_title LIKE '%Qatar%' OR rc_title LIKE '%United_Arab_Emirates%' OR rc_title LIKE '%Egypt%' OR rc_title LIKE '%Saudi_Arabia%' OR rc_title LIKE '%Jamal_Khashoggi%' ) AND rc_title NOT LIKE '%Ancient_Egypt%' AND rc_new_len - rc_old_len >= 100 AND actor_name NOT IN ('Jo Jc Jo', 'Toddy1', 'The Anome', 'Materialscientist', 'Mccapra', 'Sakiv') LIMIT 5000
{"connection_id": 102307056}
enwiki
Users by edit count on gnwiki
null
SELECT actor_name AS "User", COUNT(rev_actor) AS "Number of edits" FROM revision, actor WHERE revision.rev_actor = actor.actor_id GROUP BY revision.rev_actor;
{"resultsets": [{"headers": ["title"], "rowcount": 0}], "runningtime": "0.05"}
eowiki_p
استعلامات مهمه في الوقت الحاضر
null
/* count os ~= 8000 select COUNT(DISTINCT log_title) as "logo count" from logging where log_type in ("review") and log_namespace in (0) and log_timestamp between 20221205000000 and 20230127000000 #limit 10 # count is 380316 select count(DISTINCT page.page_title ) as "page count" from revision inner join page on revision.rev_page = page.page_id where page.page_namespace in (0) and rev_timestamp between 20221205000000 and 20230127000000 */ /* select DISTINCT log_title as "logo count" from logging where log_type in ("review") and log_namespace in (0) and log_timestamp between 20221205000000 and 20230127000000 UNION select DISTINCT page.page_title as "page count" from revision inner join page on revision.rev_page = page.page_id where page.page_namespace in (0) and rev_timestamp between 20221205000000 and 20230127000000 */ /* SELECT COUNT(*) FROM ( select DISTINCT log_title as "logo count" from logging where log_type in ("review") and log_namespace in (0) and log_timestamp between 20221205000000 and 20230127000000 UNION select DISTINCT page.page_title as "page count" from revision inner join page on revision.rev_page = page.page_id where page.page_namespace in (0) and rev_timestamp between 20221205000000 and 20230127000000 ) AS pages_list */ /* select flaggedpages.*,page.page_title from flaggedpages join page on flaggedpages.fp_page_id = page.page_id limit 10 */ /* SELECT count(pl_2_title) FROM ( SELECT DISTINCT log_title AS "pl_2_title" FROM logging WHERE log_type IN ("review") AND log_namespace IN (0) AND log_timestamp BETWEEN 20221205000000 AND 20230127000000 UNION SELECT DISTINCT page.page_title AS "pl_2_title" FROM revision INNER JOIN page ON revision.rev_page = page.page_id WHERE page.page_namespace IN (0) AND rev_timestamp BETWEEN 20221205000000 AND 20230127000000 ) AS pages_list WHERE pl_2_title NOT IN ( SELECT page.page_title FROM flaggedpages JOIN page ON flaggedpages.fp_page_id = page.page_id ) */ /* SELECT pl_2_title FROM ( SELECT DISTINCT log_title AS "pl_2_title" FROM logging WHERE log_type IN ("review") AND log_namespace IN (0) AND log_timestamp BETWEEN 20221205000000 AND 20230127000000 UNION SELECT DISTINCT page.page_title AS "pl_2_title" FROM revision INNER JOIN page ON revision.rev_page = page.page_id WHERE page.page_namespace IN (0) AND rev_timestamp BETWEEN 20221205000000 AND 20230127000000 and page.page_id NOT IN ( SELECT fp_page_id FROM flaggedpages ) ) AS pages_list */ /* SELECT count(pl_2_title) FROM ( SELECT DISTINCT log_title AS "pl_2_title" FROM logging WHERE log_type IN ("review") AND log_namespace IN (0) AND log_timestamp BETWEEN 20221205000000 AND 20230127000000 UNION SELECT DISTINCT page.page_title AS "pl_2_title" FROM revision INNER JOIN page ON revision.rev_page = page.page_id WHERE page.page_namespace IN (0) AND rev_timestamp BETWEEN 20221205000000 AND 20230127000000 and page.page_id NOT IN ( SELECT fp_page_id FROM flaggedpages ) ) AS pages_list */ /* SELECT count(pl_2_title) FROM ( SELECT DISTINCT log_title AS "pl_2_title" FROM logging WHERE log_type IN ("review") AND log_namespace IN (0) AND log_timestamp > 20230127000000 UNION SELECT DISTINCT page.page_title AS "pl_2_title" FROM revision INNER JOIN page ON revision.rev_page = page.page_id WHERE page.page_namespace IN (0) AND rev_timestamp > 20230127000000 ) AS pages_list */ SELECT pl_2_title FROM ( SELECT DISTINCT log_title AS "pl_2_title" FROM logging WHERE log_type IN ("review") AND log_namespace IN (0) AND log_timestamp > DATE_SUB( now(), INTERVAL 5 MINUTE ) UNION SELECT DISTINCT page.page_title AS "pl_2_title" FROM revision INNER JOIN page ON revision.rev_page = page.page_id WHERE page.page_namespace IN (0) AND rev_timestamp > DATE_SUB( now(), INTERVAL 5 MINUTE ) and page_is_redirect = 0 ) AS pages_list
{"connection_id": 102617356}
arwiki_p
All pages with paid disclosure
null
SELECT page_title FROM page JOIN templatelinks ON tl_from = page_id WHERE tl_title = "Connected_contributor_(paid)"
{"resultsets": [{"headers": ["categoria"], "rowcount": 1545}], "runningtime": "5.84"}
enwiki_p
check rev_id tags
null
select * from change_tag join change_tag_def ON change_tag_def.ctd_id = change_tag.ct_tag_id WHERE ct_rev_id = 22621916 limit 100
{"resultsets": [{"headers": ["categoria"], "rowcount": 239}], "runningtime": "1.00"}
ukwiki
skip revision
null
select count(distinct page.page_id, revision.rev_id) AS rev_id from change_tag JOIN revision ON change_tag.ct_rev_id = revision.rev_id JOIN page ON page.page_id = revision.rev_page where page.page_namespace = 0 AND ct_tag_id IN (138, 140, 11, 7) AND rev_timestamp > '2023-01-01T00:00:00Z'
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "21.11"}
enwiki
Uses of wikipedia template on English Wiktionary with non-ASCII title
null
select page_namespace, page_title from templatelinks left join linktarget on lt_id = tl_target_id left join page on tl_from = page_id where lt_namespace = 10 and lt_title = 'wikipedia' and page_title not rlike '[a-zA-Z0-9]' limit 1000;
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "18.31"}
enwiktionary
English entries with no topic or set categories
null
select page_title as mainspace_title from ( select cl_from as entry_id from categorylinks where cl_to = 'English_lemmas' ) as English_entries left join page on page_id = entry_id left join categorylinks on cl_from = entry_id where page_namespace = 0 group by entry_id having sum(cl_to like 'en:%') = 0;
{"connection_id": 102845365}
enwiktionary
page_links_updated by date, mainspace
null
select * from page where page_title like "Fruit" limit 10;
{"connection_id": 102871082}
enwiki
all wiktionary english topic categories
null
SELECT DISTINCT cl_to FROM categorylinks WHERE cl_to LIKE 'en:%' AND cl_to NOT LIKE '%en:List of sets%';
{"resultsets": [{"headers": ["page_title", "page_id", "created"], "rowcount": 30}], "runningtime": "0.19"}
enwiktionary
Page move stats
null
use kswiki_p; SELECT user_name user, count(*) as move_cnt FROM logging JOIN actor ON log_actor = actor_id JOIN user ON actor_user = user_id WHERE log_type = 'move' AND log_action IN ('move') GROUP BY user_name ORDER BY move_cnt DESC ;
{"resultsets": [{"headers": ["page_title", "rev_timestamp", "page_latest", "count", "pa_class"], "rowcount": 400}], "runningtime": "35.32"}
kswiki_p
hewiki most prolific translators
null
use kswiki_p; SELECT rev_actor, actor_name, count(revision.rev_id) as articles_created FROM change_tag, actor, revision WHERE revision.rev_parent_id = 0 AND ct_tag_id = (select ctd_id from change_tag_def where ctd_name = 'contenttranslation') AND rev_id = ct_rev_id AND rev_actor = actor_id GROUP BY rev_actor ORDER BY articles_created DESC LIMIT 100;
{"resultsets": [{"headers": ["page_title", "rev_timestamp", "page_latest", "count", "pa_class"], "rowcount": 400}], "runningtime": "55.65"}
kswiki_p
Images with reuters in their EXIF
null
SELECT img_name from image where img_metadata like '%Reuters%';
{"resultsets": [{"headers": ["Page", "Excerpt", "creationDate"], "rowcount": 13}], "runningtime": "2.54"}
commonswiki_p
MW.org new users jan
null
select cast(substr(log_timestamp, 1, 8 ) as date) 'date', count(*) from logging_logindex where log_type = 'newusers' and log_timestamp > '20230110000000' and log_timestamp < '20230130000000' and log_action = 'create' group by 1 limit 400;
{"resultsets": [{"headers": ["CONCAT(\"https://en.wikipedia.org/wiki/File:\", img_name)"], "rowcount": 1}], "runningtime": "0.39"}
mediawikiwiki_p
test
null
USE enwiki_p; SELECT user_name, up_value, LENGTH(up_value), user_editcount FROM user_properties JOIN `user` ON user_id = up_user WHERE up_property = "nickname" AND user_name IN (SELECT actor_name FROM revision_userindex JOIN actor ON rev_actor = actor_id WHERE actor_name = "HouseBlaster") ORDER BY LENGTH(up_value) DESC
{"resultsets": [{"headers": ["Offending user", "Blocked user", "Blocked user tagged sock?", "Most recent interaction"], "rowcount": 727}], "runningtime": "27.68"}
enwiki
Images with reuters in their EXIF
null
SELECT img_name from image where img_metadata like '%Release to widest dissemination%' limit 10;
{"connection_id": 129687675}
commonswiki_p
Edycje wizualne w porównaniu do wszystkich w 2022
null
set @ve := 1; -- Id znacznika "VisualEditor" -- Uwzględniane są wszystkie edycje wykonane w 2022 roku (UTC+1) set @starttime := '20211231230000'; set @endtime := '20221231230000'; SELECT ( SELECT COUNT(*) FROM revision JOIN change_tag ON rev_id = ct_rev_id WHERE ct_tag_id = @ve AND rev_timestamp >= @starttime AND rev_timestamp < @endtime ) AS "VisualEditor", ( SELECT COUNT(*) FROM revision WHERE rev_timestamp >= @starttime AND rev_timestamp < @endtime ) - ( SELECT COUNT(*) FROM revision JOIN actor ON rev_actor = actor_id RIGHT JOIN user_groups ON actor_user = ug_user AND ug_group = 'bot' WHERE rev_timestamp >= @starttime AND rev_timestamp < @endtime ) AS "Wszystkie edycje (bez botów)";
{"resultsets": [{"headers": ["actor_id", "actor_user", "actor_name", "page_title", "page_id", "count(*)"], "rowcount": 1076}], "runningtime": "6.69"}
plwiki_p
Edycje wizualne w porównaniu do wszystkich w 2022 w PG
null
set @ve := 1; -- Id znacznika "VisualEditor" -- Uwzględniane są wszystkie edycje wykonane w 2022 roku (UTC+1) set @starttime := '20211231230000'; set @endtime := '20221231230000'; SELECT ( SELECT COUNT(*) FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN page ON rev_page = page_id WHERE ct_tag_id = @ve AND page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime ) AS "VisualEditor", ( SELECT COUNT(*) FROM revision JOIN page ON rev_page = page_id WHERE page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime ) - ( SELECT COUNT(*) FROM revision JOIN page ON rev_page = page_id JOIN actor ON rev_actor = actor_id RIGHT JOIN user_groups ON actor_user = ug_user AND ug_group = 'bot' WHERE page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime ) AS "Wszystkie edycje (bez botów)";
{"resultsets": [{"headers": ["actor_id", "actor_user", "actor_name", "page_title", "page_id", "count(*)"], "rowcount": 498}], "runningtime": "3.21"}
plwiki_p
ckb: Userspace pages of non-existent users (no talk, no subpages)
null
SELECT CONCAT('https://ckb.wikipedia.org/wiki/User:', p.page_title) AS URL FROM ckbwiki_p.page p LEFT JOIN ckbwiki_p.user u ON REPLACE(p.page_title, '_', ' ') = u.user_name WHERE p.page_namespace = 2 AND u.user_id IS NULL AND p.page_is_redirect = 0 AND NOT IS_IPV4(p.page_title) -- Exclude IPv4 AND NOT IS_IPV6(p.page_title) -- Exclude IPv6 AND p.page_title NOT LIKE '%.css' AND p.page_title NOT LIKE '%.cs' AND p.page_title NOT LIKE '%.js' AND p.page_title NOT LIKE '%.charset' AND p.page_title NOT LIKE '%.%.%.xxx' AND p.page_title NOT IN ('Unknown_user', 'Global_rename_script', 'Sec\"\'27\\u00226\\x3ETest_(WMF)') -- Exclude technical user pages AND p.page_id NOT IN ( SELECT cl.cl_from FROM ckbwiki_p.categorylinks cl WHERE cl.cl_to IN ('User_soft_redirects', 'Wikipedia_doppelganger_accounts', 'Wikipedia_alternative_accounts') -- Exclude these categories ) AND p.page_id NOT IN ( SELECT tl.tl_from FROM ckbwiki_p.templatelinks tl WHERE tl.tl_target_id IN (32197, 277052, 282063, 115252, 1968835) -- Exclude pages tagged with sockpuppet template ) AND p.page_title NOT LIKE '%/%'
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "13.52"}
ckbwiki_p
ckb: self-redirects
null
SELECT CONCAT( CASE p.page_namespace WHEN 0 THEN '' WHEN 1 THEN 'Talk' WHEN 2 THEN 'User' WHEN 3 THEN 'User talk' WHEN 4 THEN 'Wikipedia' WHEN 5 THEN 'Wikipedia talk' WHEN 6 THEN 'File' WHEN 7 THEN 'File talk' WHEN 8 THEN 'MediaWiki' WHEN 9 THEN 'MediaWiki talk' WHEN 10 THEN 'Template' WHEN 11 THEN 'Template talk' WHEN 12 THEN 'Help' WHEN 13 THEN 'Help talk' WHEN 14 THEN 'Category' WHEN 15 THEN 'Category talk' WHEN 100 THEN 'Portal' WHEN 101 THEN 'Portal talk' WHEN 108 THEN 'Book' WHEN 109 THEN 'Book talk' WHEN 118 THEN 'Draft' WHEN 119 THEN 'Draft talk' WHEN 446 THEN 'Education Program' WHEN 447 THEN 'Education Program talk' WHEN 710 THEN 'TimedText' WHEN 711 THEN 'TimedText talk' WHEN 828 THEN 'Module' WHEN 829 THEN 'Module talk' WHEN 2300 THEN 'Gadget' WHEN 2301 THEN 'Gadget talk' WHEN 2302 THEN 'Gadget definition' WHEN 2303 THEN 'Gadget definition talk' ELSE 'Other' END, ':', p.page_title ) AS 'Page' FROM redirect r INNER JOIN page p ON p.page_id = r.rd_from WHERE p.page_namespace = r.rd_namespace AND (p.page_namespace != 2 AND p.page_namespace != 3) AND p.page_title != 'Example_of_a_self_redirect' AND p.page_title = r.rd_title ORDER BY p.page_namespace, page_title LIMIT 1000;
{"resultsets": [{"headers": ["user", "edit_count"], "rowcount": 111}], "runningtime": "7.04"}
ckbwiki_p
Most thanked (ckb)
null
SELECT log_title, COUNT(log_id) FROM logging_logindex WHERE log_type = "thanks" AND log_timestamp >= "20220000000000" GROUP BY log_title ORDER BY 2 DESC
{"resultsets": [{"headers": ["SUBSTRING(log_timestamp, 1, 8)", "COUNT(*)"], "rowcount": 0}], "runningtime": "1.55"}
ckbwiki_p
Edycje wizualne w porównaniu do wszystkich w 2022 w PG + rejestracja
Użytkownicy zarejestrowani w 2020 i później
set @ve := 1; -- Id znacznika "VisualEditor" -- Uwzględniane są wszystkie edycje wykonane w 2022 roku (UTC+1) set @starttime := '20211231230000'; set @endtime := '20221231230000'; -- Data rejestracji w 2020 i później set @registered := '20200101000000'; SELECT ( SELECT COUNT(*) FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN page ON rev_page = page_id join actor on actor_id=rev_actor join user on actor_user=user_id WHERE ct_tag_id = @ve AND page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime AND user_registration >= @registered ) AS "VisualEditor", ( SELECT COUNT(*) FROM revision JOIN page ON rev_page = page_id join actor on actor_id=rev_actor join user on actor_user=user_id WHERE page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime AND user_registration >= @registered ) - ( SELECT COUNT(*) FROM revision JOIN page ON rev_page = page_id JOIN actor ON rev_actor = actor_id join user on actor_user=user_id RIGHT JOIN user_groups ON actor_user = ug_user AND ug_group = 'bot' WHERE page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime AND user_registration >= @registered ) AS "Wszystkie edycje (bez botów)";
{"resultsets": [{"headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"], "rowcount": 200}], "runningtime": "1.57"}
plwiki_p
Edycje wizualne w porównaniu do wszystkich w 2022 w PG + rejestracja
wykluczenie botów prościej - no jednak nie :)
set @ve := 1; -- Id znacznika "VisualEditor" -- Uwzględniane są wszystkie edycje wykonane w 2022 roku (UTC+1) set @starttime := '20211231230000'; set @endtime := '20221231230000'; -- Data rejestracji w 2020 i później set @registered := '20200101000000'; SELECT ( SELECT COUNT(*) FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN page ON rev_page = page_id join actor on actor_id=rev_actor join user on actor_user=user_id WHERE ct_tag_id = @ve AND page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime AND user_registration >= @registered ) AS "VisualEditor", ( SELECT COUNT(*) FROM revision JOIN page ON rev_page = page_id join actor on actor_id=rev_actor join user on actor_user=user_id join user_groups on user_id WHERE page_namespace = 0 AND rev_timestamp >= @starttime AND rev_timestamp < @endtime AND user_registration >= @registered AND ug_group != 'bot' ) AS "Wszystkie edycje (bez botów)";
{"resultsets": [{"headers": ["SUBSTRING(log_timestamp, 1, 8)", "COUNT(*)"], "rowcount": 46}], "runningtime": "1.52"}
plwiki_p
Unreviewed pages in pagetriage_page
null
SELECT page.page_title, page.page_namespace, pagetriage_page.* FROM pagetriage_page, page WHERE ptrp_reviewed = 0 AND page_id = ptrp_page_id AND page_is_redirect = 0 ORDER BY ptrp_created ASC
{"resultsets": [{"headers": ["tl_from", "tl_from_namespace", "tl_target_id", "page_id", "page_namespace", "page_title", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang", "lt_id", "lt_namespace", "lt_title"], "rowcount": 0}], "runningtime": "1.10"}
enwiki_p
WLM in Sweden participants (last 5 editions)
People who have uploaded images during WLM in Sweden (2016–2020). List ready for mass messaging (https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_in_Sweden/Mass_message)
use commonswiki_p; SELECT CONCAT("# {{#target:User_talk:", actor_name, "}}") 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 ( "Uploaded via Campaign:Wikivacaciones 2022" ) GROUP BY actor_name ORDER BY actor_name
{"resultsets": [{"headers": ["AAAAMM", "TOTAL_borrar"], "rowcount": 97}], "runningtime": "0.44"}
commonswiki_p
Wikivacaciones 2022
null
use commonswiki_p; SELECT CONCAT("# {{#target:User_talk:", actor_name, "}}") 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 ( "Uploaded_via_Campaign:Wikivacaciones_2022" ) GROUP BY actor_name ORDER BY actor_name
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "22.16"}
commonswiki_p
Wikivacaciones 2022
null
use commonswiki_p; SELECT CONCAT("# {{#target:User_talk:", actor_name, "}}") 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 ( "Uploaded_via_Campaign:Wikivacaciones_2022" ) GROUP BY actor_name ORDER BY actor_name
{"resultsets": [{"headers": ["time", "user", "namespace", "page", "comment"], "rowcount": 12}], "runningtime": "39.62"}
commonswiki_p
zhwiki: Pages which title contains certain Yuan and the Republic of China
null
USE zhwiki_p; SELECT page_id, page_title FROM page WHERE page_namespace = 14 AND page_is_redirect = 0 AND page_title LIKE "%中華民國行政院%"; SELECT page_id, page_title FROM page WHERE page_namespace = 14 AND page_is_redirect = 0 AND page_title LIKE "%中华民国行政院%"; # 0/1 main 2/3 user 4/5 wp 6/7 file 8/9 mediawiki 10/11 template # 12/13 help 14/15 cat 100/101 portal 118/119 draft 710/711 timedtext 828/829 module # 2300/2301 gadget 2302/2303 g. def -1 special -2 media
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "16.85"}
zhwiki_p
Imagens com largura maior que 500 pixels
null
SELECT REPLACE(img_name, '_', ' ') IMAGEM, img_width LARGURA, img_height ALTURA FROM image WHERE img_width > 500 ORDER BY LARGURA DESC;
{"resultsets": [{"headers": ["user", "img_count"], "rowcount": 94}], "runningtime": "5.32"}
ptwiki_p
GA Subpage Query
null
SELECT `page_title` FROM `page` WHERE `page_namespace`=1 AND `page_title` LIKE "%/GA_"
{"resultsets": [{"headers": ["page_title"], "rowcount": 89}], "runningtime": "42.56"}
enwiki_p
T328477
null
select * from categorylinks where cl_to like '% %';
{"resultsets": [{"headers": ["page title", "rev_actor", "actor_name", "N", "block reason"], "rowcount": 1}], "runningtime": "0.10"}
zhwiki
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len FROM page talkpage WHERE talkpage.page_title NOT LIKE '%/%' AND talkpage.page_namespace IN (1,11,15,101,119) AND NOT EXISTS ( SELECT 1 FROM page mainpage WHERE mainpage.page_namespace=talkpage.page_namespace-1 AND mainpage.page_title=talkpage.page_title ) AND NOT EXISTS ( SELECT 1 FROM templatelinks WHERE talkpage.page_id=tl_from AND tl_target_id = 418257 ) LIMIT 100
{"resultsets": [{"headers": ["page title", "rev_actor"], "rowcount": 3}], "runningtime": "0.08"}
enwiki_p
Vandalismebestrijding nlwiki
Backlog: 6161x
# anonymous edits totals SELECT CASE rc_patrolled WHEN 0 THEN 'unpatrolled' WHEN 1 THEN 'manually patrolled' WHEN 2 THEN 'autopatrolled' END AS rc_patrolled, COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY rc_patrolled UNION SELECT 'total', COUNT(*) FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL; # top 15 anonymous users with the most unpatrolled edits SELECT actor_name AS 'user', COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY actor_name ORDER BY `unpatrolled` DESC LIMIT 15; # anonymous edits per day SELECT LEFT(rc_timestamp, 8) AS day, SUM(rc_patrolled=0) AS 'unpatrolled', SUM(rc_patrolled=1) AS 'manually patrolled', SUM(rc_patrolled=2) AS 'autopatrolled', COUNT(*) AS total FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY day; # unpatrolled anonymous edits per namespace SELECT rc_namespace, COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY rc_namespace; # top 10 pages with the most unpatrolled anonymous edits SELECT rc_namespace, rc_title, COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY rc_namespace, rc_title ORDER BY `unpatrolled` DESC LIMIT 15;
{"resultsets": [{"headers": ["el_to", "page_title"], "rowcount": 9}], "runningtime": "16.70"}
nlwiki_p
Active administrators Fr Wikipedia
Administrators having made a considerable number of edits over the last 30 days
SET @rev = (SELECT MIN(rev_id) FROM revision WHERE rev_timestamp > DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -30 DAY), "%Y%m%d%H%i%s")); SELECT COUNT(*) AS 'Edits', actor_name AS `User`, CONCAT("https:/fr.wikipedia.org/wiki/User:", actor_name) AS UserPage FROM revision_userindex LEFT JOIN actor_revision ON rev_actor = actor_id LEFT JOIN user_groups ON ug_user = actor_user WHERE rev_id >= @rev AND ug_group = 'sysop' GROUP BY `User` ORDER BY Edits DESC LIMIT 10;
{"resultsets": [{"headers": ["date", "count(*)", "avg(page_len)", "sum(page_len)"], "rowcount": 106}], "runningtime": "0.58"}
frwiki_p
উইকিপিডিয়ার শীর্ষ সম্পাদকগণ
১৫-০৫-২০২২। উপাত্ত ডাউনলোড করতে, উপাত্ত ডাউনলোড থেকে wikitable ক্লিক করুন।
SET @counter:=0; SELECT CONCAT("{{subst:formatnum:",@counter:=@counter+1,"}}") AS নং, CONCAT("{{u|",user_name,"}}") AS ব্যবহারকারী_নাম, CONCAT("{{subst:formatnum:",user_editcount,"}}") AS সম্পাদনার_সংখ্যা FROM user WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)" ORDER BY user_editcount DESC LIMIT 1000;
{"resultsets": [{"headers": ["WikiQuote updated article in #SheSaid 2022", "Current size", "Prior size", "Size increase", "Last update"], "rowcount": 8}], "runningtime": "0.68"}
bnwiki
African portals
null
SELECT DISTINCT concat('*[[بوابة:', p1.page_title , ']]') FROM page p1 WHERE p1.page_namespace = 100 and #( p1.page_title like "%أفريقي%" #or p1.page_title like "%إفريقي%" #) #and p1.page_title not like "%/%" AND p1.page_is_redirect = 0
{"resultsets": [{"headers": ["user_talk"], "rowcount": 25}], "runningtime": "15.50"}
arwiki_p
Articles without images in Tamil Wikipedia
Articles without images in Tamil Wikipedia
use tawiki_p; SELECT page_title FROM page LEFT JOIN imagelinks ON il_from=page_id WHERE page_namespace=0 AND page_is_redirect=0 AND page_len > 100 AND il_from IS NULL;
{"resultsets": [{"headers": ["date", "count(*)", "avg(page_len)", "sum(page_len)"], "rowcount": 106}], "runningtime": "0.60"}
tawiki_p
Articles without images inside the Infobox in Tamil Wikipedia
null
use tawiki_p; SELECT page_title FROM page INNER JOIN templatelinks ON page_id = tl_from WHERE page_namespace = 0 AND page_is_redirect=0 AND page_id NOT IN ( SELECT page_id FROM imagelinks WHERE il_to = 'null' )
{"resultsets": [{"headers": ["linter_page"], "rowcount": 1000}], "runningtime": "1.07"}
tawiki_p
Vandalismebestrijding nlwiki
5083
# anonymous edits totals SELECT CASE rc_patrolled WHEN 0 THEN 'unpatrolled' WHEN 1 THEN 'manually patrolled' WHEN 2 THEN 'autopatrolled' END AS rc_patrolled, COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY rc_patrolled UNION SELECT 'total', COUNT(*) FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL; # top 15 anonymous users with the most unpatrolled edits SELECT actor_name AS 'user', COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY actor_name ORDER BY `unpatrolled` DESC LIMIT 15; # anonymous edits per day SELECT LEFT(rc_timestamp, 8) AS day, SUM(rc_patrolled=0) AS 'unpatrolled', SUM(rc_patrolled=1) AS 'manually patrolled', SUM(rc_patrolled=2) AS 'autopatrolled', COUNT(*) AS total FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY day; # unpatrolled anonymous edits per namespace SELECT rc_namespace, COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY rc_namespace; # top 10 pages with the most unpatrolled anonymous edits SELECT rc_namespace, rc_title, COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY rc_namespace, rc_title ORDER BY `unpatrolled` DESC LIMIT 15;
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "83.29"}
nlwiki_p
Userspace pages of non-existent users (no talk, no subpages)
null
SELECT CONCAT('https://ar.wikipedia.org/wiki/مستخدم:', p.page_title) AS URL FROM arwiki_p.page p LEFT JOIN arwiki_p.user u ON REPLACE(p.page_title, '_', ' ') = u.user_name WHERE p.page_namespace = 2 AND u.user_id IS NULL AND p.page_is_redirect = 0 AND NOT IS_IPV4(p.page_title) -- Exclude IPv4 AND NOT IS_IPV6(p.page_title) -- Exclude IPv6 AND p.page_title NOT LIKE '%.css' AND p.page_title NOT LIKE '%.cs' AND p.page_title NOT LIKE '%.js' AND p.page_title NOT LIKE '%.charset' AND p.page_title NOT LIKE '%.%.%.xxx' AND p.page_title NOT IN ('Unknown_user', 'Global_rename_script', 'Sec\"\'27\\u00226\\x3ETest_(WMF)') -- Exclude technical user pages AND p.page_id NOT IN ( SELECT cl.cl_from FROM arwiki_p.categorylinks cl WHERE cl.cl_to IN ('User_soft_redirects', 'Wikipedia_doppelganger_accounts', 'Wikipedia_alternative_accounts') -- Exclude these categories ) AND p.page_id NOT IN ( SELECT tl.tl_from FROM arwiki_p.templatelinks tl WHERE tl.tl_target_id IN (32197, 277052, 282063, 115252, 1968835) -- Exclude pages tagged with sockpuppet template ) AND p.page_title NOT LIKE '%/%'
{"resultsets": [{"headers": ["Page", "Re-created at"], "rowcount": 282}], "runningtime": "11.87"}
arwiki_p
Unexisting maintenance categories (arwiki)
null
SELECT CONCAT('# [[:تصنيف:',cat_title,']]') AS cat_title, cat_pages from category where cat_title like '%منذ_%_2022' AND NOT EXISTS (SELECT 1 FROM page AS p1 WHERE cat_title = p1.page_title AND p1.page_namespace = 14) ORDER BY cat_pages DESC, cat_title ASC; ;
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "13.72"}
arwiki_p
nlwiki Top 150 manual patrollers of 2022
null
SELECT ROW_NUMBER() OVER (ORDER BY `count` DESC) AS '#', actor_user AS `user ID`, actor_name AS `user name`, COUNT(actor_id) AS `count` FROM logging, actor WHERE log_timestamp REGEXP '^2022' AND log_type='patrol' AND log_action='patrol' AND log_actor=actor_id GROUP BY actor_id ORDER BY `count` DESC LIMIT 150
{"resultsets": [{"headers": ["reviews", "actor_name", "accept", "decline", "reject", "accept %", "decline %", "reject %", "Blocked"], "rowcount": 184}], "runningtime": "35.63"}
nlwiki
Articles without images in Tamil Wikipedia
Articles without images in Tamil Wikipedia
use tawiki_p; SELECT page_title FROM page LEFT JOIN imagelinks ON il_from=page_id WHERE page_namespace=0 AND page_is_redirect=0 AND page_len > 100 AND il_from IS NULL;
{"resultsets": [{"headers": ["pl_from", "pl_title"], "rowcount": 121}], "runningtime": "13.37"}
tawiki_p
Active user of Hindi Wikisource
Active user of Hindi Wikisource
USE hiwikisource_p; SELECT CONCAT("# {{target | user =",actor_name,"| site = hi.wikisource.org }}") AS rev_user_text, COUNT(actor_id) AS recent_user_editcount /*,user_editcount*/ FROM revision JOIN actor ON rev_actor=actor_id JOIN page ON rev_page=page_id WHERE page_namespace = 250 AND actor_user IS NOT NULL AND rev_timestamp BETWEEN 20191101000000 AND 20230131235959 GROUP BY actor_id ORDER BY recent_user_editcount DESC LIMIT 100;
{"resultsets": [{"headers": ["pl_from", "pl_title"], "rowcount": 121}], "runningtime": "4.80"}
hiwikisource_p
Vandalismebestrijding Nlwiki
Backlog: 4126
# anonymous edits totals SELECT CASE rc_patrolled WHEN 0 THEN 'unpatrolled' WHEN 1 THEN 'manually patrolled' WHEN 2 THEN 'autopatrolled' END AS rc_patrolled, COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY rc_patrolled UNION SELECT 'total', COUNT(*) FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL; # top 15 anonymous users with the most unpatrolled edits SELECT actor_name AS 'user', COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY actor_name ORDER BY `unpatrolled` DESC LIMIT 15; # anonymous edits per day SELECT LEFT(rc_timestamp, 8) AS day, SUM(rc_patrolled=0) AS 'unpatrolled', SUM(rc_patrolled=1) AS 'manually patrolled', SUM(rc_patrolled=2) AS 'autopatrolled', COUNT(*) AS total FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY day; # unpatrolled anonymous edits per namespace SELECT rc_namespace, COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY rc_namespace; # top 10 pages with the most unpatrolled anonymous edits SELECT rc_namespace, rc_title, COUNT(*) AS 'unpatrolled' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL AND rc_patrolled=0 GROUP BY rc_namespace, rc_title ORDER BY `unpatrolled` DESC LIMIT 15;
{"resultsets": [{"headers": ["pl_from", "pl_title", "cl_to"], "rowcount": 520}], "runningtime": "5.48"}
nlwiki_p
wd22 - prueba2
null
use wikidatawiki_p; select count(rc_id) as edits, actor_name as user from recentchanges_userindex left join actor on rc_actor = actor_id left join comment on rc_comment_id = comment_id where comment_text like '%The Distributed Game (83)%' and rc_timestamp > '20221214030000' and rc_timestamp < '20230109030000' group by rc_actor order by edits desc;
{"resultsets": [{"headers": ["page_title", "rev_timestamp", "Wikidata"], "rowcount": 7}], "runningtime": "28.04"}
wikidatawiki_p
test (failed)
null
SELECT ROW_NUMBER() OVER (ORDER BY `count` DESC) AS '#', actor_user AS `user ID`, actor_name AS `user name`, COUNT(actor_id) AS `count` FROM logging, actor WHERE log_timestamp REGEXP '^2022' AND log_type='patrol' AND log_action='patrol' AND log_actor=actor_id AND log_action='ip' GROUP BY actor_id ORDER BY `count` DESC LIMIT 25
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "21.53"}
nlwiki_p
wikidata: search in editsummaries
null
SELECT rev_timestamp, page_namespace, page_title, rev_id, actor_name, comment_text FROM revision JOIN page ON rev_page=page_id JOIN actor_revision ON rev_actor=actor_id JOIN comment_revision ON rev_comment_id=comment_id WHERE actor_user IS NULL AND comment_text REGEXP '(?i)(antandrus|koavf|grp|ferien|kamenicek|javahurricane|shb2000|stryn|1234qwer|tuvalkin|jeff g|lemonaka|synergy|madamebiblio|firefangled|nascarfan|darkmatter|airtransat|mtarch|xover|xania|fehufanga|kittycata|vandalism|index\.php|archive\.[ipv]|encyclopedia|conservapedia|dramatica|assass|genocide|katyn|stalin|payback|blatant|bitch|fuck|buddy|shit|fag|vomit|sick|tyrant|bloody|convict|prison|stalker|psychopath|Сталин|Катын)' AND rev_timestamp BETWEEN 20220000000000 AND 20230000000000 ORDER BY rev_timestamp ASC;
{"resultsets": [{"headers": ["page_title", "page_len", "page_latest", "stable", "quality", "pending_since"], "rowcount": 10}], "runningtime": "0.10"}
wikidatawiki
Lista de portais na ptwiki
null
SELECT CONCAT('Portal:', REPLACE(page_title,'_',' ')) AS 'page_title' FROM page WHERE page_namespace = 100 #Returns articles only AND page_is_redirect = 0 #Do not return redirect pages AND page_title NOT LIKE "%/%" ORDER BY page_title ASC;
{"connection_id": 562053585}
ptwiki_p
Articles without images in Tamil Wikipedia
Articles without images in Tamil Wikipedia
use enwiki_p; SELECT page_title FROM page LEFT JOIN imagelinks ON il_from=page_id WHERE page_namespace=0 AND page_is_redirect=0 AND page_len > 100 AND il_from IS NULL;
{"resultsets": [{"headers": ["concat(\"Category:\",page_title)", "page_len", "cat_pages", "cat_subcats"], "rowcount": 8369}], "runningtime": "16.33"}
enwiki_p
Top contributors in WP:MED articles in 2022 (en wiki)
Excludes bots by removing users with bot in the title.... can use user usergroups instead, see https://wikitech.wikimedia.org/wiki/Help:MySQL_queries/Example_queries (though those queries are all currently broken)
SELECT actor_name, count(*) from revision join actor on rev_actor = actor_id join page on rev_page = page_id WHERE lower(cast(actor_name as CHAR)) NOT LIKE '%bot%' AND page_namespace = 0 AND rev_timestamp like '2021%' and page_title in (SELECT page_title FROM ( SELECT tl_from, rd_from FROM `templatelinks` LEFT JOIN `redirect` ON ((rd_from = tl_from) AND rd_title = 'WikiProject_Medicine' AND (rd_interwiki = '' OR rd_interwiki IS NULL) AND rd_namespace = '10') INNER JOIN `page` ON ((tl_from = page_id)) JOIN `linktarget` ON ((tl_target_id = lt_id)) WHERE lt_namespace = '10' AND lt_title = 'WikiProject_Medicine' ORDER BY tl_from) `temp_backlink_range` INNER JOIN `page` ON ((tl_from = page_id)) WHERE page_namespace = '1') group by actor_id order by count(*) desc limit 510;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 1581}], "runningtime": "721.50"}
enwiki_p
Users by gender on Portuguese Wikipedia
null
SELECT up_value, COUNT(*) FROM user_properties WHERE up_property = "gender" GROUP BY up_value
{"resultsets": [{"headers": ["page_title"], "rowcount": 6542}], "runningtime": "19.80"}
ptwiki_p
hewiki most prolific translators
null
use simplewiki_p; SELECT rev_actor, actor_name, count(revision.rev_id) as articles_created FROM change_tag, actor, revision WHERE revision.rev_parent_id = 0 AND ct_tag_id = (select ctd_id from change_tag_def where ctd_name = 'contenttranslation') AND rev_id = ct_rev_id AND rev_actor = actor_id GROUP BY rev_actor ORDER BY articles_created DESC LIMIT 100;
{"resultsets": [{"headers": ["page_title", "page_len"], "rowcount": 17068}], "runningtime": "16.81"}
simplewiki_p
تصانيف غيرموجودة
null
null
{"resultsets": [{"headers": ["page_title", "page_len"], "rowcount": 16558}], "runningtime": "13.78"}
enwiki_p
Transcluded templates ns 10
null
SELECT lt.lt_title, COUNT(*) FROM templatelinks t INNER JOIN linktarget lt ON lt.lt_id = t.tl_target_id LEFT JOIN page p ON p.page_namespace = lt.lt_namespace AND p.page_title = lt.lt_title INNER JOIN page p2 ON t.tl_from = p2.page_id WHERE p.page_title IS NOT NULL AND lt.lt_namespace = 10 GROUP BY 1 ORDER BY COUNT(*) DESC LIMIT 3000;
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 15}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 6}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 6}], "runningtime": "0.22"}
frwiki
Number of lexemes created by TemTechie
(requested on Telegram)
SELECT COUNT(*) FROM revision_userindex JOIN actor_revision ON rev_actor = actor_id JOIN page ON rev_page = page_id WHERE actor_name = 'TemTechie' AND rev_parent_id = 0 AND page_namespace = 146;
{"resultsets": [{"headers": ["page_title"], "rowcount": 2457}], "runningtime": "3.13"}
wikidatawiki
Most thanking/thanked users (total, last year) on tawiki
To know the most thanking and thanked users in Tamil wikipedia
USE tawiki_p; -- Most thanked, total SELECT log_title as thanked, COUNT(*) as count FROM logging WHERE log_type = "thanks" GROUP BY log_title ORDER BY count DESC, log_title LIMIT 100; -- Most thanking, total SELECT actor_name as thanking, COUNT(*) as count FROM logging, actor_user WHERE actor_id = log_actor and log_type = "thanks" GROUP BY actor_name ORDER BY count DESC, actor_name LIMIT 100; -- Most thanked, last 12 months SELECT log_title as thanked_last_year, COUNT(*) as count FROM logging WHERE log_type = "thanks" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 YEAR) GROUP BY log_title ORDER BY count DESC, log_title LIMIT 100; -- Most thanking, last 12 months SELECT actor_name as thanking_last_year, COUNT(*) as count FROM logging, actor_user WHERE actor_id = log_actor and log_type = "thanks" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 YEAR) GROUP BY actor_name ORDER BY count DESC, actor_name LIMIT 100;
{"resultsets": [{"headers": ["number", "actor_user", "rev_user_text", "recent_user_editcount"], "rowcount": 245}], "runningtime": "0.38"}
skwiki
Number of lexemes
Total number of Lexemes added by Temtechie
SELECT COUNT(*) FROM revision_userindex JOIN actor_revision ON rev_actor = actor_id JOIN page ON rev_page = page_id WHERE actor_name = 'Nkowaokwu' AND rev_parent_id = 0 AND page_namespace = 146;
{"resultsets": [{"headers": ["user_name", "Anzahl Edits", "CONCAT(MIN(rev_timestamp), ' \u2026 ', MAX(rev_timestamp))"], "rowcount": 36}], "runningtime": "0.27"}
wikidatawiki
WStaசீவகசிந்தாமணி(உரைநடை)
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "சீவக_சிந்தாமணி_(உரைநடை).pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["cen_gt_lat", "cen_gt_lon", "count(*)"], "rowcount": 1}], "runningtime": "1.93"}
tawikisource_p
WStaசிக்கிமுக்கிக் கற்கள்
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "சிக்கிமுக்கிக்_கற்கள்.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["cen_gt_lat", "cen_gt_lon", "count(*)"], "rowcount": 1}], "runningtime": "0.66"}
tawikisource_p
WStaஉலகத்தமிழ்
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "உலகத்தமிழ்.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["distanz_ungefaehr", "gt_lat", "gt_lon", "gt_type", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 500}, {"headers": ["distanz_ungefaehr", "gt_lat", "gt_lon", "gt_type", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 21}], "runningtime": "2.75"}
tawikisource_p
WStaதொழிலியல்விஞ்ஞானிஜி.டி.நாயுடு
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "தொழிலியல்_விஞ்ஞானி_ஜி._டி._நாயுடு.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["gt_lat", "gt_lon", "gt_type", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 10}], "runningtime": "0.82"}
tawikisource_p
WStaஇலக்கியங்கண்டகாவலர்
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "இலக்கியங்கண்ட_காவலர்.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["gt_lat", "gt_lon", "gt_type", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 9}], "runningtime": "0.85"}
tawikisource_p
WStaமாணவர்களுக்குபுறநானூற்றுச்சிறுகதைகள்
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "மாணவர்களுக்கு_புறநானூற்றுச்_சிறுகதைகள்.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "8.65"}
tawikisource_p
G5 admins
null
SELECT user_name AS administrator, COUNT(*) AS deletions FROM revision JOIN logging ON rev_id = log_rev JOIN user ON rev_user = user_id WHERE log_action = 'delete' AND log_namespace = 0 AND log_comment LIKE '%G5%' AND rev_timestamp >= DATEADD(month, -1, GETDATE()) GROUP BY user_name HAVING COUNT(*) > 0 ORDER BY deletions DESC;
{"resultsets": [{"headers": ["Template", "Article"], "rowcount": 17}], "runningtime": "14.29"}
enwiki_p
WStaஅ.ச.ஞா.பதில்கள்
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "அ.ச.ஞா.பதில்கள்.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["Username", "cnt"], "rowcount": 80}], "runningtime": "23.69"}
tawikisource_p
WStaஒருபூர்வபௌத்தனின்சாட்சியம்
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "ஒரு_பூர்வ_பௌத்தனின்_சாட்சியம்-அயோத்திதாசரின்_சொல்லாடல்.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["pl_from", "pl_title"], "rowcount": 109}], "runningtime": "5.03"}
tawikisource_p
WStaகம்பராமாயணம்(உரைநடை)
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "கம்பராமாயணம்_(உரைநடை).pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["pl_from", "pl_title", "cl_to"], "rowcount": 38}], "runningtime": "4.42"}
tawikisource_p
WStaஎனதுநாடகவாழ்க்கை
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "எனது_நாடகவாழ்க்கை.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["pl_from", "pl_title", "cl_to"], "rowcount": 522}], "runningtime": "5.48"}
tawikisource_p
WStaநித்திலவல்லி
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select page_id from page where page_title like "நித்திலவல்லி.pdf%") group by actor_name) as tt order by edits desc LIMIT 100;
{"resultsets": [{"headers": ["pl_from", "pl_title", "cl_to"], "rowcount": 517}], "runningtime": "4.89"}
tawikisource_p