title
stringlengths
1
212
description
stringlengths
1
4.39k
query
stringlengths
1
65.5k
extra_info
stringlengths
18
31.6k
wikidb
stringlengths
4
26
980901 mp1 # of direct links to DAB pages (pages)
null
USE fawiki_p; SELECT COUNT(page_id) FROM pagelinks JOIN page WHERE page_is_redirect=0 AND page_namespace=0 AND page_id IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation' ) AND pl_from IN ( SELECT page_id FROM page WHERE page_is_redirect=0 ) AND pl_title=page_title AND pl_namespace ...
{"resultsets": [{"headers": ["page_title", "cl_to", "cl_sortkey_prefix"], "rowcount": 11802}], "runningtime": "88.66"}
null
980901 mp1 # of DAB pages
null
USE fawiki_p; SELECT COUNT(page_title) FROM page WHERE page_id IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation');
{"resultsets": [{"headers": ["number", "name"], "rowcount": 1110}], "runningtime": "18.34"}
null
980901 mp1 # of redirected links to DAB pages (pages)
null
USE fawiki_p; SELECT COUNT(pl_title) FROM pagelinks LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title LEFT JOIN redirect ON page_id = rd_from WHERE page_is_redirect = 1 AND page_namespace = 0 AND rd_namespace = 0 AND pl_from IN ( SELECT page_id FROM page WHERE page_is_redirect=0 AND ...
{"runningtime": "21.95", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wpage", "commonscat"], "rowcount": 1577}]}
null
980901 mp1 # of DAB pages with redirected link (pages)
null
USE fawiki_p; SELECT COUNT(DISTINCT(page_title)) FROM pagelinks LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title LEFT JOIN redirect ON page_id = rd_from WHERE page_is_redirect = 1 AND page_namespace = 0 AND rd_namespace = 0 AND pl_from IN ( SELECT page_id FROM page WHERE page_is_redir...
{"runningtime": "53.80", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 3000}]}
null
980901 owp1 All orphan articles
null
USE fawiki_p; SELECT concat('# [[',p1.page_title,']]') FROM page AS p1 WHERE p1.page_is_redirect = 0 AND p1.page_namespace = 0 # not a DAB page AND p1.page_id NOT IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation' ) # not receiving direct link AND NOT ( p1.page_title IN ( SELECT pl1....
{"runningtime": "22.27", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 3000}]}
null
980901 # of fa articles
null
USE fawiki_p; SELECT COUNT(page_id) FROM page WHERE page_is_redirect = 0 AND page_namespace = 0;
{"runningtime": "55.36", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 3000}]}
null
Artículos sin control de autoridades en euwiki
null
use euwiki_p; SELECT page_title FROM page WHERE page_namespace = 0 AND page_is_redirect = 0 AND NOT EXISTS (SELECT 1 FROM templatelinks WHERE tl_from = page_id AND tl_title IN ('Autoritate kontrola', 'bizialdia')) AND NOT EXISTS (SELECT 1 FROM page_props WHERE pp_page = page_id AND pp_propname = 'disambiguatio...
{"resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 3000}], "runningtime": "17.06"}
null
HK anon listing
List accounts by date
USE commonswiki_p; SELECT actor_name AS Editor, COUNT(actor_name) AS Uploads, LEFT(rev_timestamp,6) AS Date FROM page JOIN categorylinks ON page_id=cl_from JOIN revision ON page_id=rev_page JOIN comment_revision ON comment_id = rev_comment_id JOIN image ON page_title=img_name JOIN actor_revision on rev_actor = actor_...
{"resultsets": [{"headers": ["page_title"], "rowcount": 4958}], "runningtime": "445.02"}
null
HK anon 2
No obvious image id from the database, however real EXIF does have one.
USE commonswiki_p; SELECT actor_name, TIMESTAMPDIFF( day, MIN(img_timestamp), MAX(img_timestamp) ) AS Active FROM actor_image JOIN image ON img_actor = actor_id AND img_major_mime = 'image' WHERE img_metadata LIKE "%by RICOH R10 User%" AND img_name LIKE "HK_%" GROUP BY actor_name HAVING Active < 4 ORDER BY actor_name...
{"runningtime": "0.60", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 1}]}
null
https://lists.wikimedia.org/pipermail/cloud/2019-November/000852.html
null
USE commonswiki_p; SELECT log_timestamp AS first_upload, uploads, log_user_text AS username FROM logging_compat INNER JOIN ( SELECT MIN(log_id) AS first_upload_id, COUNT(log_timestamp) AS uploads, log_actor AS act FROM logging_userindex WHERE log_type = "upload" GROUP BY log_act...
{"resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 1}], "runningtime": "0.30"}
null
https://lists.wikimedia.org/pipermail/cloud/2019-November/000852.html
null
USE commonswiki_p; SELECT log_timestamp AS first_upload, uploads, log_user_text AS username FROM logging_compat INNER JOIN ( SELECT MIN(log_id) AS first_upload_id, COUNT(log_timestamp) AS uploads, log_actor AS act FROM logging_userindex WHERE log_type = "upload" AND log_timestam...
{"runningtime": "0.23", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 0}]}
null
Eindigen op IX
null
USE nlwiki_p; SELECT * FROM page WHERE page_title RLIKE '[Aa][Xx]$' ORDER BY page_title ;
{"resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_page_id"], "rowcount": 902}], "runningtime": "18.14"}
null
Pages edited by a cohort
...during a specified time period. Last run November 26, 2014. See comments (marked with a "#") for customization instructions
#to customize your query, follow the numbers to the instructions #listed below the query. contact jmorgan@wikimedia.org if you need help. SELECT DISTINCT(page_id), page_title #1 FROM cswiki_p.page p JOIN #2 cswiki_p.revision r ON p.page_id = r.rev_page WHERE p.page_namespace IN ('0') AND r.rev_actor_text IN #3 ( "A...
{"runningtime": "0.04", "resultsets": []}
null
Pages edited by a cohort
...during a specified time period. Last run November 26, 2014. See comments (marked with a "#") for customization instructions
#to customize your query, follow the numbers to the instructions #listed below the query. contact jmorgan@wikimedia.org if you need help. SELECT DISTINCT(page_id), page_title #1 FROM commonswiki_p.page p JOIN #2 commonswiki_p.revision r ON p.page_id = r.rev_page WHERE r.rev_actor IN #3 ( "Jan Macura (lektor)", "A...
{"resultsets": [{"headers": ["page_title"], "rowcount": 1000}], "runningtime": "12.26"}
null
Pages edited by a cohort
...during a specified time period. Last run November 26, 2014. See comments (marked with a "#") for customization instructions
#to customize your query, follow the numbers to the instructions #listed below the query. contact jmorgan@wikimedia.org if you need help. SELECT DISTINCT(page_id), page_title, rev_page #1 FROM cswiki_p.page p JOIN #2 cswiki_p.revision r ON p.page_id = r.rev_page WHERE r.rev_actor IN #3 ( "12senior", "17Trevor", "38...
{"runningtime": "126.03", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 2000}]}
null
Random sample of 500k edits (Wikidata)
null
USE wikidatawiki_p; SELECT rev_id FROM revision WHERE rev_timestamp BETWEEN '20181201' AND '20181231' ORDER BY RAND() LIMIT 500;
{"runningtime": "46.21", "resultsets": [{"headers": ["page_title"], "rowcount": 2}]}
null
Pages edited by a cohort
...during a specified time period. Last run November 26, 2014. See comments (marked with a "#") for customization instructions
#to customize your query, follow the numbers to the instructions #listed below the query. contact jmorgan@wikimedia.org if you need help. SELECT DISTINCT(page_id), page_title, rev_page #1 FROM cswiki_p.page p JOIN #2 cswiki_p.revision r ON p.page_id = r.rev_page WHERE r.rev_actor IN #3 ( "12senior", "17Trevor", "38...
{"runningtime": "0.22", "resultsets": [{"headers": ["rev_actor", "rev_comment_id"], "rowcount": 1}]}
null
Flagicon cat
null
use arwiki_p; select CONCAT('',cl_sortkey_prefix,' ' ) as "p" , COUNT(*) AS "usages" from categorylinks join page on cl_from = page_id #where cl_to = "وصلات_إنترويكي_بحاجة_لمراجعة" where cl_to = "صفحات_تستخدم_رمز_علم_غير_موجود" #and cl_sortkey_prefix = "Q10871364" group by cl_sortkey_prefix #having count(*) > 10 OR...
{"runningtime": "0.19", "resultsets": [{"headers": ["user_name", "comment_text"], "rowcount": 1}]}
null
Pages edited by a cohort
...during a specified time period. Last run November 26, 2014. See comments (marked with a "#") for customization instructions
#to customize your query, follow the numbers to the instructions #listed below the query. contact jmorgan@wikimedia.org if you need help. SELECT DISTINCT(page_id), page_title, rev_page #1 FROM cswiki_p.page p JOIN #2 cswiki_p.revision_compat r ON p.page_id = r.rev_page WHERE rev_user_text IN #3 ( "12senior", "17Tre...
{"connection_id": 352904}
null
Paid blocks as of 2019-11-27
null
SELECT user_name, ipb_timestamp, comment_text FROM user JOIN ipblocks ON ipb_user = user_id JOIN comment ON ipb_reason_id = comment_id WHERE comment_text LIKE "%Paid%" ORDER BY ipb_timestamp ASC;
{"connection_id": 584062}
null
Undisclosed blocks - as of 2019-11-27
null
SELECT user_name, ipb_timestamp, comment_text FROM user JOIN ipblocks ON ipb_user = user_id JOIN comment ON ipb_reason_id = comment_id WHERE comment_text LIKE "%Undisclosed%" ORDER BY ipb_timestamp ASC;
{"resultsets": [{"headers": ["total", "el_from", "page_title"], "rowcount": 638302}], "runningtime": "2578.58"}
null
Advert blocks as of 2019-11-27
null
SELECT user_name, ipb_timestamp, comment_text FROM user JOIN ipblocks ON ipb_user = user_id JOIN comment ON ipb_reason_id = comment_id WHERE comment_text LIKE "%advert%" OR comment_text LIKE "%farm%" ORDER BY ipb_timestamp ASC;
{"runningtime": "0.29", "resultsets": [{"headers": ["cnt", "actor_name"], "rowcount": 40}]}
null
MEAT blocks - as of 2019-11-27
null
SELECT user_name, ipb_timestamp, comment_text FROM user JOIN ipblocks ON ipb_user = user_id JOIN comment ON ipb_reason_id = comment_id WHERE comment_text LIKE "%MEAT%" ORDER BY ipb_timestamp ASC;
{"runningtime": "0.24", "resultsets": [{"headers": ["user_name", "user_editcount", "isBot"], "rowcount": 39}]}
null
Number of blocks as of 2019-11-27
null
SELECT COUNT(*) FROM user JOIN ipblocks ON ipb_user = user_id JOIN comment ON ipb_reason_id = comment_id ORDER BY ipb_timestamp ASC;
{"runningtime": "0.49", "resultsets": [{"headers": ["user_name", "user_editcount", "isBot"], "rowcount": 19}]}
null
Unlinked genes N-Z
List FOO (gene) articles which are not linked directly or indirectly to the corresponding FOO article.
SET STATEMENT max_statement_time = 120 FOR SELECT Pg.page_title FROM page Pg STRAIGHT_JOIN page Pb ON Pb.page_namespace=0 AND Pb.page_title=SUBSTR(Pg.page_title, 1, CHAR_LENGTH(Pg.page_title)-7) WHERE Pg.page_namespace=0 AND Pg.page_title >='N' AND Pg.page_title <'Zzzz' AND Pg.page_title LIKE '%_(gene)' AND NOT EXISTS ...
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 37}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 6}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 14}], "runningtime": "1.39"}
null
Unlinked genes A-F
List FOO (gene) articles which are not linked directly or indirectly to the corresponding FOO article.
SET STATEMENT max_statement_time = 120 FOR SELECT Pg.page_title FROM page Pg STRAIGHT_JOIN page Pb ON Pb.page_namespace=0 AND Pb.page_title=SUBSTR(Pg.page_title, 1, CHAR_LENGTH(Pg.page_title)-7) WHERE Pg.page_namespace=0 AND Pg.page_title >='A' AND Pg.page_title <'G' AND Pg.page_title LIKE '%_(gene)' AND NOT EXISTS ( -...
{"resultsets": [{"headers": ["page_title"], "rowcount": 2218}], "runningtime": "1775.72"}
null
Unlinked genes G-M
List FOO (gene) articles which are not linked directly or indirectly to the corresponding FOO article.
SET STATEMENT max_statement_time = 120 FOR SELECT Pg.page_title FROM page Pg STRAIGHT_JOIN page Pb ON Pb.page_namespace=0 AND Pb.page_title=SUBSTR(Pg.page_title, 1, CHAR_LENGTH(Pg.page_title)-7) WHERE Pg.page_namespace=0 AND Pg.page_title >='G' AND Pg.page_title <'N' AND Pg.page_title LIKE '%_(gene)' AND NOT EXISTS ( -...
{"resultsets": [{"headers": ["page_title"], "rowcount": 3692}], "runningtime": "165.36"}
null
for wikiprize
null
use sahwikisource_p; select rev_user_text, count(*) c from revision join page on rev_page=page_id where page_namespace = 0 and rev_timestamp >= "20180101000000" and rev_timestamp < "20190101000000" group by rev_user order by c desc;
{"runningtime": "4.39", "resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 34}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 6}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 13}]}
null
Slot roles on Wikidata
null
USE `wikidatawiki_p`; SELECT * FROM `slot_roles`;
{"resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"], "rowcount": 10}], "runningtime": "5.89"}
null
Incorrectly titled classification categories
null
use fawiki_p; select distinct page_title from categorylinks join page on cl_from = page_id where cl_to like 'مقاله‌های_درجه%' and page_title like 'مقاله‌های_%' and page_title not like 'مقاله‌های_درجه_%' and page_namespace = 14
{"runningtime": "4.45", "resultsets": [{"headers": ["Counter", "ID"], "rowcount": 50}]}
null
empty
null
null
{"resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"], "rowcount": 10}], "runningtime": "0.09"}
null
Nové stránky
null
use cswiki_p; select rev_page from revision where rev_parent_id=0 order by rev_timestamp desc limit 10;
{"resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"], "rowcount": 10}], "runningtime": "0.15"}
null
English Wikipedia articles edited by one user
Uses the rev_actor ID taken from the new actor table.
SELECT page_title FROM page WHERE page_namespace = 0 AND page_id IN ( SELECT DISTINCT(rev_page) FROM revision WHERE rev_actor = 303 );
{"connection_id": 42712757}
null
Edits by timestamp
Retrieve a small set of edits near a specified timestamp
SELECT CONCAT('[[',page_title,']]') AS Page, CONCAT(SUBSTRING(rev_timestamp,1,4),'-',SUBSTRING(rev_timestamp,5,2),'-',SUBSTRING(rev_timestamp,7,2),' ', SUBSTRING(rev_timestamp,9,2),':',SUBSTRING(rev_timestamp,11,2),':',SUBSTRING(rev_timestamp,13,2),' (UTC)' ) AS DateTime, CONCA...
{"connection_id": 42714714}
null
نساء ليس لهم وصلات في اللغة العربية
null
use wikidatawiki_p; select page_title, (select count(*) from wb_terms where term_entity_type = "item" and term_type = "label" and term_full_entity_id = page_title) as noll from page inner join pagelinks on pl_from = page_id w...
{"resultsets": [{"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 5}, {"headers": ["cat_subcats"], "rowcount": 0}], "runningtime": "0.20"}
null
WLM-UA 2019 participants not active in previous WLM
WLE-UA Photo Competition participants 2013-2017 not active in 2018
use commonswiki_p; SELECT actor_name 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 ( "Images_from_Wiki_Loves_Monuments_2019_in_Ukraine" ) and not exists (SELECT 1 FROM revision join categorylinks on re...
{"runningtime": "75.32", "resultsets": [{"headers": ["CONCAT('*{{lf|', REPLACE(REPLACE(p.page_title, '\"', '**DOUBLEQUOTE**'), '_', ' '), '}}')"], "rowcount": 91}]}
null
WLM 2019 participants
All participants to WLM 2019
use commonswiki_p; SELECT DISTINCT actor_name 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 ( "Images_from_Wiki_Loves_Monuments_2019" )
{"resultsets": [{"headers": ["Counter", "ID", "Name"], "rowcount": 2187}], "runningtime": "14.06"}
null
Errors in French labels
null
USE wikidatawiki_p; SELECT term_full_entity_id, term_text FROM wb_terms WHERE term_type='label' AND term_language='en' AND term_text LIKE 'Hon. %' LIMIT 10000
{"resultsets": [{"headers": ["Counter", "ID", "Name"], "rowcount": 2145}], "runningtime": "10.14"}
null
المستخدمون حسب أيام تواجدهم خلال العام
_
use arwiki_p; select rev_user_text as "اسم المستخدم", count(*) as "عدد الأيام" from( select rev_user_text, count(*) from revision where rev_timestamp like "2019%" and rev_user_text in (select user_name from user where user_name = rev_user_text and user_...
{"runningtime": "3600.61", "resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang", "tl_from", "tl_namespace", "tl_title", "tl_from_nam...
null
Wikimedia Commons media with Czech description needing categories
null
SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page...
{"runningtime": "137.28", "resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wpage"], "rowcount": 575}]}
null
Wikimedia Commons media with Czech description needing categories
null
SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page...
{"resultsets": [{"headers": ["timestamp"], "rowcount": 1}, {"headers": ["wpage"], "rowcount": 575}], "runningtime": "34.13"}
null
Wikimedia Commons media with Czech description needing categories
null
SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page...
{"runningtime": "71.86", "resultsets": [{"headers": ["CONCAT('*{{lf|', REPLACE(REPLACE(p.page_title, '\"', '**DOUBLEQUOTE**'), '_', ' '), '}}')"], "rowcount": 107}]}
null
Most-used entities on a Wikibase client wiki
null
USE `svwiki_p`; SELECT `eu_entity_id`, COUNT(*) AS `count` FROM `wbc_entity_usage` GROUP BY `eu_entity_id` ORDER BY `count` DESC LIMIT 100;
{"resultsets": [{"headers": ["gt_lat", "gt_lon", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 211}, {"headers": ["gt_lat", "gt_lon", "gt_primary", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 398}], "runningtime": "21.60"}
null
Most-used entities on a Wikibase client wiki
Can be used to find those entities that don’t have a label yet, using this query: https://w.wiki/D4o
USE `svwiki_p`; SELECT `eu_entity_id` FROM `wbc_entity_usage` GROUP BY `eu_entity_id` ORDER BY COUNT(*) DESC LIMIT 500;
{"runningtime": "66.52", "resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"], "rowcount": 2}]}
null
Wikimedia Commons media with Czech description needing categories
null
SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page...
{"resultsets": [{"headers": ["File name", "Date", "Size", "Uploader's name"], "rowcount": 25}], "runningtime": "766.88"}
null
A magyar Wikipédia mérete
https://hu.wikipedia.org/wiki/Szerkesztő:Samat/A_magyar_Wikipédia_mérete
USE huwiki_p; /* Real data */ SELECT NOW() AS date, SUM(page_len)/(1024*1024) AS 'total (MiB)', COUNT(page_id) AS articles, AVG(page_len) AS 'average (B)' FROM page WHERE page_namespace = 0 AND page_is_redirect = 0; /* With redirects */ SELECT NOW() AS date, SUM(page_len)/(1024*1024) AS 'total (MiB)', COUNT(page...
{"resultsets": [{"headers": ["user_id", "user_name", "user_editcount"], "rowcount": 4521}], "runningtime": "15.11"}
null
Articles on English Wikipedia not linked to a Wikidata item
A random sample, for help with Phab:T233168
SET STATEMENT max_statement_time = 120 FOR USE enwiki_p; SELECT page_title, page_random FROM page WHERE page_namespace = 0 AND NOT page_is_redirect AND page_id NOT IN ( SELECT DISTINCT pp_page AS page_id FROM page_props WHERE pp_propname = 'wikibase_item' ) ORDER BY page_random LIMIT 100;
{"resultsets": [{"headers": ["user", "language", "no_translations", "Usercontribs"], "rowcount": 573}], "runningtime": "11.40"}
null
Hewiki fair use unused pictures 1
null
use hewiki_p; select concat('# [[:קובץ:', replace(page_title, "_", " "), ']]') as Suspicious_file_title from page as p1 join image on exists (select * from categorylinks as cl1 where cl_from = page_id and (cl_to = "ויקיפדיה_-_תמונות_שימוש_הוגן" or exists (select * from page as p2 where p2.page_namespace = 14 and p2.pag...
{"resultsets": [{"headers": ["date", "total (MiB)", "articles", "average (B)"], "rowcount": 1}, {"headers": ["date", "total (MiB)", "pages", "average (B)"], "rowcount": 1}, {"headers": ["date", "total (MiB)", "pages", "average (B)"], "rowcount": 1}], "runningtime": "5.30"}
null
Wikidata edits with wikimedia-commons-app tag (change_tag_def)
null
use wikidatawiki_p; select page_title, GROUP_CONCAT(actor_name), GROUP_CONCAT(rev_timestamp), GROUP_CONCAT(rev_id) from change_tag join revision on rev_id=ct_rev_id join actor on actor_id=rev_actor join page on page_id=rev_page where ct_tag_id=( SELECT ctd_id FROM change_tag_def WHERE ctd_name="wikimedia-commons...
{"resultsets": [{"headers": ["user_name", "page_title", "rev_id", "rev_timestamp", "prepat", "pat", "bad"], "rowcount": 621}], "runningtime": "30.56"}
null
Wikidata edits with wikimedia-commons-app tag (change_tag_def)
null
use wikidatawiki_p; select rev_id, rev_user_text, page_title from change_tag join revision on rev_id=ct_rev_id join page on page_id=rev_page where ct_tag_id=( SELECT ctd_id FROM change_tag_def WHERE ctd_name="wikimedia-commons-app" )
{"resultsets": [{"headers": ["user_name", "user_editcount"], "rowcount": 100}], "runningtime": "13.54"}
null
البحث عن مقالات ملخص تعديل معين
null
use arwiki_p; select page_title, comment_text from revision inner join actor on actor.actor_id = revision.rev_actor inner join comment on comment_id = rev_comment_id inner join page on page_id = rev_page where rev_timestamp > 20191126000000 #and comment_text like "%بوت:معادلة تقييم جودة المقالات (1.7#)%" and page_is_r...
{"runningtime": "13.01", "resultsets": [{"headers": ["user_name", "user_editcount"], "rowcount": 86}]}
null
empty
null
null
{"runningtime": "43.09", "resultsets": [{"headers": ["actor_user", "actor_name", "cnt"], "rowcount": 227}]}
null
Wikidata edits with wikimedia-commons-app tag (change_tag_def)
null
use wikidatawiki_p; select rev_id, actor_name, page_title from change_tag join revision on rev_id=ct_rev_id join actor on actor_id=rev_actor join page on page_id=rev_page where ct_tag_id=( SELECT ctd_id FROM change_tag_def WHERE ctd_name="wikimedia-commons-app" )
{"runningtime": "159.19", "resultsets": [{"headers": ["ips_row_id", "ips_item_id", "ips_site_id", "ips_site_page", "pp_page", "pp_propname", "pp_value", "pp_sortkey", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "...
null
Wikidata edits with wikimedia-commons-app tag (change_tag_def)
null
use wikidatawiki_p; select page_title, GROUP_CONCAT(actor_name), GROUP_CONCAT(rev_timestamp), GROUP_CONCAT(rev_id) from change_tag join revision on rev_id=ct_rev_id join actor on actor_id=rev_actor join page on page_id=rev_page where ct_tag_id=( SELECT ctd_id FROM change_tag_def WHERE ctd_name="wikimedia-commons...
{"resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_page_id"], "rowcount": 960}], "runningtime": "23.36"}
null
#/living footballers in main namespace 191204
Number of pages in the enwiki main namespace that are in [[Category:Living people]] and transclude {{Infobox football biography}}. For [[w:en:User:Levivich/Footy AfDs]].
SELECT COUNT(*) FROM page JOIN templatelinks ON page_id = tl_from JOIN categorylinks ON page_id = cl_from WHERE page_namespace = 0 AND cl_to = 'Living_people' AND tl_namespace = 10 AND tl_title = 'Infobox_football_biography';
{"resultsets": [{"headers": ["rev_id", "rev_page", "rev_text_id", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "rev_content_model", "rev_content_format", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_...
null
#/footballers in main namespace 191204
Number of pages in the enwiki main namespace that are in [[Category:Living people]] and transclude {{Infobox football biography}}. For [[w:en:User:Levivich/Footy AfDs]].
SELECT COUNT(*) FROM page JOIN templatelinks ON page_id = tl_from WHERE page_namespace = 0 AND tl_namespace = 10 AND tl_title = 'Infobox_football_biography';
{"resultsets": [{"headers": ["actor_user", "actor_name", "cnt"], "rowcount": 227}], "runningtime": "32.05"}
null
Test pawikisource
null
use pawikisource_p; select * from page inner join revision on page.page_id = revision.rev_page where page_namespace=250 and page_is_redirect=0 and revision.rev_timestamp > '20191201000000'
{"runningtime": "0.51", "resultsets": [{"headers": ["user_id", "user_name", "user_real_name", "user_password", "user_newpassword", "user_email", "user_options", "user_touched", "user_token", "user_email_authenticated", "user_email_token", "user_email_token_expires", "user_registration", "user_newpass_time", "user_editc...
null
Links to nli.org.il in hewiki
null
use hewiki_p; select el_from, page_title, el_to from externallinks, page where el_to like '%nli.org.il%' and el_from = page_id;
{"runningtime": "0.15", "resultsets": [{"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 18}]}
null
HK anon 4 Canon IXUS 285 HS
DO NOT PUBLISH
USE commonswiki_p; SELECT actor_name AS User, LEFT(MIN(i.img_timestamp), 8) AS Date FROM actor_image JOIN image AS i ON actor_id = i.img_actor AND i.img_major_mime = 'image' JOIN image AS ii ON actor_id = ii.img_actor AND i.img_major_mime = 'image' JOIN user ON user_name = actor_name WHERE i.img_name LIKE "HK\_%" OR ...
{"runningtime": "0.35", "resultsets": [{"headers": ["count(*)"], "rowcount": 1}]}
null
Árva szócikkek
a magyar Wikipédia árva cikkei
USE huwiki_p; SELECT * FROM page lonely WHERE lonely.page_namespace = 0 AND lonely.page_is_redirect = 0 AND NOT EXISTS ( SELECT * FROM templatelinks WHERE tl_from = lonely.page_id AND tl_namespace = 10 AND tl_title = 'Egyért' ) AND NOT EXISTS ( SELECT * FROM templatelinks WHERE tl_from = lonely....
{"runningtime": "0.22", "resultsets": [{"headers": ["ipb_by_actor", "count(*)"], "rowcount": 1}]}
null
Wikipédia:Legtöbbször hivatkozott lapok
5000 most-time linked red link (not existing article) on huwiki Az 5000 legtöbbet hivatkozott piros link (nem létező cikk) a magyar Wikipédián
USE huwiki_p; SELECT pl_title AS title, COUNT(pl_from) AS requests /*concat('[[', replace(pl_title, '_', ' '), ']]') AS 'Cím', concat('[[Speciális:Mi hivatkozik erre/', replace(pl_title, '_', ' '), '|', COUNT(pl_from), ']]') AS 'Hivatkozások száma'*/ FROM page p JOIN pagelinks ON p.page_id = pl_from LEFT JOIN pag...
{"resultsets": [{"headers": ["ipb_by_actor", "count(*)"], "rowcount": 435}], "runningtime": "1.54"}
null
صفحات محذوفة مرتبطة بويكي بيانات
null
use cswiki_p; select * from wikidatawiki_p.wb_items_per_site where wikidatawiki_p.wb_items_per_site.ips_site_id like "cswiki" and replace(wikidatawiki_p.wb_items_per_site.ips_site_page," ", "_") not in (select page_title from page where ...
{"resultsets": [{"headers": ["user_name", "user_editcount"], "rowcount": 20}], "runningtime": "0.73"}
null
Interwikied but no id
null
use enwiki_p; select count(*) as c, page.page_id, page.page_title, page.page_len from langlinks, page where page.page_namespace = 0 and page.page_is_redirect = 0 and langlinks.ll_from = page.page_id order by c limit 10
{"runningtime": "0.46", "resultsets": [{"headers": ["page_is_redirect", "COUNT(*)"], "rowcount": 2}]}
null
Interwikied but no id2
null
use enwiki_p; select count(*) as c, page.page_id, page.page_title, page.page_len from langlinks, page where page.page_namespace = 0 and page.page_is_redirect = 0 and langlinks.ll_from = page.page_id limit 10
{"runningtime": "0.54", "resultsets": [{"headers": ["date", "images"], "rowcount": 98}]}
null
Interwikied but no id2
null
use enwiki_p; select count(*) as c, page.page_id, page.page_title, page.page_len from langlinks, page where page.page_namespace = 0 and page.page_is_redirect = 0 and langlinks.ll_from = page.page_id group by 2, 3, 4 limit 10
{"resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"], "rowcount": 0}], "runningtime": "14.72"}
null
Interwikied but no id - idonly
null
use enwiki_p; select count(*) count, ll_from from langlinks parent where not EXISTS (SELECT * FROM langlinks WHERE ll_from = parent.ll_from and langlinks.ll_lang='id') group by 2 order by 1 desc limit 20
{"resultsets": [{"headers": ["time", "user", "Namespace", "page", "comment"], "rowcount": 0}], "runningtime": "0.21"}
null
Hewiki pages by enwiki category
null
select ll_title from enwiki_p.categorylinks cl inner join enwiki_p.langlinks on cl.cl_from=ll_from inner join hewiki_p.page p on p.page_title=ll_title and p.page_namespace=0 where ll_lang='he' and cl_to ='Children_of_Holocaust_survivors' and not exists(select * from hewiki_p.categorylinks hcl where hcl.cl_from=p.page...
{"resultsets": [{"headers": ["Page", "Transclusions", "Over", "Counter"], "rowcount": 61}], "runningtime": "18.63"}
null
Interwikied but no id - probably
null
select count(*), page.page_title from langlinks, page where page.page_namespace = 0 and page.page_is_redirect = 0 and page.page_title not like 'AD%' and page.page_title not regexp '^\d+$' and langlinks.ll_from = page.page_id and not exists (select * from langlinks w...
{"resultsets": [{"headers": ["concat('[[User:', user_name, '|]]')", "acct_created", "first_edit", "article_edits", "recent_edits", "voter_status"], "rowcount": 283}], "runningtime": "1064.19"}
null
Zsáklapok a huwikin
megekeresi a külső linket nem tartalmazó lapokat
USE huwiki_p; Insert into pl1 SELECT pl_from FROM pagelinks group by pl_from; alter table pl1 add KEY (pl_from); CREATE TABLE zsak LIKE ujwikin2.zsak; Insert into zsak (page_id, page_namespace, page_title) select page_id, page_namespace, page_title from page left join pl1 on page_id=pl_from where pl_from is null and pa...
{"resultsets": [{"headers": ["Tables_in_meta_p"], "rowcount": 3}, {"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 12}, {"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 1}, {"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 13}], "runn...
null
Hewiki fair use unused pictures 1
null
use hewiki_p; select concat('# [[:קובץ:', replace(page_title, "_", " "), ']]') as Suspicious_file_title from page as p1 join image on exists (select * from categorylinks as cl1 where cl_from = page_id and (cl_to = "ויקיפדיה_-_תמונות_שימוש_הוגן" or exists (select * from page as p2 where p2.page_namespace = 14 and p2.pag...
{"runningtime": "0.44", "resultsets": [{"headers": ["rc_id", "rc_timestamp", "rc_actor", "rc_namespace", "rc_title", "rc_comment_id", "rc_minor", "rc_bot", "rc_new", "rc_cur_id", "rc_this_oldid", "rc_last_oldid", "rc_type", "rc_source", "rc_patrolled", "rc_ip", "rc_old_len", "rc_new_len", "rc_deleted", "rc_logid", "rc_...
null
Gallery image authors
null
use commonswiki_p; select img_name, actor_name from page join imagelinks il on il.il_from = page.page_id join image i on il.il_to = i.img_name join actor on i.img_actor = actor.actor_id where page_title = 'Wiki_Loves_Monuments_2019_in_Ukraine/Top-123' and page_namespace = 4
{"resultsets": [{"headers": ["cat_title", "cat_pages", "cat_subcats"], "rowcount": 169}], "runningtime": "0.71"}
null
Gallery image authors grouped
null
use commonswiki_p; select actor_name, sum(1) as images from page join imagelinks il on il.il_from = page.page_id join image i on il.il_to = i.img_name join actor on i.img_actor = actor.actor_id where page_title = 'Wiki_Loves_Monuments_2019_in_Ukraine/Top-123' and page_namespace = 4 group by actor_name order by images...
{"resultsets": [{"headers": ["tl_title", "COUNT(*)"], "rowcount": 1000}], "runningtime": "314.85"}
null
تصانيف بدون وصلة لغات مع وجود مقابل لها في ويكي الإنجليزية
null
use arwiki_p; select concat('"تصنيف:',p.page_title , '":' ) , concat('"Category:',ll_title , '",' ) from page p inner join page p3 on p3.page_title = p.page_title inner join langlinks on ll_from = p3.page_id where p.page_namespace = 14 and p.page_is_redirect = 0 and p.page_title not like "%/%" and p.page_id not in (se...
{"runningtime": "1077.57", "resultsets": [{"headers": ["page_title", "page_len", "cat_pages", "rev_timestamp", "rev_actor"], "rowcount": 43}]}
null
Cycling wikiproject
null
use arwiki_p; SELECT DISTINCT p1.page_title , p1.page_namespace FROM page p1 WHERE p1.page_is_redirect = 0 and p1.page_namespace = 0 AND NOT EXISTS (SELECT * FROM page p2 WHERE p2.page_title = p1.page_title AND p2.page_namespace = 1 ) #or p2.page_namespace = 15 and p1.page_id in (SELECT tl_from FROM templatelinks W...
{"runningtime": "0.17", "resultsets": [{"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 4}]}
null
talk page for unexists page
null
use arwiki_p; SELECT DISTINCT p1.page_title FROM page p1 WHERE p1.page_namespace = 1 and p1.page_is_redirect = 0 and p1.page_title not like "%/أرشيف%" and p1.page_title not like "%/Archive%" AND NOT EXISTS (SELECT * FROM page p2 WHERE p2.page_title = p1.page_title AND p2.page_namespace = 0 )
{"runningtime": "5.56", "resultsets": [{"headers": ["page_title", "el_to", "el_index"], "rowcount": 32}]}
null
Interwiki nélküli listák
null
USE huwiki_p; SELECT page_title FROM page LEFT JOIN templatelinks ON tl_from = page_id AND tl_namespace = 10 AND tl_title = 'Kat-redir' LEFT JOIN langlinks ON ll_from = page_id WHERE page_namespace = 0 AND page_title LIKE '%listája%' AND page_is_redirect = 0 AND tl_from IS NULL AND ll_from IS NULL;
{"resultsets": [{"rowcount": 39, "headers": ["image", "img_timestamp", "img_actor"]}], "runningtime": "0.31"}
null
Wikimedia Commons media with Czech description needing categories
null
SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page...
{"resultsets": [{"rowcount": 1, "headers": ["timestamp"]}, {"rowcount": 54, "headers": ["wikipage"]}], "runningtime": "38.17"}
null
Blocks by AbuseFilter
null
use fawiki_p; SELECT ipb_id, CASE WHEN ipb_user = 0 THEN ipb_address ELSE ( SELECT user_name FROM user WHERE user_id = ipb_user ) END AS block_target, comment_text AS block_reason, ipb_expiry FROM ipblocks JOIN comment ON ipb_reason_id = comment_id WHERE ipb_by_actor = 137410...
{"connection_id": 468526}
null
Test wikisource
null
use pawikisource_p; select DISTINCT(actor_name) as users from revision inner join actor on actor.actor_id = rev_actor where rev_timestamp > '20191201000000' and rev_timestamp < '20191231235959';
{"resultsets": [{"rowcount": 101, "headers": ["User", "Properties created", "Group"]}], "runningtime": "237.11"}
null
Test wikisource 2
null
use pawikisource_p; select DISTINCT(page_title), page_namespace from revision inner join actor on actor.actor_id = rev_actor inner join page on page.page_id = rev_page where actor_name ="Armaan kakrala" and rev_timestamp > '20191201000000' and rev_timestamp < '20191231235959';
{"connection_id": 7612951}
null
Most linked dab pages
null
USE specieswiki_p; SELECT #pg.page_namespace, #All in mainspace pg.page_title, COUNT(*) FROM pagelinks pl JOIN page pg ON pl.pl_namespace = pg.page_namespace AND pl.pl_title = pg.page_title WHERE EXISTS ( SELECT 1 FROM page_props pp WHERE pp.pp_page = pg.page_id AND pp.pp_propname = 'disambiguation' )...
{"resultsets": [{"rowcount": 100, "headers": ["pr_page", "pr_type", "pr_level", "pr_cascade", "pr_user", "pr_expiry", "pr_id", "page_id", "page_namespace", "page_title"]}], "runningtime": "0.38"}
null
Biografien mit Klammerlemma
null
USE dewiki_p; SELECT page_title FROM page, templatelinks WHERE page_namespace = 0 AND page_title like '%\_(%)' AND tl_from = page_id AND tl_namespace = 10 AND tl_title = 'Personendaten'
{"resultsets": [{"rowcount": 0, "headers": ["page_title", "pp_value"]}], "runningtime": "2.95"}
null
empty
null
null
{"resultsets": [{"rowcount": 296, "headers": ["page_title"]}], "runningtime": "1.63"}
null
empty
null
null
{"connection_id": 927345}
null
Authors of pages in Data namespace in Wikimedia Commons
null
SELECT A.actor_name, COUNT(1) AS pages FROM commonswiki_p.revision R JOIN commonswiki_p.page P ON R.rev_page = P.page_id JOIN commonswiki_p.actor A ON R.rev_actor = A.actor_id WHERE R.rev_parent_id = 0 AND P.page_namespace = 486 AND P.page_is_redirect = 0 GROUP BY A.actor_name ORDER BY pages DESC
{"resultsets": [{"rowcount": 27, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 6, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 12, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "4.10"}
null
commons-mass-description task for GCI 2019 - part 1
null
use commonswiki_p; SELECT actor_name, count(*) from change_tag join actor_revision join revision join change_tag_def on ct_rev_id=rev_id where ctd_name="OAuth CID: 821" and actor_user>0 group by actor_user limit 10;
{"resultsets": [{"rowcount": 5, "headers": ["n", "actor_name"]}], "runningtime": "0.25"}
null
commons-mass-description task for GCI 2019 - part 1
null
use commonswiki_p; SELECT actor_name, count(*) from change_tag join actor_revision join revision join change_tag_def on ct_rev_id=rev_id where ctd_name="OAuth CID: 821" and actor_user>0 group by actor_user order by count(*) desc
{"resultsets": [{"headers": ["n", "actor_name"], "rowcount": 5}], "runningtime": "0.35"}
null
Test Queries - GCI - commons-mass-description
null
USE commonswiki_p; DESCRIBE change_tag
{"resultsets": [{"headers": ["nr", "liczba_edycji", "actor_name"], "rowcount": 35}], "runningtime": "2.32"}
null
مقالات قصيرة جدًا
null
use arwiki_p; select page_title from page where page_namespace = 0 and page_is_redirect = 0 and page_id not in (select cl_from from categorylinks where cl_from = page_id and cl_to = "صفحات_توضيح") and page_len < 700;
{"resultsets": [{"rowcount": 35, "headers": ["nr", "liczba_edycji", "actor_name"]}], "runningtime": "1.68"}
null
Redirects
null
SELECT page_id AS 'pageid', page_title AS 'title', ptrpt_value AS 'target', actor_name AS 'creator', COUNT(*) FROM page JOIN pagetriage_page ON page_id = ptrp_page_id JOIN pagetriage_page_tags ON ptrp_page_id = ptrpt_page_id JOIN revision ON page_latest = rev_id JOIN actor ON rev_actor = actor_id WHE...
{"resultsets": [{"rowcount": 10, "headers": ["nr", "liczba_edycji", "actor_name"]}], "runningtime": "0.15"}
null
Retrieving Pictures from Wiki Loves Africa in the Commons
I just joined the WMF as research scientist and understanding how the data looks like
USE commonswiki_p; SELECT page_title FROM categorylinks LEFT JOIN page ON cl_from = page_id WHERE cl_to LIKE 'Images_from_Wiki_Loves_Africa_2016' AND page_namespace = 6 and cl_type='file'
{"resultsets": [{"rowcount": 104, "headers": ["Tables_in_metawiki_p"]}], "runningtime": "0.46"}
null
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": [{"rowcount": 0, "headers": ["img_name", "img_timestamp", "user_name"]}], "runningtime": "0.25"}
null
commons-mass-description task for GCI 2019 - part 1
null
USE commonswiki_p; SELECT actor_name, count(*) FROM actor_revision JOIN revision ON rev_actor=actor_id JOIN change_tag ON ct_rev_id=rev_id join change_tag_def ON ct_tag_id=ctd_id WHERE ctd_name="OAuth CID: 821" and actor_user>0 group by actor_user order by count(*) desc
{"resultsets": [{"rowcount": 0, "headers": ["rc_id", "rc_timestamp", "rc_user", "rc_user_text", "rc_actor", "rc_namespace", "rc_title", "rc_comment_id", "rc_comment", "rc_minor", "rc_bot", "rc_new", "rc_cur_id", "rc_this_oldid", "rc_last_oldid", "rc_type", "rc_source", "rc_patrolled", "rc_ip", "rc_old_len", "rc_new_len...
null
commons-mass-description task for GCI 2019 - part 1
null
USE commonswiki_p; SELECT actor_name, count(*) FROM actor_revision JOIN revision ON rev_actor=actor_id JOIN change_tag ON ct_rev_id=rev_id join change_tag_def ON ct_tag_id=ctd_id WHERE ctd_name="OAuth CID: 821" and actor_user>0 group by actor_user order by count(*) desc
{"resultsets": [], "runningtime": "0.04"}
null
commons-mass-description task for GCI 2019 - part 2
null
USE commonswiki_p; SELECT count(*) FROM actor_revision JOIN revision ON rev_actor=actor_id JOIN change_tag ON ct_rev_id=rev_id join change_tag_def ON ct_tag_id=ctd_id WHERE ctd_name="OAuth CID: 821" AND actor_id>0
{"resultsets": [{"rowcount": 10, "headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"]}], "runningtime": "0.12"}
null
Wikimedia Commons media with Czech description needing categories
null
SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page...
{"resultsets": [{"rowcount": 1, "headers": ["timestamp"]}, {"rowcount": 87, "headers": ["wikipage"]}], "runningtime": "672.66"}
null
WLM-UA 2019 participants not active in previous WLM
WLE-UA Photo Competition participants 2013-2017 not active in 2018
use commonswiki_p; SELECT actor_name, COUNT(1) as files 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 ( "Images_from_Wiki_Loves_Monuments_2019_in_Ukraine" ) and not exists (SELECT 1 FROM revision join ...
{"resultsets": [{"rowcount": 10, "headers": ["user_name", "user_editcount", "user_registration"]}], "runningtime": "0.19"}
null
empty
null
null
{"resultsets": [{"rowcount": 1, "headers": ["now()", "@w", "@pr", "@l"]}, {"rowcount": 1000, "headers": ["wikipage"]}], "runningtime": "106.93"}
null
wiki project medicine images
null
select * from imagelinks where il_from in ( SELECT page2.page_id FROM page INNER JOIN page page2 ON page.page_title = page2.page_title INNER JOIN categorylinks ON cl_from = page.page_id AND categorylinks.cl_to = "All_WikiProject_Medicine_articles" WHERE page.page_na...
{"resultsets": [{"headers": ["tl_from", "tl_namespace", "tl_title", "tl_from_namespace"], "rowcount": 10}], "runningtime": "0.13"}
null
Validated-Ramesh-சிந்தனை_துளிகள்
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where #(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") ...
{"resultsets": [{"rowcount": 527, "headers": ["fr_flags", "log_page", "log_timestamp", "user_name", "ug_group", "revid", "newtitle"]}], "runningtime": "11.36"}
null