title
stringlengths
1
212
description
stringlengths
1
4.39k
query
stringlengths
1
65.5k
extra_info
stringlengths
18
31.6k
wikidb
stringlengths
4
26
Special:Log/create + categories for mainspace nonredirs
The 100 most recent entries in [[Special:Log/create]], limited to still-existing pages that are currently in mainspace and not redirects, augmented with their current categories and page length. For [[Wikipedia talk:Arbitration Committee/Requests for comment/Article creation at scale#Question 2: New creations report]]...
SELECT CAST(log_timestamp AS DATETIME) AS `timestamp`, actor_name, page_title, page_len, comment_text, CONCAT('[[:Category:', GROUP_CONCAT(cl_to SEPARATOR ']] [[:Category:'), ']]') AS `categories` FROM (SELECT log_timestamp, actor_name, page_title, log_page, page_len, comment_text ...
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 67}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 11}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 16}], "runningtime": "0.26"}
enwiki_p
Articles created primarily by Estopedist1
This query produces a list of small articles that are created and primarily contain content by Estopedist1. This is currently defined as articles with a page length under 4000 with Lugnuts contributing more than half the content, but can be adjusted. In addition, redirects, lists and disambiguation pages are excluded.
WITH creations as (SELECT page_title, page_id, rev_timestamp, page_len, rev_len FROM revision_userindex JOIN page ON page_id = rev_page WHERE rev_parent_id = 0 AND page_is_redirect = 0 AND rev_actor = 257576 AND page_namespace = 0) SELECT page_title, rev_timestamp FROM (SELECT creations.page_title, creations.p...
{"resultsets": [{"headers": ["title", "rev_timestamp", "diff"], "rowcount": 1751}], "runningtime": "2.23"}
enwiki_p
Editors who created more than 25 articles in a single day
null
SELECT DISTINCT Creator FROM ( SELECT actor_name as Creator, COUNT(*) as Articles, SUBSTRING(rev_timestamp, 1, 8) as Date FROM revision JOIN actor_revision ON actor_id = rev_actor JOIN page ON page_id = rev_page WHERE rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 AND rev...
{"resultsets": [{"headers": ["title", "rev_timestamp", "diff"], "rowcount": 218}], "runningtime": "0.37"}
enwiki_p
Quality articles created by a User
null
SELECT CONCAT("# [[",p.page_title,"]]") FROM revision r, page p, categorylinks c /*, categorylinks c, actor a, logging l */ WHERE r.rev_parent_id = 0 AND p.page_namespace = 0 AND p.page_is_redirect = 0 AND r.rev_page = p.page_id AND r.rev_actor = 422753 AND cl_from = page_id AND cl_to = "Kaliteli_maddeler" ORDER BY...
{"resultsets": [{"headers": ["rev_actor", "rev_page", "SUM(CAST(nachher.rev_len AS SIGNED) - CAST(IFNULL(vorher.rev_len, 0) AS SIGNED))"], "rowcount": 11}], "runningtime": "0.07"}
trwiki_p
ৱিকিপিডিয়াৰ শীৰ্ষ সম্পাদক
null
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][...
{"resultsets": [{"headers": ["actor_user", "user_name", "editcount", "rev_id", "year", "month", "edits"], "rowcount": 1}], "runningtime": "6.53"}
aswiki
count rollbacked edits
null
SELECT p.page_title AS "Page Title", COUNT(ct.ct_rev_id) AS n_rollback FROM page p LEFT JOIN revision rv ON rv.rev_page = p.page_id LEFT JOIN change_tag ct ON ct.ct_rev_id = rv.rev_id WHERE p.page_namespace = 0 AND ct.ct_tag_id = 241 AND (rv.rev_timestamp BETWEEN 20220501211314 AND 20220601211314) GROUP BY p....
{"resultsets": [{"headers": ["Actor", "Edits", "Uploaded images", "Images KiB", "Images MiB", "Images GiB", "Images TiB"], "rowcount": 3}], "runningtime": "13.00"}
hewiki
Number of articles by editor by day past year
null
SELECT actor_name as Creator, COUNT(*) as Articles, SUBSTRING(rev_timestamp, 1, 8) as Date FROM revision JOIN actor_revision ON actor_id = rev_actor JOIN page ON page_id = rev_page WHERE rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 AND rev_timestamp >= '20210901' AND (rev_len >= 150...
{"resultsets": [{"headers": ["reviews", "actor_name", "accept", "decline", "reject", "accept %", "decline %", "reject %", "Blocked"], "rowcount": 195}], "runningtime": "22.90"}
bnwiki_p
Test
null
# 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...
{"resultsets": [{"headers": ["CONCAT('# [[:File:', page_title, ']]')"], "rowcount": 0}], "runningtime": "0.72"}
nlwiki_p
bnwiki admin action
null
SELECT actor_name, count(log_actor) from logging join actor on (logging.log_actor = actor.actor_id) join user_groups on actor_user = ug_user and logging.log_type in ('abusefilter', 'block', 'delete', 'import', 'managetags', 'protect', 'rights', 'spamblacklist', 'merge') and ug_group = 'sysop' group by logging.log_actor...
{"resultsets": [{"headers": ["ss_total_edits"], "rowcount": 1}, {"headers": ["SUM(user_editcount)"], "rowcount": 1}, {"headers": ["user_id", "user_name", "user_editcount", "user_admin", "user_bot"], "rowcount": 9255}], "runningtime": "37.47"}
bnwiki_p
central user list
null
select user_name, user_registration, user_editcount, ipb_address, ipb_expiry, ipb_sitewide from user left join ipblocks on user_name = ipb_address where 1=1 -- and (UPPER(CONVERT(user_name USING utf8mb4)) like '%SAMET%' -- OR UPPER(CONVERT(user_name USING utf8mb4)) like '%YÜCEL%' -- OR UPPER(CONVERT(user_na...
{"resultsets": [{"headers": ["cl_to"], "rowcount": 9141}], "runningtime": "436.27"}
enwiki
Users using Visual Editor per year
Number of active registered users using Visual Editor per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN change_tag ON revision.rev_id = change_tag.ct_rev_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNE...
{"resultsets": [{"headers": ["pages", "creator"], "rowcount": 1006}], "runningtime": "3.97"}
enwiki_p
Users using iOS app per year
Number of active registered users using iOS app per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN change_tag ON revision.rev_id = change_tag.ct_rev_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNE...
{"resultsets": [{"headers": ["url", "pagename", "page_id", "reason"], "rowcount": 10}], "runningtime": "62.96"}
enwiki_p
Users using shortdesc helper per year
Number of active registered users using shortdesc helper per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN change_tag ON revision.rev_id = change_tag.ct_rev_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNE...
{"resultsets": [{"headers": ["ug_group"], "rowcount": 20}], "runningtime": "0.08"}
enwiki_p
Users using Twinkle per year
Number of active registered users using Twinkle per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN change_tag ON revision.rev_id = change_tag.ct_rev_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNE...
{"resultsets": [{"headers": ["ug_user", "ug_group"], "rowcount": 20}], "runningtime": "0.07"}
enwiki_p
প্রতিদিন বাধাদানের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'block' AND log_action = 'block' GROUP BY day;
{"resultsets": [{"headers": ["pages", "creator"], "rowcount": 66}], "runningtime": "3.20"}
bnwiki_p
প্রতিদিন বাধাদানের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'block' AND log_action = 'block' GROUP BY day;
{"resultsets": [{"headers": ["pages", "creator"], "rowcount": 65}], "runningtime": "3.49"}
bnwiki_p
প্রতিদিন বাধাদানের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'block' AND log_action = 'block' GROUP BY day;
{"resultsets": [{"headers": ["pages", "creator"], "rowcount": 63}], "runningtime": "3.20"}
bnwiki_p
প্রতিদিন বাধাদানের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'block' AND log_action = 'block' GROUP BY day;
{"resultsets": [{"headers": ["pages", "creator"], "rowcount": 52}], "runningtime": "2.89"}
bnwiki_p
প্রতিদিন পাতা সুরক্ষার পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'protect' AND log_action = 'protect' GROUP BY day;
{"resultsets": [{"headers": ["pages", "creator"], "rowcount": 63}], "runningtime": "2.77"}
bnwiki_p
একত্রীকরণের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'merge' AND log_action = 'merge' GROUP BY day;
{"resultsets": [{"headers": ["pages", "creator"], "rowcount": 61}], "runningtime": "3.40"}
bnwiki_p
অধিকার ব্যবস্থাপনার পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'rights' AND log_action = 'rights' GROUP BY day;
{"resultsets": [{"headers": ["tl_title"], "rowcount": 25}], "runningtime": "2256.72"}
bnwiki
ছাকুনী ব্যবস্থাপনা পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'abusefilter' AND log_action = 'abusefilter' GROUP BY day;
{"resultsets": [{"headers": ["\u6761\u76ee", "\u65f6\u95f4\u6233", "\u5dee\u5f02"], "rowcount": 3462}], "runningtime": "3.97"}
bnwiki
অধিকার ব্যবস্থাপনার পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS rights FROM logging_userindex WHERE log_type = 'rights' AND log_action = 'rights' GROUP BY day;
{"resultsets": [{"headers": ["page_title"], "rowcount": 4459}], "runningtime": "4.70"}
bnwiki
একত্রীকরণের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS merge FROM logging_userindex WHERE log_type = 'merge' AND log_action = 'merge' GROUP BY day;
{"resultsets": [{"headers": ["page_title"], "rowcount": 2686}], "runningtime": "2.96"}
bnwiki_p
প্রতিদিন বাধাদানের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS block FROM logging_userindex WHERE log_type = 'block' AND log_action = 'block' GROUP BY day;
{"resultsets": [{"headers": ["page_title"], "rowcount": 18}], "runningtime": "0.18"}
bnwiki_p
পাতা অপসারণের পরিসংখ্যান
null
SELECT DATE_FORMAT(log_timestamp, "%Y-%m-%d") AS day, COUNT(log_id) AS deletions FROM logging_userindex WHERE log_type = 'delete' AND log_action = 'delete' GROUP BY day;
{"resultsets": [{"headers": ["page_title"], "rowcount": 1943}], "runningtime": "2.12"}
bnwiki_p
Inactive talkpages of non-blocked inactive IPs
IP talkpages that have not been edited in the last 5 years, the IP is not currently blocked and there have been no edits from that IP in the last 5 years. Also checks for range blocks
select CONCAT('[[ব্যবহারকারী আলাপ:', page_title, ']]') as ব্যবহারকারী_আলাপ -- format as wikilink so that it can be read by AWB from page join revision on rev_id = page_latest and rev_timestamp < '20170908' -- latest page edit is older than the given date join actor on actor_user is null and actor_name = page_title -- ...
{"resultsets": [{"headers": ["page_title"], "rowcount": 819}], "runningtime": "1.04"}
bnwiki
حماه
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%حماه%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title"], "rowcount": 45}], "runningtime": "0.26"}
fawiki_p
حمات
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%حمات%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title"], "rowcount": 3}], "runningtime": "0.18"}
fawiki_p
حما
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%حما%' and not page_title like '%حمات%' and not page_title like '%حماه%' and not page_title like '%حماة%' and not page_title like '%حمام%' and not page_title like '%حمان%' and not page_title like '%حماس%' and not page_title l...
{"resultsets": [{"headers": ["actor_name", "count(rev_actor)"], "rowcount": 291}], "runningtime": "2.42"}
fawiki_p
ادینبرا
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%ادینبورو%' AND page_is_redirect = 0;
{"resultsets": [], "runningtime": "0.03"}
fawiki_p
رده:حمات
null
select concat ('*[[:رده:',page_title,']]>[[:رده:',REPLACE (page_title,"حمات","حماة"),']]') from page where page_namespace = 14 and page_title like '%حمات%' and page_is_redirect = 0
{"resultsets": [{"headers": ["page_title", "edits"], "rowcount": 3714}], "runningtime": "7.91"}
fawiki_p
رده:حماه
null
select concat ('*[[:رده:',page_title,']]>[[:رده:',REPLACE (page_title,"حماه","حماة"),']]') from page where page_namespace = 14 and page_title like '%حماه%' and page_is_redirect = 0
{"resultsets": [], "runningtime": "0.03"}
fawiki_p
رده:حما
null
select concat ('*[[:رده:',page_title,']]>[[:رده:',REPLACE (page_title,"حما","حماة"),']]') from page where page_namespace = 14 and page_title like '%حما%' and not page_title like '%حمات%' and not page_title like '%حماه%' and not page_title like '%حماة%' and not page_title like '%حمام%' and not page_title like '%حمان%' ...
{"resultsets": [{"headers": ["page_title"], "rowcount": 126}], "runningtime": "0.36"}
fawiki_p
إ
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%إ%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title"], "rowcount": 83}], "runningtime": "0.26"}
fawiki_p
ة
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%ة%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title"], "rowcount": 42}], "runningtime": "0.25"}
fawiki_p
ٱ
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%ٱ%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title"], "rowcount": 285}], "runningtime": "0.48"}
fawiki_p
ٱ
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%ٱ%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title"], "rowcount": 256}], "runningtime": "0.46"}
arwiki_p
وة
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%وة%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["user_id", "actor_id"], "rowcount": 1995335}], "runningtime": "1978.41"}
arwiki_p
اة
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%اة%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["Page title", "Namespace", "Redirect?"], "rowcount": 1130}], "runningtime": "1.35"}
arwiki_p
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["page_namespace", "page_id", "page_title", "page_is_redirect", "page_len"], "rowcount": 0}], "runningtime": "39.83"}
enwiki_p
বাংলা উইকিপিডিয়ায় সবচেয়ে বেশি ধন্যবাদ পাওয়া ব্যবহারকারী
বাংলা উইকিপিডিয়ায় সবচেয়ে বেশি ধন্যবাদ পাওয়া ৫০০ ব্যবহারকারী
USE bnwiki_p; SELECT log_title, COUNT(*) FROM logging WHERE log_type="thanks" GROUP BY log_title ORDER BY COUNT(*) DESC LIMIT 500;
{"resultsets": [{"headers": ["pl_from", "pl_title"], "rowcount": 81}], "runningtime": "7.20"}
bnwiki_p
টুইংকলের নতুন সংস্করণ ব্যবহার করে সম্পাদনার পরিসংখ্যান
হালনাগাদ দেখার জন্য 'Fork'-এ ক্লিক করে পুনরায় কোয়েরি সাবমিট করুন
SELECT actor_name as user, COUNT(*) as cnt FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON actor_id = rev_actor WHERE ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'twinkle') GROUP BY user ORDER BY cnt DESC LIMIT 1000;
{"resultsets": [{"headers": ["pl_from", "pl_title"], "rowcount": 80}], "runningtime": "5.65"}
bnwiki
Podkategorie na Commons według liczby plików
Listuje bezpośrednie podkategorie kategorii na Commons, razem z liczbą plików. Grupuje według kryterium mniejsze/większe niż określony próg.
-- Kategoria, której podkategorie wylistować SET @category := 'Rosa_cultivars_A'; -- Próg, według którego grupowane są wyniki SET @treshold := 20; SELECT cat.page_title AS Podkategoria, COUNT(*) AS `Liczba plików`, COUNT(*) >= @treshold AS `Nie mniej niż próg` FROM categorylinks c1 JOIN page cat ON cat.page_...
{"resultsets": [{"headers": ["url", "pagename", "page_id", "reason"], "rowcount": 3}], "runningtime": "65.33"}
commonswiki_p
রোলব্যাকের পরিসংখ্যান
null
SELECT actor_name as user, COUNT(*) as cnt FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON actor_id = rev_actor WHERE ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'mw-rollback') GROUP BY user ORDER BY cnt DESC LIMIT 1000;
{"resultsets": [{"headers": ["#"], "rowcount": 1}], "runningtime": "0.50"}
bnwiki
Admins w/ <100 edits since 2018 (incl. deleted)
Admins with fewer than 100 edits, live or deleted, since 1 January 2018, as of 11 September 2022. They are currently on track to be desysopped on 1 January 2023 as per item 2 at [[WP:INACTIVITY]] ("(2) (Effective 01 January 2023) Has made fewer than 100 edits over a 60 month period"). Doesn't include bureaucrats that...
SELECT user_name, SUM(rev_ids) AS `live`, SUM(ar_ids) AS `deleted`, SUM(rev_ids + ar_ids) AS `total` FROM ( SELECT user_name, COUNT(rev_id) AS `rev_ids`, 0 AS `ar_ids` FROM user JOIN user_groups ON ug_user = user_id JOIN actor_revision ON actor_user = user_id JOIN revision_userindex ON rev_actor = actor_id WHERE ug_gro...
{"resultsets": [{"headers": ["line"], "rowcount": 3350}], "runningtime": "145.62"}
enwiki_p
Admins w/ <100 edits since 2018
Admins with fewer than 100 edits since 1 January 2018. They are currently on track to be desysopped on 1 January 2023 as per item 2 at [[WP:INACTIVITY]] ("(2) (Effective 01 January 2023) Has made fewer than 100 edits over a 60 month period"). For [[WP:BN#Query]] circa 8 August 2022. See query 67277 for a version als...
SELECT user_name, COUNT(rev_id) FROM user JOIN user_groups ON ug_user = user_id JOIN actor_revision ON actor_user = user_id JOIN revision_userindex ON rev_actor = actor_id WHERE ug_group = 'sysop' AND rev_timestamp >= '2018' AND rev_timestamp <= '202208080051' -- timestamp of my comment saying 'down to 180', since ...
{"resultsets": [{"headers": ["User", "Anzahl neue Artikel", "Bytes \u00b1", "Bytes gr\u00f6\u00dfter Artikel", "Prozent gr\u00f6\u00dfter Artikel", "Aktive Tage", "Prozent aktive Tage", "Anzahl Edits (Datenbank)", "Erster Edit", "Letzer Edit", "Neuanlagen"], "rowcount": 12130}], "runningtime": "1049.40"}
enwiki_p
blocks on enwiki in 2022 mentioning compromised account
null
SELECT log_timestamp, log_id, actor_name, log_title, comment_text FROM logging JOIN actor ON log_actor = actor_id JOIN comment ON log_comment_id = comment_id WHERE log_timestamp > 20220101000000 AND log_type = "block" AND log_action = "block" AND comment_text LIKE "%_ompromised account%" AND comment_text NOT LIK...
{"resultsets": [{"headers": ["user_id", "username"], "rowcount": 948}], "runningtime": "1.29"}
enwiki_p
Basketball Tournament Redirects
null
select page_title from page where page_namespace=0 and ((page_title like '%_Basketball_Tournament') ) and page_is_redirect=1
{"resultsets": [{"headers": ["user_id", "username"], "rowcount": 15}], "runningtime": "0.07"}
enwiki
Basketball Tournaments
null
select page_title from page where page_namespace=0 and ((page_title like '%_Basketball_Tournament') ) and page_is_redirect=0
{"resultsets": [{"headers": ["actor_name", "count(log_actor)"], "rowcount": 13}], "runningtime": "2.30"}
enwiki
علل
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%علل%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["User", "Anzahl ge\u00e4nderter Artikel", "Anzahl neue Artikel", "Bytes \u00b1", "Bytes gr\u00f6\u00dfter Artikel", "Prozent gr\u00f6\u00dfter Artikel", "Aktive Tage", "Prozent aktive Tage", "Anzahl Edits (Datenbank)", "Erster Edit", "Letzer Edit", "Neuanlagen"], "rowcount": 12130}], "runni...
fawiki_p
temporally-named redirects
Mainspace redirects whose titles either start with "Untitled " or "Upcoming ", or contain "(untitled" or "(upcoming"; whether they're in [[Category:Redirects from moves]], the timestamp of their first revision, and what they redirect to. For [[WT:CSD#Formerly untitled/upcoming media]] circa 12 September 2022. See als...
SELECT CAST(MIN(rev_timestamp) AS DATETIME) AS `creation`, EXISTS (SELECT 1 FROM categorylinks WHERE cl_from = page_id AND cl_to = 'Redirects_from_moves') AS `R from move?`, page_title, rd_title FROM page JOIN revision ON rev_page = page_id LEFT JOIN red...
{"resultsets": [{"headers": ["cat", "pages", "subcats", "files", "total"], "rowcount": 50}], "runningtime": "0.29"}
enwiki_p
Causes
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%causes%' or page_title like '%Causes%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["rc_cur_id", "rc_title", "rc_patrolled"], "rowcount": 1329}], "runningtime": "1.50"}
enwiki_p
Reasons
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%reasons%' or page_title like '%Reasons%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["rc_cur_id", "rc_title", "rc_patrolled"], "rowcount": 1329}], "runningtime": "1.40"}
enwiki_p
nlwiki Places in Indonesia by province
for splitting up large categories into subdivisions
SELECT cat_title, ap.page_title, pp_value FROM categorylinks pc, page pp, category, categorylinks ac, page ap, page_props WHERE pc.cl_to='Plaats_in_Indonesië' AND pc.cl_from=pp.page_id AND pp.page_namespace=14 AND pp.page_title REGEXP '^Plaats_in_' AND cat_title=pp.page_title AND cat_pages>400 AND ac.cl_to=cat_title A...
{"resultsets": [{"headers": ["\u09a8\u0982", "\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0\u0995\u09be\u09b0\u09c0_\u09a8\u09be\u09ae", "\u09b8\u09ae\u09cd\u09aa\u09be\u09a6\u09a8\u09be\u09b0_\u09b8\u0982\u0996\u09cd\u09af\u09be"], "rowcount": 1000}], "runningtime": "2.76"}
nlwiki
Example of category members
null
SELECT page_title, cl_to FROM categorylinks RIGHT JOIN page ON cl_from = page_id WHERE page_namespace = 2 AND cl_type = 'page' AND cl_to RLIKE 'User_[a-z][a-z]-.';
{"resultsets": [{"headers": ["Actor", "Edits", "Uploaded images", "Images KiB", "Images MiB", "Images GiB", "Images TiB"], "rowcount": 3}], "runningtime": "31.10"}
enwiki
nlwiki Places in Indonesia w/o adm2
null
SELECT pl_title, GROUP_CONCAT(ll_lang) FROM pagelinks, page LEFT JOIN langlinks ON ll_from=page_id WHERE pl_from=5683360 AND # gebruiker:bdijkstra/Plaatsen in Indonesië zonder regentschap of stadsgemeente page_namespace=pl_namespace AND page_title=pl_title GROUP BY pl_title
{"connection_id": 33092332}
nlwiki
Patrollers who didn't sign 2022 WMF letter
All users with the patroller userright (and not the bot userright), who have neither their user page nor user talk page directly linked from [[Wikipedia:New pages patrol/Coordination/2022 WMF letter]]. Beware alternate accounts - for example, DGGnyc is listed, even though DGG signed the petition. Users whose sig conta...
SELECT user_name FROM user_groups JOIN user ON user_id = ug_user LEFT JOIN pagelinks ON pl_namespace IN (2, 3) AND pl_title = REPLACE(user_name, ' ', '_') AND pl_from = (SELECT page_id FROM page WHERE page_namespace = 4 AND page_title = 'New_pages_patrol/Coordinatio...
{"resultsets": [{"headers": ["user_name", "user_editcount", "user_registration", "First edit", "Sleeper Delta"], "rowcount": 7}], "runningtime": "0.54"}
enwiki_p
Files with redlinked creator templates
null
SELECT CONCAT("File:", p0.page_title), CONCAT("Creator:", lt_title) FROM page p0 JOIN templatelinks ON tl_from = p0.page_id JOIN linktarget ON lt_id = tl_target_id LEFT JOIN page p1 ON lt_title = p1.page_title AND lt_namespace = p1.page_namespace WHERE lt_namespace = 100 AND p0.page_namespace = 6 AND p1.page_i...
{"resultsets": [{"headers": ["rc_actor", "rc_cur_id", "rc_id", "rc_type", "rc_timestamp", "rc_namespace", "rc_bot", "rc_title"], "rowcount": 461115}], "runningtime": "492.06"}
commonswiki_p
Rashid Ali Ghazipuri blacklisting
This shows pages, existing and deleted, that match /.*rashid.*ghazipuri.*/i. For [[WT:CSD#Salted with another title]] circa 12 September 2022.
SET @pat='(?i)rashid.*ghazipuri'; SELECT CONCAT('[[', CASE page_namespace WHEN -2 THEN 'Media:' WHEN -1 THEN 'Special:' WHEN 0 THEN '' WHEN 1 THEN 'Talk:' WHEN 2 THEN 'User:' WHEN 3 THEN 'User talk:' ...
{"resultsets": [{"headers": ["rank", "user_name", "user_editcount"], "rowcount": 100}], "runningtime": "0.19"}
enwiki_p
Podkategorie na Commons według liczby plików
Listuje bezpośrednie podkategorie kategorii na Commons, razem z liczbą plików. Grupuje według kryterium mniejsze/większe niż określony próg.
-- Kategoria, której podkategorie wylistować SET @category := 'Graves in the Père-Lachaise Cemetery'; -- Próg, według którego grupowane są wyniki SET @treshold := 20; SELECT cat.page_title AS Podkategoria, COUNT(*) AS `Liczba plików`, COUNT(*) >= @treshold AS `Nie mniej niż próg` FROM categorylinks c1 JOIN pa...
{"resultsets": [{"headers": ["user_id", "user_name", "rc_id", "acct_created", "user_page_id"], "rowcount": 430098}], "runningtime": "335.35"}
commonswiki_p
পরিক্ষক পরিসংখ্যান
পরিক্ষক পরিসংখ্যান
use bnwiki_p; SELECT user_name user, count(*) as review_cnt FROM logging JOIN actor ON log_actor = actor_id JOIN user ON actor_user = user_id WHERE log_type = 'review' AND log_action IN ('approve', 'approve2', 'approve-i', 'approve2-i') #AND log_timestamp > CONCAT( YEAR( DATE_SUB( NOW(), INTERVAL...
{"resultsets": [{"headers": ["cl_to", "count_cl_to"], "rowcount": 0}], "runningtime": "94.92"}
bnwiki_p
سوتین
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%سوتین%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["user_id", "user_name", "page_id", "page_title", "count(rev_id)"], "rowcount": 15}], "runningtime": "0.09"}
fawiki_p
Bad disambiguation page titles (eswiki)
Disambiguation pages with a superfluous " (desambiguación)" suffix (eswiki).
use eswiki_p; select page_title as main_title from (page join redirect on page_id = rd_from) where page_namespace = 0 and rd_title = concat(page_title, '_(desambiguación)');
{"resultsets": [{"headers": ["user_id", "user_name", "page_id", "page_title", "count(distinct(page_id))"], "rowcount": 1}], "runningtime": "0.08"}
eswiki
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["actor_id", "actor_user", "actor_name", "rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1"], "rowcount": 30}], "runningtime": "0.09"}
enwiki_p
tl_namespace, tl_title obsolesced
Templates/modules transcluded on [[:Category:Wikipedia files with the same name on Wikimedia Commons as of 19 September 2022]], as they now appear in the db. See also https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/message/U2U6TXIBABU3KDCVUOITIGI5OJ4COBSW/ For [[WT:Database reports#Listing ...
SELECT templatelinks.*, linktarget.* FROM templatelinks JOIN page ON page_id = tl_from LEFT JOIN linktarget ON lt_id = tl_target_id WHERE page_namespace = 14 -- Category: AND page_title = 'Wikipedia_files_with_the_same_name_on_Wikimedia_Commons_as_of_19_September_2022' ORDER BY lt_namespace ASC, lt_title ASC;
{"resultsets": [{"headers": ["user_name", "user_registration", "first_month_edits", "rev_id", "rev_timestamp"], "rowcount": 10}], "runningtime": "5.94"}
enwiki_p
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["date", "count(*)", "avg(page_len)", "sum(page_len)"], "rowcount": 83}], "runningtime": "0.48"}
enwiki_p
What the linktarget view does behind the scenes
null
SHOW CREATE TABLE linktarget;
{"resultsets": [{"headers": ["ipb_address", "actor_name", "ipb_timestamp", "comment_text"], "rowcount": 4}], "runningtime": "13.87"}
enwiki_p
Createur page WD
null
SELECT a.actor_name, r.rev_timestamp, p.page_title FROM page AS p LEFT JOIN revision AS r ON r.rev_page = p.page_id LEFT JOIN actor AS a ON r.rev_actor = a.actor_id WHERE p.page_title IN ("Q3157194", "Q3241886", "Q15639594", "Q17515924", "Q18816741", "Q19687604", "Q21558113", "Q27528332", "Q33101846", "Q33102249", "Q33...
{"resultsets": [{"headers": ["time", "user", "namespace", "page", "comment"], "rowcount": 0}], "runningtime": "0.05"}
wikidatawiki
Count of external links to cloudfront.net by subdomain
Count of external links to cloudfront.net by subdomain. See https://en.wikipedia.org/wiki/Wikipedia:Bot_requests#cloudfront.net
SELECT subdomain, count(*) ct FROM ( SELECT SUBSTRING_INDEX( SUBSTRING_INDEX(el_index_60 ,'cloudfront.' , -1), '.', 1) subdomain, externallinks.* FROM externallinks WHERE el_index_60 LIKE 'http://net\.cloudfront\.%' OR el_index_60 LIKE 'https://net\.cloudfront\.%' ) subdom...
{"resultsets": [{"headers": ["url", "pagename", "page_id", "reason"], "rowcount": 3}], "runningtime": "66.74"}
enwiki_p
Thanks for 2022 metawiki
Most thanked people in 2022 Blame Mz7, SQL, and stwalkerster for this
USE metawiki_p; 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
{"connection_id": 34167526}
metawiki
সম্পাদনার সংখ্যা অনুযায়ী উইকিবইয়ের সম্পাদকগণ/১-১০০
উপাত্ত ডাউনলোড করতে, উপাত্ত ডাউনলোড থেকে HTML ক্লিক করুন।
USE bnwikibooks_p; SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount 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...
{"resultsets": [{"headers": ["page_title"], "rowcount": 1}], "runningtime": "68.72"}
bnwikibooks_p
Reviewer stats (bnwiki)
null
use bnwiki_p; SELECT user_name user, count(*) as review_cnt FROM logging JOIN actor ON log_actor = actor_id JOIN user ON actor_user = user_id WHERE log_type = 'review' AND log_action IN ('approve', 'approve2', 'approve-i', 'approve2-i') #AND log_timestamp > CONCAT( YEAR( DATE_SUB( NOW(), INTERVAL...
{"resultsets": [{"headers": ["rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1"], "rowcount": 100}], "runningtime": "0.25"}
bnwiki_p
Bnwiki: users with most deleted page creations
null
SELECT actor_name, bot.ug_group AS is_bot, admin.ug_group AS is_admin, COUNT(DISTINCT ar_page_id) AS cnt FROM archive JOIN actor_archive ON ar_actor=actor_id LEFT JOIN user ON actor_user=user_id LEFT JOIN user_groups AS bot ON bot.ug_user=user_id AND bot.ug_group='bot' LEFT JOIN user_groups AS...
{"resultsets": [{"headers": ["page_title"], "rowcount": 28}], "runningtime": "2.39"}
bnwiki_p
wikidata: users with most deleted page creations
null
SELECT actor_name, bot.ug_group AS is_bot, admin.ug_group AS is_admin, COUNT(DISTINCT ar_page_id) AS cnt FROM archive JOIN actor_archive ON ar_actor=actor_id LEFT JOIN user ON actor_user=user_id LEFT JOIN user_groups AS bot ON bot.ug_user=user_id AND bot.ug_group='bot' LEFT JOIN user_groups AS...
{"resultsets": [{"headers": ["rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1"], "rowcount": 100}], "runningtime": "0.17"}
bnwiki_p
Bnwiki:Users using Twinkle per year
Number of active registered users using Twinkle per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN change_tag ON revision.rev_id = change_tag.ct_rev_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNE...
{"resultsets": [{"headers": ["rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1"], "rowcount": 100}], "runningtime": "0.17"}
bnwiki_p
Bnwiki:Active users per year
Number of active registered users per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN actor_revision AS actor ON revision.rev_actor = actor.actor_id WHERE TRUE AND actor_user IS NOT NULL AND rev_timestamp >=...
{"resultsets": [{"headers": ["page_title"], "rowcount": 1}], "runningtime": "2.55"}
bnwiki_p
Bnwikibooks:Active users per year
Number of active registered users per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN actor_revision AS actor ON revision.rev_actor = actor.actor_id WHERE TRUE AND actor_user IS NOT NULL AND rev_timestamp >=...
{"resultsets": [{"headers": ["page_title"], "rowcount": 41}], "runningtime": "2.10"}
bnwiki_p
টুইংকলের নতুন সংস্করণ ব্যবহার করে সম্পাদনার পরিসংখ্যান
হালনাগাদ দেখার জন্য 'Fork'-এ ক্লিক করে পুনরায় কোয়েরি সাবমিট করুন
SELECT actor_name as user, COUNT(*) as cnt FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON actor_id = rev_actor WHERE ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'twinkle') GROUP BY user ORDER BY cnt DESC LIMIT 1000;
{"resultsets": [{"headers": ["page_title"], "rowcount": 18}], "runningtime": "1.77"}
bnwiki
IAAF docs cited as dt9guucc6nuua.cloudfront.net
null
SELECT page_title, el_to FROM ( SELECT SUBSTRING_INDEX( SUBSTRING_INDEX(el_index_60 ,'cloudfront.' , -1), '.', 1) subdomain, externallinks.* FROM externallinks WHERE el_index_60 LIKE 'http://net\.cloudfront\.%' OR el_index_60 LIKE 'https://net\.cloudfront\.%' ) subdom ...
{"resultsets": [{"headers": ["user_name", "user_registration"], "rowcount": 93899}], "runningtime": "150.20"}
enwiki_p
IPBE grants by GeneralNotability
null
SELECT log_timestamp, log_title AS target, log_params from logging INNER JOIN actor ON logging.log_actor=actor.actor_id WHERE log_type="rights" AND actor.actor_name="GeneralNotability" AND logging.log_params NOT REGEXP '"ipblock-exempt".*"ipblock-exempt"' AND logging.log_params REGEXP '.*ipblock-exempt.*'
{"resultsets": [{"headers": ["Page title", "Namespace", "Redirect?"], "rowcount": 1200}], "runningtime": "1.54"}
enwiki_p
cat:edge of town
null
select concat ('*[[:cat:',page_title,']]') from page where page_namespace = 14 and page_title like '%edge_of_town%' and page_is_redirect = 0
{"resultsets": [{"headers": ["rc_cur_id", "rc_title", "rc_patrolled"], "rowcount": 1319}], "runningtime": "1.39"}
commonswiki_p
incubator exploration
null
WITH base_table AS ( SELECT DISTINCT rev_id, rev_actor, rev_timestamp, rev_len, rev_parent_id, REGEXP_SUBSTR(page_title, 'W[a-z]/[a-z]+') AS prefix, page_title FROM revision rev JOIN page ON rev.rev_page = page.page_id JOIN ...
{"resultsets": [{"headers": ["user_id", "year(rev_timestamp)", "month(rev_timestamp)", "day(rev_timestamp)", "user_name", "COUNT(*)"], "rowcount": 2901}], "runningtime": "18.01"}
incubatorwiki
incubator -> main
null
SELECT * FROM revision rev JOIN page ON rev.rev_page = page.page_id WHERE page_title = 'मुखेल_पान' LIMIT 5
{"resultsets": [{"headers": ["log_title"], "rowcount": 108}], "runningtime": "344.88"}
gomwiki
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["page_title"], "rowcount": 31}], "runningtime": "0.18"}
enwiki_p
linktarget + Transclusions of non-existent templates
Update of https://github.com/fastily/fastilybot-toolforge/blob/master/scripts/report14.sql by Fastily (GPL-3.0) to the new schema. (The "JOIN linktarget" line is new, and the three columns starting with "lt_".) For [[WT:DBR#Listing maintanance categories]] circa 15 September 2022.
SELECT lt_title FROM templatelinks t JOIN linktarget ON lt_id = tl_target_id LEFT JOIN page p ON p.page_namespace = lt_namespace AND p.page_title = lt_title INNER JOIN page p2 ON t.tl_from = p2.page_id WHERE p.page_title IS NULL AND lt_namespace = 10 AND p2.page_content_model="wikitext" GROUP BY 1 LIMIT 200;
{"resultsets": [{"headers": ["count(1)"], "rowcount": 1}], "runningtime": "494.35"}
enwiki_p
top rollbacker
null
SELECT actor_name as user, COUNT(*) as cnt FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON actor_id = rev_actor WHERE ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'mw-rollback') WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT RLIKE "(...
{"resultsets": [{"headers": ["actor_name", "COUNT(*)"], "rowcount": 10}], "runningtime": "16.66"}
bnwiki
x港站
null
select * from page where page_namespace=0 and page_title like '%港站%' and page_is_redirect=0;
{"resultsets": [{"headers": ["CONCAT('# [[',REPLACE(page_title,'_',' '),']]')"], "rowcount": 220}], "runningtime": "182.19"}
zhwiki_p
sayfa bazlı eksik sayfalar
null
SELECT DISTINCT CONCAT('* [[',pl_title,']]') AS "Bağlantı" FROM page JOIN pagelinks ON pl_from = page_id WHERE page_title = "İstanbul" AND pl_namespace = 0 AND ( EXISTS( SELECT * FROM page WHERE page_title = pl_title AND page_namespace = 0 )) /*AND ( EXISTS( SELECT * FROM langlinks WHERE ll_lang = 'tr')) */ A...
{"resultsets": [{"headers": ["img_major_mime", "img_minor_mime", "img_name"], "rowcount": 0}], "runningtime": "0.12"}
enwiki_p
block summaries 2
null
null
{"connection_id": 205729892}
enwiki_p
block summaries 1
null
null
{"resultsets": [{"headers": ["Anzahl Artikel", "Anzahl Links", "Muster '[?&]utm_id='", "Muster '[?&]utm_source='", "Muster '[?&]utm_medium='", "Muster '[?&]utm_campaign='", "Muster '[?&]utm_term='", "Muster '[?&]utm_content='", "Muster '[?&]utm_referrer='", "Muster '[?&]utm_email='", "Muster '[?&]gclid='", "Muster '[?&...
enwiki_p
Sandbox1
null
SELECT COUNT(*)/13 as `Article Reviews/day` FROM ( SELECT distinct log_actor, log_page FROM logging_userindex JOIN page ON page_title = log_title AND page_namespace = log_namespace WHERE log_timestamp BETWEEN 20220816000000 AND 20220829000000 AND ((log_type = 'patrol' A...
{"connection_id": 46805139}
enwiki
ru
null
SELECT count(*) AS count, pa.page_title FROM page pa, langlinks l1 where pa.page_namespace = 0 and pa.page_id = l1.ll_from and not exists (select 1 from langlinks l2 where l1.ll_from=l2.ll_from and l2.ll_lang='en') group by pa.page_id, pa.page_title order by count(*) desc, pa.page...
{"resultsets": [{"headers": ["page_title"], "rowcount": 537}], "runningtime": "0.85"}
ruwiki
NPP Reviewers Redirects Only
null
SELECT actor_name AS `Reviewer`, COUNT(IF(logtemp.page_is_redirect = 1, 1, NULL)) as `Redirect Reviews` FROM ( SELECT distinct log_actor, log_page, page_is_redirect FROM logging_userindex JOIN page ON page_title = log_title AND page_namespace = log_namespace WHERE log_timestamp BET...
{"resultsets": [{"headers": ["CONCAT(\"Q\",ips_item_id)", "Lar", "CONCAT('\"',ips_site_page,'\"')"], "rowcount": 616}], "runningtime": "244.19"}
enwiki
New Page Reviewers barnstars (articles)
Stole this from MPGuy2824 https://quarry.wmcloud.org/query/66392
SELECT actor_name AS `Reviewer`, COUNT(IF(logtemp.page_is_redirect = 0, 1, NULL)) as `Article Reviews` FROM ( SELECT distinct log_actor, log_page, page_is_redirect FROM logging_userindex JOIN page ON page_title = log_title AND page_namespace = log_namespace WHERE log_timestamp BETW...
{"resultsets": [{"headers": ["cl_to", "count_cl_to"], "rowcount": 0}], "runningtime": "42.42"}
enwiki_p
Galobot's AbLE query
This is the query as used by Galobot, from https://github.com/mmiyer/galobot/blob/dc45f6232ccd85e5bfd1fe862fa642e3f67f06dc/articlesbylintcount.py
select page_title, count(*) as page_count from linter join page on page.page_id = linter.linter_page where page.page_namespace = 0 and linter_cat != 2 group by page.page_id order by count(*) desc, page_title asc limit 1000;
{"connection_id": 43143128}
enwiki
See if T238328 is still happening (100 most recent matches)
The 100 most recent edit summaries ending in " (afd)", and their timestamps. For [[WP:RAQ#Scan 5000 most recent comments for some text]] circa 23 July 2022.
SELECT rev_timestamp, comment_text FROM revision JOIN comment_revision ON comment_id = rev_comment_id WHERE comment_text LIKE '%Curation]] ()' ORDER BY rev_timestamp DESC LIMIT 100;
{"resultsets": [{"headers": ["user_talk"], "rowcount": 0}], "runningtime": "64.20"}
enwiki
Get pages with lots of revocations
null
SELECT rc_title, rc_actor, COUNT(*) AS nb_revocations, COUNT(DISTINCT rc_actor) as nb_users_revocated, MAX(recentchanges.rc_timestamp) FROM recentchanges JOIN change_tag ON ct_rev_id = recentchanges.rc_this_oldid JOIN change_tag_def ON change_tag_def.ctd_id = change_tag.ct_tag_id LEFT JOIN page_restrictions on recent...
{"resultsets": [{"headers": ["page_id", "page_title", "el_to"], "rowcount": 185}], "runningtime": "211.94"}
frwiki
wikinews 2022-08
null
set @start_timestamp := 20220901000000; set @end_timestamp := 20220930000000; select actor_name, count(log_id) as creation_count from logging inner join page on page_id = log_page inner join actor on actor_id = log_actor where log_type = "create" and page_namespace = 0 and log_timestamp >= @start_ti...
{"resultsets": [{"headers": ["img_major_mime", "img_minor_mime", "img_name"], "rowcount": 2}], "runningtime": "0.42"}
plwikinews_p
Sandbox
null
select * from page join page_props on pp_page = page_id where page_id=71891010;
{"resultsets": [{"headers": ["ptrp_page_id", "ptrp_reviewed", "ptrp_deleted", "ptrp_created", "ptrp_tags_updated", "ptrp_reviewed_updated", "ptrp_last_reviewed_by"], "rowcount": 1}], "runningtime": "0.08"}
enwiki_p