title stringlengths 1 212 | description stringlengths 1 4.39k ⌀ | query stringlengths 1 65.5k ⌀ | extra_info stringlengths 18 31.6k | wikidb stringlengths 4 26 ⌀ |
|---|---|---|---|---|
nlwiki Language indicator template redirects | null | SELECT page_namespace, page_title
FROM redirect, page
WHERE
rd_namespace=10 AND rd_title REGEXP '^Taal-' AND rd_from=page_id AND
NOT EXISTS (SELECT * FROM categorylinks WHERE rd_from=cl_from AND cl_to='Wikipedia:Niet_te_verwijderen_sjabloonredirects') | {"runningtime": "167.88", "resultsets": [{"rowcount": 3, "headers": ["timestamp", "pagename", "comment_text"]}]} | nlwiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.23", "resultsets": [{"headers": ["page_title"], "rowcount": 100}]} | tewiki |
2020 Olympics pages w/o 2021 redirects | Non-redirect pages in the main namespace with titles containing any of "2020 Olympics", "2020 Summer Olympics", "2020 Paralympics", "2020 Summer Paralympics", or "Tokyo 2020" (case-insensitive); where there isn't a redirect pointing at them, with the same title except "2021" instead of "2020".
For [[WP:VPT#Missing "20... | SELECT concat("[[",page_title,"]]") as"Title"
FROM page AS p1
WHERE p1.page_namespace = 0
AND p1.page_title RLIKE '(?i)(2020_(Summer_)?(O|Para)lympics|Tokyo_2020)'
AND NOT p1.page_title LIKE "%\_-\_%"
AND NOT p1.page_title LIKE "%\_–\_%"
AND NOT EXISTS (SELECT 1 FROM redirect
JOIN page AS p2 O... | {"runningtime": "0.07", "resultsets": [{"rowcount": 0, "headers": ["page_title", "cl_to"]}]} | enwiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "8.37", "resultsets": [{"rowcount": 15, "headers": ["user", "user_editcount", "oe_edit_count", "ratio", "registered_since"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "3.74", "resultsets": [{"headers": ["page_title"], "rowcount": 572}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "1.15", "resultsets": [{"rowcount": 570, "headers": ["page_title"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "1.79", "resultsets": [{"rowcount": 11, "headers": ["actor_name", "tdif"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "9.01", "resultsets": [{"rowcount": 48, "headers": ["actor_name", "page_title", "Timestamp"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "9.28", "resultsets": [{"headers": ["actor_name", "page_title", "Timestamp"], "rowcount": 48}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "9.40", "resultsets": [{"rowcount": 48, "headers": ["actor_name", "page_title", "Timestamp"]}]} | tewiki |
Srikakulam district | null | set @dist := "శ్రీకాకుళం_జిల్లా";
select p1.page_title from page p1
where p1.page_id not in (select il_from from imagelinks where il_to ="Andhra_Pradesh_locator_map.svg")
and p1.page_namespace=0
and p1.page_id in (select cl_from from categorylinks where (cl_to = concat(@dist,'_గ్రామాలు')
... | {"runningtime": "7.17", "resultsets": [{"rowcount": 11, "headers": ["actor_name", "page_title", "Timestamp"]}]} | tewiki |
azwiki GFDL only files by upload date in cat | null | #USE ukwiki_p;
SELECT CONCAT("# [[:File:", page_title, "]]") as File, img_timestamp, actor_name
FROM templatelinks
JOIN page ON tl_from = page_id
JOIN image ON img_name = page_title AND page_namespace = 6
JOIN actor_image ON img_actor = actor_id
JOIN categorylinks
ON cl_from = page_id
AND cl_type = "file"
AND cl_to =... | {"runningtime": "7.16", "resultsets": [{"rowcount": 49, "headers": ["actor_name", "page_title", "Timestamp"]}]} | azwiki_p |
hrwiki GFDL only files by upload date in cat | null | #USE ukwiki_p;
SELECT CONCAT("# [[:File:", page_title, "]]") as File, img_timestamp, actor_name
FROM templatelinks
JOIN page ON tl_from = page_id
JOIN image ON img_name = page_title AND page_namespace = 6
JOIN actor_image ON img_actor = actor_id
JOIN categorylinks
ON cl_from = page_id
AND cl_type = "file"
#AND cl_to ... | {"runningtime": "6.99", "resultsets": [{"rowcount": 21, "headers": ["actor_name", "page_title", "Timestamp"]}]} | hrwiki_p |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "7.15", "resultsets": [{"rowcount": 20, "headers": ["actor_name", "page_title", "Timestamp"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.33", "resultsets": [{"headers": ["sum(tdif)"], "rowcount": 1}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.34", "resultsets": [{"rowcount": 1, "headers": ["count(*)"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.08", "resultsets": [{"rowcount": 1, "headers": ["rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1"]}]} | tewiki |
Найактивніші за кількістю завантажених файлів | null | SELECT @rownum := @rownum + 1 AS rank,
username,
gallery
FROM
(
SELECT
CONCAT(
'[[Користувач:', img_user_text, '|', img_user_text, ']]'
) AS username,
CONCAT(
'[https://uk.wikipedia.org/wiki/Спеціальна:Список_файлів',
'?user=', REPLACE(img_user_text, ' ', '_'),... | {"runningtime": "0.07", "resultsets": [{"rowcount": 2, "headers": ["ug_group", "count(1)"]}]} | ukwiki_p |
Sqwiki template and module counts | Transclusion count for templates and modules on kswiki | SELECT
tl_namespace,
tl_title,
COUNT(*)
FROM templatelinks
WHERE tl_namespace = 10 OR tl_namespace = 828
GROUP BY tl_title
HAVING COUNT(*) > 2000
ORDER BY tl_namespace ASC, COUNT(*) DESC, tl_title ASC
LIMIT 10000; | {"runningtime": "3.38", "resultsets": [{"rowcount": 4, "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"]}]} | sqwiki_p |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.08", "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", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touch... | tewiki |
Explaining that page_id changes depending on the namspace | null | SELECT article.page_title, article.page_id as page_id_namespace_0, page.page_id as page_id_namespace_1
FROM page
INNER JOIN page article
ON page.page_title=article.page_title
INNER JOIN categorylinks ON cl_from = page.page_id
AND categorylinks.cl_to = "코로나19_프로젝트_문서"
WHERE page.page_namespace = 1
AND article.pag... | {"runningtime": "1.30", "resultsets": [{"rowcount": 570, "headers": ["page_title"]}]} | kowiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.30", "resultsets": [{"rowcount": 135, "headers": ["CONCAT(\"# [[Utente:\",REPLACE(page_title,'_',' '), \"]]\")"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "1.20", "resultsets": [{"rowcount": 562, "headers": ["page_title"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "1.17", "resultsets": [{"rowcount": 559, "headers": ["page_title"]}]} | tewiki |
Get names of all categories in enwiki_p database | Don't run, too large of a query | SELECT cat_id, cat_title
FROM category; | {"runningtime": "2.85", "resultsets": [{"rowcount": 1115, "headers": ["Filename", "img_width", "img_height", "pixels"]}]} | enwiki_p |
New active users in X Wikipedia | From http://quarry.wmflabs.org/query/2929 | USE plwiki_p;
SELECT user_name, user_registration, user_editcount
FROM user
WHERE #user_registration > DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 DAY),'20000101000000')
#AND
user_editcount > 10
# AND user_id NOT IN (SELECT ug_user FROM plwiki_p.user_groups WHERE ug_group = 'bot')
order by user_editcount desc
l... | {"runningtime": "0.08", "resultsets": [{"rowcount": 10, "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", "cl_from", "cl_to", "cl_sortkey", "cl_... | plwiki_p |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('#[[:File:', page_title, ']]') AS wikitext
FROM categorylinks
JOIN templatelinks ON tl_from = cl_from
JOIN page ON page_id = cl_from
WHERE cl_to LIKE 'All\_media\_needing\_categories\_as\_of%'
AND cl_type = 'file' AND page_namespace = 6
AND tl_namespace = 10 AND tl_title = 'Cs'
ORDER BY page_title;
/*
SEL... | {"runningtime": "0.11", "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": 1}]} | commonswiki_p |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('#[[:File:', page_title, ']]') AS wikitext
FROM categorylinks
JOIN templatelinks ON tl_from = cl_from
JOIN page ON page_id = cl_from
WHERE cl_to LIKE 'All\_media\_needing\_categories\_as\_of%'
AND cl_type = 'file' AND page_namespace = 6
AND tl_namespace = 10 AND tl_title = 'Cs'
ORDER BY page_title;
/*
SEL... | {"runningtime": "0.08", "resultsets": [{"headers": ["rev_timestamp"], "rowcount": 10}]} | commonswiki_p |
proofread-கம்பன்கவித்திரட்டு2-Yasosri | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.08", "resultsets": [{"headers": ["ipb_id", "ipb_address", "ipb_user", "ipb_reason_id", "ipb_timestamp", "ipb_auto", "ipb_anon_only", "ipb_create_account", "ipb_expiry", "ipb_range_start", "ipb_range_end", "ipb_enable_autoblock", "ipb_deleted", "ipb_block_email", "ipb_by_actor", "ipb_allow_usertalk", ... | tawikisource |
proofread-கம்பன்கவித்திரட்டு2-P.devibharathi | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.09", "resultsets": [{"rowcount": 10, "headers": ["ipb_id", "ipb_address", "ipb_user", "ipb_by", "ipb_reason_id", "ipb_reason", "ipb_timestamp", "ipb_auto", "ipb_anon_only", "ipb_create_account", "ipb_expiry", "ipb_range_start", "ipb_range_end", "ipb_enable_autoblock", "ipb_deleted", "ipb_block_email"... | tawikisource |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "1.02", "resultsets": [{"rowcount": 1, "headers": ["Draft", "Article"]}]} | tewiki |
proofread-அகமும்புறமும்.pdf-FathimaShaila | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.08", "resultsets": [{"rowcount": 10, "headers": ["rev_id", "rev_page", "rev_text_id", "rev_comment_id", "rev_comment", "rev_user", "rev_user_text", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "rev_content_model", "rev_content_format"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு2-தாட்சாயனி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "3.69", "resultsets": [{"rowcount": 100, "headers": ["tl_from", "tl_namespace", "tl_title", "tl_from_namespace"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு2-Ushanandhini | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "4.72", "resultsets": [{"headers": ["rev_timestamp", "page_title"], "rowcount": 635}]} | tawikisource |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.09", "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": 10}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "4.49", "resultsets": [{"rowcount": 0, "headers": ["rev_timestamp", "page_title"]}]} | tewiki |
ulstein2 | null | select tl_from, tl_from_namespace, tl_namespace, tl_title
from templatelinks
where tl_from = 54773626; | {"runningtime": "0.07", "resultsets": [{"rowcount": 1, "headers": ["Nothing left to see :)"]}]} | enwiki_p |
All non-free files on hr.wiki by size (oversized) | null | #USE lbwiki_p;
#SELECT CONCAT('# [[:File:', REPLACE(REPLACE(p.page_title, '"', '**DOUBLEQUOTE**'), '_', ' '), ']]') FROM page p
SELECT CONCAT('# [[:File:', p.page_title, ']]') AS Filename, img_width, img_height, CONCAT(img_width*img_height) as pixels #, img_size
FROM page p
JOIN image ON img_name = page_title
INNER JO... | {"runningtime": "10.73", "resultsets": [{"rowcount": 894, "headers": ["rev_timestamp", "page_title", "page_namespace"]}]} | hrwiki_p |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "1.10", "resultsets": [{"rowcount": 57, "headers": ["actor_name"]}]} | tewiki |
Get "people_from"-subcategory pages from category page | null | select
categorylinks.cl_from, page.page_title, categorylinks.cl_to
inner join page on page.page_id=categorylinks.cl_from
where categorylinks.cl_to = "People_from_Møre_og_Romsdal"
and page.page_title LIKE 'People_from_%'; | {"runningtime": "0.95", "resultsets": [{"headers": ["actor_name", "n"], "rowcount": 52}]} | enwiki_p |
biography-search looped through a layer of categories | null | select
categorylinks.cl_from as cl_from1,
page.page_title as page_title1,
categorylinks.cl_to as cl_to1
from categorylinks
inner join page on page.page_id=categorylinks.cl_from
where categorylinks.cl_to in (
select
page.page_title
from categorylinks
inner join page on page.page_id=categorylinks.cl_f... | {"runningtime": "0.91", "resultsets": [{"rowcount": 52, "headers": ["actor_name"]}]} | enwiki_p |
attempt at getting all "people from [region]" articles | null | select categorylinks.cl_from, page.page_title, categorylinks.cl_to
from categorylinks
inner join page on page.page_id=categorylinks.cl_from
where categorylinks.cl_to LIKE 'People_from_%'; | {"runningtime": "2.98", "resultsets": [{"rowcount": 1694, "headers": ["log_title", "COUNT(log_id)"]}]} | enwiki_p |
Wikidata | null | null | {"runningtime": "0.14", "resultsets": [{"rowcount": 50, "headers": ["page_namespace", "page_title"]}]} | wikidatawiki_p |
Living people by city/region | null | select categorylinks.cl_from, page.page_title, categorylinks.cl_to
from categorylinks
inner join page on page.page_id=categorylinks.cl_from
where categorylinks.cl_from in
(select cl_from
from categorylinks
where categorylinks.cl_to LIKE 'Living_people')
and categorylinks.cl_to LIKE 'People_from_%'
; | {"runningtime": "0.07", "resultsets": [{"rowcount": 1, "headers": ["gil_wiki", "gil_page", "gil_page_namespace_id", "gil_page_namespace", "gil_page_title", "gil_to"]}]} | enwiki_p |
proofread-கம்பன்கவித்திரட்டு2-Iswaryalenin | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.29", "resultsets": [{"rowcount": 100, "headers": ["Timestamp", "actor_name", "rc_title", "total diff"]}]} | tawikisource |
Tewiki: user-wise WPWPTE to village pages | null | select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_id
and page_id=rev_page
and comment_text like "%WPWPTE%"
and page_id in (select cl_from from categorylinks where (cl_to = 'భారతదేశ_గ్రామాలు'
OR
... | {"runningtime": "476.21", "resultsets": [{"rowcount": 2, "headers": ["cl_to", "count_cl_to"]}, {"rowcount": 13, "headers": ["page_title"]}, {"rowcount": 0, "headers": ["tl_title", "count_tl_title"]}, {"rowcount": 1, "headers": ["page_title", "pl_title"]}, {"rowcount": 0, "headers": ["page_title"]}, {"rowcount": 0, "hea... | tewiki |
Templates transcluded on the most article pages | null | SELECT
tl_title,
COUNT(*)
FROM templatelinks
WHERE tl_namespace = 10 AND tl_from_namespace=0
GROUP BY tl_title
HAVING COUNT(*) > 2000
LIMIT 10000; | {"runningtime": "0.32", "resultsets": [{"rowcount": 99, "headers": ["c", "cl_to"]}]} | enwiki_p |
proofread-கம்பன்கவித்திரட்டு3-கு.மகாலட்சுமி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "1.59", "resultsets": [{"rowcount": 547, "headers": ["page_title"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-குணசெல்வி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "309.55", "resultsets": [{"headers": ["cl_to", "count_cl_to"], "rowcount": 0}, {"headers": ["page_title"], "rowcount": 5}, {"headers": ["tl_title", "count_tl_title"], "rowcount": 0}, {"headers": ["page_title", "pl_title"], "rowcount": 0}, {"headers": ["page_title"], "rowcount": 0}, {"headers": ["page_ti... | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-ஸ்ரீ தமிழினி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.39", "resultsets": [{"headers": ["page"], "rowcount": 138}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-MEENAPANCHAVARNAM | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.17", "resultsets": [{"rowcount": 0, "headers": ["Page"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-சந்திரிகா.வே | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.20", "resultsets": [{"rowcount": 4, "headers": ["Page"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-P.devibharathi | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "19.93", "resultsets": [{"headers": ["Page"], "rowcount": 9236}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-Yasosri | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.07", "resultsets": [{"rowcount": 0, "headers": ["Page"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-Kavitha04 | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.17", "resultsets": [{"rowcount": 0, "headers": ["Page"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-தாட்சாயனி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.07", "resultsets": [{"headers": ["Page"], "rowcount": 0}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-Ushanandhiniashokkumar | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "4.41", "resultsets": [{"rowcount": 1, "headers": ["Draft", "Article"]}]} | tawikisource |
proofread-கம்பன்கவித்திரட்டு3-சுந்தரதமிழரசு | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.06", "resultsets": [{"headers": ["cat_id", "cat_title", "cat_pages", "cat_subcats", "cat_files"], "rowcount": 0}]} | tawikisource |
AfC review counts, July 2021 elimination drive | AfC count, July 2021. Including links | select ROW_NUMBER() OVER(ORDER BY reviews DESC) AS rank,
-- count(rc_id) as tot_reviews,
count(CASE WHEN comment_text like "Commenting on submission%" then NULL ELSE 1 END) as reviews,
concat("[[User:", actor_name, "|", actor_name, "]]") as username,
concat("[[Wikipedia:WikiProject_Articles_for_creati... | {"runningtime": "65.07", "resultsets": [{"rowcount": 41152, "headers": ["pt_namespace", "pt_title", "pt_user", "pt_reason_id", "pt_timestamp", "pt_expiry", "pt_create_perm"]}]} | enwiki |
AfC review counts, July 2021 elimination drive | AfC count, July 2021. Including links | use enwiki_p;
-- make group_concat do a crude truncation of content after a certain number of characters
SET SESSION group_concat_max_len = 2000;
select ROW_NUMBER() OVER(ORDER BY reviews DESC) AS rank,
count(rc_id) as "reviews (including comments)", -- too confusing?
count(CASE WHEN comment_text like "Commenti... | {"runningtime": "16.33", "resultsets": [{"rowcount": 186, "headers": ["reviews", "actor_name", "accept", "decline", "reject", "accept %", "decline %", "reject %"]}]} | enwiki |
proofread-தமிழ்இலக்கியகராதி-கு.மகாலட்சுமி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "65.32", "resultsets": [{"rowcount": 41145, "headers": ["Page", "Protecting admin", "Time", "Summary"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-ஆராவமுதன் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "66.32", "resultsets": [{"headers": ["Page", "Protecting admin", "Time", "Summary"], "rowcount": 41139}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-பூங்கோதை | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "65.59", "resultsets": [{"rowcount": 41139, "headers": ["Page", "Protecting admin", "Time", "Summary"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-சுந்தரதமிழரசு | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.37", "resultsets": [{"rowcount": 104, "headers": ["Page", "Protecting admin", "Date of protection", "Date of expiry", "Summary"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-RUBIKA.A | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "2529.37", "resultsets": [{"headers": ["tl_title"], "rowcount": 52}]} | tawikisource |
Hrwiki talkpages edited by Roberta and Speedy | null | select * from page as p #page_title, actor_name
join revision_userindex on rev_page = page_id
join actor_revision on rev_actor = actor_id
where
page_namespace % 2 = 1
and (actor_name = "SpeedyGonsales" OR actor_name = "Roberta F.")
group by page_title ASC
limit 500 | {"runningtime": "0.13", "resultsets": [{"headers": ["af_user", "actor_user", "af_user_text", "af_timestamp"], "rowcount": 10}, {"headers": ["Nothing left to see :)"], "rowcount": 1}]} | hrwiki_p |
WikiProject Participation | For all usernames on a given page -- e.g., WikiProject participant list -- count how many edits each has made to articles in that WikiProject over some time period. | # all usernames linked to on the participants page
WITH participants AS (
SELECT DISTINCT
SUBSTRING_INDEX(pl_title, '/', 1) AS wp_participant_user # sometimes users link to subpages -- this just captures their username
FROM pagelinks
WHERE
pl_from = 10034790 # https://en.wikipedia.org/wiki/Wikipedia:... | {"runningtime": "1.73", "resultsets": [{"headers": ["count(*)"], "rowcount": 1}]} | enwiki_p |
Tool Labs metadata database | Content of the metadata database; see https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database#Metadata_database for more information. | use meta_p;
SELECT * FROM wiki
WHERE lang = 'sq'; | {"runningtime": "1.99", "resultsets": [{"rowcount": 1, "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)"]}]} | meta_p |
Tewiki: user-wise WPWPTE to village pages | null | select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_id
and page_id=rev_page
and comment_text like "%WPWPTE%"
and page_id in (select cl_from from categorylinks where (cl_to = 'భారతదేశ_గ్రామాలు'
OR
... | {"runningtime": "85.31", "resultsets": [{"rowcount": 1000, "headers": ["rank", "actor_name", "manual_accept_count"]}]} | tewiki |
proofread-தமிழ்இலக்கியகராதி-தாட்சாயனி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "6.84", "resultsets": [{"rowcount": 1, "headers": ["ss_total_edits"]}, {"rowcount": 1, "headers": ["SUM(user_editcount)"]}, {"rowcount": 791, "headers": ["user_id", "user_name", "user_editcount", "user_admin", "user_bot"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-Kaviyazhagi.K | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "136.87", "resultsets": [{"rowcount": 1, "headers": ["pages_with_disambig_but_not_redir"]}, {"rowcount": 985, "headers": ["user_id", "user_name", "user_articles", "user_latestcreation"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-ஸ்ரீ தமிழினி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "32.80", "resultsets": [{"rowcount": 3, "headers": ["wikitext"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-கு.மகாலட்சுமி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "702.10", "resultsets": [{"rowcount": 232, "headers": ["page_title", "cl_to"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-Drkiruba | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "316.50", "resultsets": [{"rowcount": 87, "headers": ["timestamp", "pagename", "comment_text"]}]} | tawikisource |
proofread-தமிழ்இலக்கியகராதி-பூங்கோதை | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "47.45", "resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_minor_edit", "ar_page_id"], "rowcount": 3309}]} | tawikisource |
Begriffsklärungsseiten mit 30 oder mehr verlinkten Personen | null | SELECT CONCAT('[[', REPLACE(BKL.page_title, '_', ' '), ']]'),
count(Person.page_title) AS AnzahlPersonenLinks
FROM page AS BKL, templatelinks AS BTL, pagelinks, page AS Person, templatelinks as PTL
WHERE BKL.page_namespace = 0
AND BKL.page_title NOT LIKE '%_(Familienname)'
AND BTL.tl_from = BKL.page_id
... | {"runningtime": "0.08", "resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_text", "ar_comment_id", "ar_actor", "ar_timestamp", "ar_minor_edit", "ar_flags", "ar_rev_id", "ar_deleted", "ar_len", "ar_page_id", "ar_parent_id", "ar_sha1", "actor_id", "actor_user", "actor_name"], "rowcount": 3}]} | dewiki_p |
Begriffsklärungsseiten mit 30 oder mehr verlinkten Personen | null | SELECT CONCAT('[[', REPLACE(BKL.page_title, '_', ' '), ']]'),
count(Person.page_title) AS AnzahlPersonenLinks
FROM page AS BKL, templatelinks AS BTL, pagelinks, page AS Person, templatelinks as PTL
WHERE BKL.page_namespace = 0
AND BKL.page_title NOT LIKE '%_(Familienname)'
AND BTL.tl_from = BKL.page_id
... | {"runningtime": "67.79", "resultsets": [{"rowcount": 41113, "headers": ["Page", "Protecting admin", "Time", "Summary"]}]} | dewiki_p |
Pages of a main category's direct subcategories | Find pages in a upper level category , Examples villages in a district, with sub category of mandal | use enwiki_p;
SELECT
CONCAT("[[",page_title,"]]") as page, cl_to as category
FROM page p
JOIN categorylinks cl
ON p.page_namespace = 0 -- main page
AND cl.cl_from = p.page_id
AND cl.cl_to in (
SELECT
page_title as subcat
FROM page p
JOIN categorylinks cl
ON p.page_namespace = 14 -- Optional namespace check... | {"runningtime": "0.06", "resultsets": [{"rowcount": 0, "headers": ["page_title", "pp_value", "cl_to", "cl_sortkey"]}]} | enwiki_p |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('#[[:File:', page_title, ']]') AS wikitext
FROM categorylinks
JOIN templatelinks ON tl_from = cl_from
JOIN page ON page_id = cl_from
WHERE cl_to LIKE 'All\_media\_needing\_categories\_as\_of%'
AND cl_type = 'file' AND page_namespace = 6
AND tl_namespace = 10 AND tl_title = 'Cs'
ORDER BY page_title;
/*
SEL... | {"runningtime": "1.63", "resultsets": [{"headers": ["page_title", "pp_value", "cl_to", "cl_sortkey"], "rowcount": 1000}]} | commonswiki_p |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('#[[:File:', page_title, ']]') AS wikitext
FROM categorylinks
JOIN templatelinks ON tl_from = cl_from
JOIN page ON page_id = cl_from
WHERE cl_to LIKE 'All\_media\_needing\_categories\_as\_of%'
AND cl_type = 'file' AND page_namespace = 6
AND tl_namespace = 10 AND tl_title = 'Cs'
ORDER BY page_title;
/*
SEL... | {"runningtime": "9.91", "resultsets": [{"rowcount": 6558, "headers": ["page_title", "cl_to"]}]} | commonswiki_p |
AfC review counts, July 2021 elimination drive | AfC count, July 2021. Including links | select ROW_NUMBER() OVER(ORDER BY reviews DESC) AS rank,
-- count(rc_id) as tot_reviews,
count(CASE WHEN comment_text like "Commenting on submission%" then NULL ELSE 1 END) as reviews,
concat("[[User:", actor_name, "|", actor_name, "]]") as username,
concat("[[Wikipedia:WikiProject_Articles_for_creati... | {"runningtime": "0.38", "resultsets": [{"rowcount": 5, "headers": ["page_title", "rd_title"]}]} | enwiki |
Get all pages in a category | Get all pages in a category, excluding pages that require disambiguation, or have certain phrases. Currently set up for names and surnames. | use enwiki_p;
SELECT IF(page_namespace = 0, 'category', 'article') as type, page_title
FROM categorylinks
JOIN page ON page_id = cl_from
#WHERE cl_to = 'Surnames'
WHERE cl_to = 'Given_names'
AND page_title NOT LIKE '%_(%'
#AND page_title NOT LIKE '%_family%'
#AND page_title NOT LIKE '%House_of_%'
#LIMIT 50 | {"runningtime": "2.09", "resultsets": [{"rowcount": 10, "headers": ["page_title", "cl_to", "log_type"]}]} | enwiki_p |
Bilder in itWP | Bilder, die nur die Lizenz PD-Italy haben, welche aber erst 70 Jahre nach dem Tod des Fotographen in deWP verwendet werden dürfen | WITH RECURSIVE Cat AS (SELECT page_title
FROM page
WHERE page_title = 'License_tags'
AND page_namespace = 14
UNION
SELECT SubCat.page_title
FROM page AS SubCat, categorylink... | {"runningtime": "0.79", "resultsets": [{"rowcount": 243, "headers": ["\u0430\u0432\u0442\u043e\u0440", "\u0447\u0438\u0441\u043b\u043e \u0441\u0442\u0430\u0442\u0435\u0439"]}]} | commonswiki_p |
isPageExist | null | use hewikisource_p;
select * from page p
join categorylinks cat on cat.cl_from = p.page_id where cat.cl_to="בוט_חוקים"
-- limit 100 | {"connection_id": 27137236} | hewikisource_p |
অসংশোধিত ও অন্তর্ভুক্ত | null | select concat("পাতা:", page_title), page_len
from page
join page_props
on pp_page = page_id
where pp_propname = 'proofread_page_quality_level'
and pp_value in (1, 2)
and page_namespace = 104
and page_title in (
select tl_title
from templatelinks
join page on tl_from = page_id
where page_namespace = 0
); | {"runningtime": "78.42", "resultsets": [{"rowcount": 285, "headers": ["cl_to", "count_cl_to"]}]} | bnwikisource_p |
dewiktionary changes since July 2021 | null | SELECT `p`.`page_title`
FROM `page` p LEFT JOIN `revision` r
ON `p`.`page_latest` = `r`.`rev_id`
WHERE `p`.`page_namespace` = 0
AND `r`.`rev_timestamp` > 20210700000000
| {"runningtime": "4.18", "resultsets": [{"headers": ["actor_name", "count(rev_actor)"], "rowcount": 470}]} | dewiktionary |
trzystutysięczna zielona | null | USE plwikisource_p;
SELECT cat_title, COUNT(*) AS ilosc
FROM category JOIN categorylinks ON cat_title=cl_to
WHERE cl_to = 'Uwierzytelniona' AND cl_type='page';
SELECT rev_id, rev_page, rev_timestamp, user_name, page_title
FROM revision JOIN page ON rev_page=page_id
JOIN comment_revision ON rev_c... | {"runningtime": "157.25", "resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 90}]} | plwikisource_p |
proofread-fathima-கம்பன் சுயசரிதம் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SET @w:=0;
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 "%Pro... | {"runningtime": "0.41", "resultsets": [{"headers": ["page_title"], "rowcount": 200}]} | tawikisource |
Users who thank the most on meta | null | USE metawiki_p;
SELECT log_actor, COUNT(*)
FROM logging
WHERE log_type="thanks"
GROUP BY log_actor
ORDER BY COUNT(*) DESC
LIMIT 20; | {"runningtime": "0.08", "resultsets": [{"rowcount": 10, "headers": ["revactor_timestamp"]}]} | metawiki_p |
Italics Lint in ns4 | null | select page.page_title,linter_cat,linter_params,count(*) as lint_count
from linter
join page on page.page_id = linter.linter_page
where page.page_namespace=4 and linter_cat=4 and linter_params like '{"name":"i"%'
group by page.page_title,linter_cat,linter_params
having count(*)>15
order by 4 desc,page.page_title | {"runningtime": "1.37", "resultsets": [{"rowcount": 629, "headers": ["file", "actor_name"]}]} | enwiki |
Get all paget_titles and ids within a specific category | null | SELECT page_title, page_id
FROM page
WHERE page_id in
(SELECT cl_from FROM categorylinks WHERE cl_to = 'Marketing')
AND page_namespace=0;
| {"runningtime": "54.87", "resultsets": [{"rowcount": 270, "headers": ["year", "month", "page_namespace", "count"]}]} | enwiki_p |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "116.06", "resultsets": [{"rowcount": 18, "headers": ["page_title", "cl_to"]}]} | enwiki |
Tewiki: user-wise WPWPTE to village pages | null | select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_id
and page_id=rev_page
and comment_text like "%WPWPTE%"
and page_id in (select cl_from from categorylinks where (cl_to = 'భారతదేశ_గ్రామాలు'
OR
... | {"runningtime": "1.13", "resultsets": [{"rowcount": 511, "headers": ["page_title"]}]} | tewiki |
WPWPTE upto-the-minute stats | null | /* select count(rev_page) as total from revision,comment
where comment_id=rev_comment_id
and comment_text like "%WPWPTE%"
and rev_timestamp>="2021070100000";
-- ---
*/select actor_name,count(rev_actor) as countt from revision,comment,actor,page
where comment_id=rev_comment_id
and rev_actor=actor_i... | {"runningtime": "0.09", "resultsets": [{"headers": ["actor_id", "actor_name"], "rowcount": 3}]} | tewiki |
hewiki most prolific translators | null | use thwiki_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_acto... | {"runningtime": "0.09", "resultsets": [{"headers": ["actor_id", "actor_name"], "rowcount": 3}]} | thwiki_p |
(source, destination) id pairs of all mainspace internal links and redirects | null | SELECT pl_from AS source_page, page_id AS target_page FROM pagelinks JOIN page ON pl_title=page_title
WHERE page_namespace=0 AND pl_namespace=0
UNION ALL
SELECT rd_from AS source_page, page_id AS target_page FROM redirect JOIN page on rd_title=page_title
WHERE rd_namespace=0; | {"connection_id": 31215264} | enwiki |
(source, destination) id pairs of all mainspace internal links and redirects (simple English) | null | SELECT pl_from AS source_page, page_id AS target_page FROM pagelinks JOIN page ON pl_title=page_title
WHERE page_namespace=0 AND pl_namespace=0
UNION ALL
SELECT rd_from AS source_page, page_id AS target_page FROM redirect JOIN page on rd_title=page_title
WHERE rd_namespace=0; | {"runningtime": "0.22", "resultsets": [{"rowcount": 90, "headers": ["page_title"]}]} | simplewiki |
(source, destination) id pairs of all mainspace redirections (French) | null | SELECT rd_from AS source_page, page_id AS target_page FROM redirect JOIN page on rd_title=page_title
WHERE rd_namespace=0; | {"runningtime": "0.07", "resultsets": [{"rowcount": 0, "headers": ["page_title"]}]} | frwiki |
(source, destination) id pairs of all mainspace internal links (French) | null | SELECT pl_from AS source_page, page_id AS target_page FROM pagelinks JOIN page ON pl_title=page_title
WHERE page_namespace=0 AND pl_namespace=0; | {"runningtime": "0.08", "resultsets": [{"headers": ["page_title"], "rowcount": 1}]} | frwiki |
(source, destination) id pairs of all mainspace redirections (Chinese) | null | SELECT rd_from AS source_page, page_id AS target_page FROM redirect JOIN page on rd_title=page_title
WHERE rd_namespace=0; | {"runningtime": "0.07", "resultsets": [{"rowcount": 4, "headers": ["page_title"]}]} | zhwiki |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.