title
stringlengths
1
212
description
stringlengths
1
4.39k
query
stringlengths
1
65.5k
extra_info
stringlengths
18
31.6k
wikidb
stringlengths
4
26
Urdu Wikipedia articles without labels at Wikidata
null
use wikidatawiki_p; select CONCAT("Q",ips_item_id), CONCAT('"',ips_site_page,'"') from wb_items_per_site i #join wb_terms on ips_item_id = term_entity_id and term_type = "label" where i.ips_site_id='urwiki' and not exists (select term_entity_id from wb_terms where i.ips_item_id = term_entity_id and term_type = "labe...
{"connection_id": 40473567}
null
Query request by Modern Sciences
null
use fawiki_p; select page_title, count(ll_title) as interwiki_count from page left join langlinks on page_id = ll_from where page_title like 'اهالی_%' and page_namespace = 14 -- Category and not exists ( select ll_title from langlinks where ll_from = page_id and ll_lang = 'en' ) gr...
{"runningtime": "0.27", "resultsets": [{"rowcount": 48, "headers": ["pl_from", "pl_namespace", "pl_title", "pl_from_namespace"]}]}
null
Proofread-YasodhaGanesh-அடிமனம்
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%") #...
{"runningtime": "0.41", "resultsets": [{"rowcount": 48, "headers": ["template", "article"]}]}
null
Proofread-YasodhaGanesh-அடிமனம்
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%") #...
{"runningtime": "0.14", "resultsets": [{"rowcount": 20, "headers": ["article", "template"]}]}
null
Category talk pages that are redirects in cswiki
null
use etwiki_p; select CONCAT("*https://et.wikipedia.org/wiki/kategooria_arutelu:",page_title, "?redirect=no") as url, CONCAT("*https://et.wikipedia.org/wiki/?redirect=no&curid=",page_id,"&action=delete") as dellink from page where page_is_redirect=1 and page_namespace=15 LIMIT 99;
{"runningtime": "0.21", "resultsets": [{"rowcount": 3, "headers": ["article", "template"]}]}
null
Redirects connected to Wikidata on plwiki
null
USE etwiki_p; SELECT page_title/*, pp_value*/ FROM (SELECT * FROM page WHERE page_is_redirect = 1) AS page INNER JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props ON pp_page = page_id WHERE page_namespace = 0 ORDER BY page_title, pp_value LIMIT 499;
{"runningtime": "0.16", "resultsets": [{"rowcount": 3, "headers": ["article", "template"]}]}
null
Query request by Modern Sciences
null
use fawiki_p; select page_title, count(ll_title) as interwiki_count from page left join langlinks on page_id = ll_from where page_title like 'اهالی_%' and page_namespace = 14 -- Category and not exists ( select ll_title from langlinks where ll_from = page_id and ll_lang = 'en' ) gr...
{"connection_id": 41140708}
null
Ruwiki templates with links to disambiguations
null
USE etwiki_p; SELECT CONCAT("{{tl|", page_title, "}}") as template_name, COUNT(pl_title) as number_of_links, CONCAT("[[", GROUP_CONCAT(pl_title ORDER BY pl_title ASC SEPARATOR "]], [["), "]]") as links FROM pagelinks JOIN page ON page_namespace = 10 AND page.page_id = pagelinks.pl_from WHERE pl_from_namespace = 10 AND ...
{"runningtime": "0.73", "resultsets": [{"rowcount": 4, "headers": ["article", "template"]}]}
null
Redirects obscuring page content
https://fr.wikipedia.org/wiki/Utilisateur:Framawiki/sql/redirections
USE frwiki_p; SELECT page_title, page_len FROM page WHERE page_is_redirect = 1 AND page_namespace = 0 HAVING page_len > 449 ORDER BY page_len DESC;
{"runningtime": "0.08", "resultsets": [{"rowcount": 0, "headers": ["article", "template"]}]}
null
Validated-TheEmployee-அடிமனம்
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%") ...
{"runningtime": "0.10", "resultsets": [{"rowcount": 0, "headers": ["template", "article"]}]}
null
Query request by Modern Sciences
null
use fawiki_p; select page_title, count(ll_title) as interwiki_count from page left join langlinks on page_id = ll_from where page_title like 'اهالی_%' and page_namespace = 14 -- Category and not exists ( select ll_title from langlinks where ll_from = page_id and ll_lang = 'en' ) gr...
{"runningtime": "0.33", "resultsets": [{"rowcount": 26, "headers": ["template", "article"]}]}
null
Query request by Modern Sciences
null
use fawiki_p; select page_title, count(ll_title) as interwiki_count from page left join langlinks on page_id = ll_from where page_title like 'اهالی_%' and page_namespace = 14 -- Category and not exists ( select ll_title from langlinks where ll_from = page_id and ll_lang = 'en' ) gr...
{"runningtime": "526.85", "resultsets": [{"rowcount": 96, "headers": ["user_name", "total_edits"]}]}
null
Ümbersuunamiste arutelulehed
Redirects with standalone talkpages
USE etwiki_p; SELECT CONCAT('* [[Arutelu:', talk.page_title, ']]') as talkpage, talk.page_len FROM page AS talk JOIN page AS art ON talk.page_title = art.page_title WHERE art.page_is_redirect = 1 AND art.page_namespace = 0 AND talk.page_namespace = 1 AND talk.page_is_redirect = 0 ORDER BY talk.page_len ASC LIMIT 2900...
{"runningtime": "0.19", "resultsets": [{"rowcount": 26, "headers": ["template", "article"]}]}
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.22", "resultsets": [{"rowcount": 3, "headers": ["article", "template"]}]}
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)');
{"runningtime": "0.07", "resultsets": []}
null
GA/FA and GAN/FAC linked from August 10
GA/FA and GAN/FAC linked from [[August 10]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"connection_id": 41962936}
null
Redirecting article with talkpage redirecting to somewhere else
null
use etwiki_p; select page_title from redirect r left join page p on rd_from = page_id where page_namespace = 0 and exists ( select null from redirect left join page on rd_from = page_id where page_namespace = 1 and page_title = p.page_title and rd_title <> r.rd_title ) LIMIT 499;
{"connection_id": 42080428}
null
Query request by Modern Sciences
null
use fawiki_p; select page_title, count(ll_title) as interwiki_count from page left join langlinks on page_id = ll_from where page_title like 'اهالی_%' and page_namespace = 14 -- Category and not exists ( select ll_title from langlinks where ll_from = page_id and ll_lang = 'en' ) gr...
{"runningtime": "29.26", "resultsets": [{"rowcount": 3, "headers": ["CONCAT('*{{\u03b1\u03c1\u03c7\u03b5\u03af\u03bf|', REPLACE(REPLACE(p.page_title, '\"', '**DOUBLEQUOTE**'), '_', ' '), '}}')"]}]}
null
মোট সম্পাদনার সংখ্যা
০২-০৯-২০১৮
USE bnwiki_p; SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount FROM user WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)" ORDER BY user_editcount DESC...
{"runningtime": "480.02", "resultsets": [{"rowcount": 23, "headers": ["user_name", "total_edits"]}]}
null
Proofread-Roopa-அதிகமான்நெடுமான்அஞ்சி
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%") #...
{"connection_id": 43807972}
null
Proofread-Divya-அதிகமான்நெடுமான்அஞ்சி
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%") #...
{"connection_id": 43928534}
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": "21.11", "resultsets": [{"rowcount": 21, "headers": ["concat(\"\u0642\u0627\u0644\u0628:\",page_title)"]}]}
null
total number of wikipedia ns 0 pages, excluding redirects
null
select count(distinct page_id) from page where page_namespace = 0 and page_is_redirect = FALSE
{"runningtime": "26.62", "resultsets": [{"rowcount": 45, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 11, "headers": ["linter_cat", "count(*)"]}, {"rowcount": 15, "headers": ["page_namespace", "count(*)"]}]}
null
redirect pages in namespace 0 with external links
null
select distinct page_id, concat('https://en.wikipedia.org/?redirect=no&curid=',page_id) as link from page where page_namespace = 0 and page_is_redirect = TRUE and page_id in ( select el_from from externallinks )
{"runningtime": "14.18", "resultsets": [{"rowcount": 42, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 9, "headers": ["linter_cat", "count(*)"]}, {"rowcount": 15, "headers": ["page_namespace", "count(*)"]}]}
null
Batch edit viewer
null
use frwiki_p; select page_title as title, comment_text, date(rev_timestamp) as date, rev_id from revision_userindex INNER JOIN comment on rev_comment_id = comment_id INNER JOIN page ON rev_page = page_id INNER JOIN actor_revision ON rev_actor = actor_id where actor_name = "Framawiki" and page_namespace = 0 a...
{"runningtime": "15.58", "resultsets": [{"rowcount": 41, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 9, "headers": ["linter_cat", "count(*)"]}, {"rowcount": 15, "headers": ["page_namespace", "count(*)"]}]}
null
proofread-Divya-திருமுருகாற்றுப்படை-மூலம்உரை
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%") #...
{"runningtime": "0.40", "resultsets": [{"rowcount": 33, "headers": ["template", "article"]}]}
null
proofread-Balabarathi-கப்பலோட்டியதமிழன்வ.உ.சி
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%") #...
{"runningtime": "0.68", "resultsets": [{"rowcount": 24, "headers": ["article", "template"]}]}
null
Proofread-Sasi-மிஸ்டர்விக்கிரமாதித்தன்கதைகள்
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%") #...
{"runningtime": "0.12", "resultsets": [{"rowcount": 4, "headers": ["article", "template"]}]}
null
Proofread-TheEmployee-எனதுநண்பர்கள்
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%") #...
{"runningtime": "0.13", "resultsets": [{"rowcount": 0, "headers": ["wbpt_id", "wbpt_property_id", "wbpt_term_in_lang_id"]}]}
null
Proofread-TheEmployee-ஏழாவதுவாசல்
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%") #...
{"runningtime": "0.13", "resultsets": [{"rowcount": 0, "headers": ["wby_id", "wby_name"]}]}
null
Query 2
null
use fawiki_p; set @row_number = 0; set @row_number_2 = 0; select lead.* from ( select (@row_number:=@row_number + 1) as rownumber, ipb_address from ipblocks where ipb_by_actor = 1789 -- HujiBot order by ipb_range_start ) as ipb left join ( select (@row_number_2:=@row_number_2 + 1) as rownumb...
{"connection_id": 44986900}
null
Query 1
null
use fawiki_p; set @row_number = 0; set @row_number_2 = 0; select ipb.* from ( select (@row_number:=@row_number + 1) as rownumber, ipb_address from ipblocks where ipb_by_actor = 1789 -- HujiBot order by ipb_range_start ) as ipb left join ( select (@row_number_2:=@row_number_2 + 1) as rownumbe...
{"connection_id": 45018553}
null
Query 3
null
use fawiki_p; set @row_number = 0; set @row_number_2 = 0; select ipb.ipb_address, ipb.rownumber, lead.ipb_address, lead.rownumber from ( select (@row_number:=@row_number + 1) as rownumber, ipb_address from ipblocks where ipb_by_actor = 1789 -- HujiBot order by ipb_range_start ) as ipb left join ...
{"runningtime": "0.24", "resultsets": [{"rowcount": 1, "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"]}]}
null
count of ncbi externallinks by path for pages in W
null
-- count of ncbi externallinks by path for pages in W SET @hostname_regex = '^([^:/?#]+:)?(\/+([^/?#:]*))?([^\?#]*)\?.*'; SELECT REGEXP_SUBSTR( REGEXP_REPLACE( LOWER(CONVERT(el_to USING utf8)), @hostname_regex, '\\4' ), '(/[^/]+)' ) AS path, COUNT(DISTINCT el_from, el_to) AS num_lin...
{"runningtime": "0.38", "resultsets": [{"rowcount": 50, "headers": ["rev_text_id"]}]}
null
Querying af_pattern
null
use enwiki_p; select af_id, af_pattern from abuse_filter where af_pattern like '%set_var%';
{"connection_id": 46604717}
null
GA/FA and GAN/FAC linked from August 11
GA/FA and GAN/FAC linked from [[August 11]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"runningtime": "118.39", "resultsets": [{"rowcount": 73, "headers": ["CONCAT('# [[:File:', page_title, ']]')"]}]}
null
Statistics of editing MediaWiki JS/CSS in ruwiki per year (+2019)
null
USE ruwiki_p; SELECT FLOOR(rev_timestamp / 10000000000) as edit_year, count(*) as edit_count FROM revision JOIN page ON page_id = rev_page WHERE page_namespace = 8 AND (page_title LIKE '%.css' OR page_title LIKE '%.js') GROUP BY edit_year ORDER BY edit_year DESC
{"connection_id": 47954880}
null
Statistics of editing MediaWiki JS/CSS in ruwiki (1/2 2019)
null
USE ruwiki_p; SELECT actor_name, COUNT(rev_actor), page_title, -- и где, rev_timestamp -- и когда, -- если много - отображается случайная FROM revision JOIN page ON page_id = rev_page JOIN actor ON actor_id = rev_actor WHERE rev_timestamp >= "20190101" AND rev_timestamp < "20190801" AND ...
{"runningtime": "0.14", "resultsets": [{"rowcount": 0, "headers": ["iw_prefix", "iw_url", "iw_local", "iw_trans", "iw_api", "iw_wikiid"]}]}
null
Proofread-Arun-தாவிப்பாயும்தங்கக்குதிரை
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%") #...
{"runningtime": "0.09", "resultsets": [{"rowcount": 0, "headers": ["iw_prefix", "iw_url", "iw_local", "iw_trans", "iw_api", "iw_wikiid"]}]}
null
Redirecting article with non-redirecting talkpage
null
use etwiki_p; select CONCAT ('*[[arutelu:',page_title,']]') from page AS p where page_namespace = 0 and page_is_redirect = 1 and exists ( select null from page where page_namespace = 1 and page_title = p.page_title and page_is_redirect = 0 and page_len >= 1 ) LIMIT 4999;
{"runningtime": "785.47", "resultsets": [{"rowcount": 418, "headers": ["pl_title", "pl_from_namespace"]}]}
null
NARA catalog external links
null
USE commonswiki_p; SELECT el_to FROM externallinks WHERE el_index LIKE '%gov.archives.catalog.%'
{"connection_id": 50062093}
null
NARA catalog links
null
USE commonswiki_p; SELECT el_to FROM externallinks WHERE el_index LIKE 'https://gov.archives.catalog.%'
{"connection_id": 50063242}
null
Non-Blocked "88" users
null
SELECT user_name, user_editcount, user_registration FROM user WHERE user_name LIKE "%88" OR user_name LIKE "88%" AND user_id NOT IN (SELECT ipb_user FROM ipblocks WHERE ipb_user = user_id) ORDER BY user_editco...
{"connection_id": 50734718}
null
How many usernames contain 88?
null
select count(user_name) from user where user_name like "%88%" order by user_editcount desc;
{"runningtime": "13.63", "resultsets": [{"rowcount": 1, "headers": ["@min := MIN(rev_id)", "@max := MAX(rev_id)"]}, {"rowcount": 0, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "...
null
GA/FA and GAN/FAC linked from August 12
GA/FA and GAN/FAC linked from [[August 12]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"connection_id": 51222514}
null
Non-Blocked "88" users
Usernames starting or ending with 88 not currently blocked on enwiki. For [[WT:Requests for adminship/AmericanAir88]].
SELECT user_name, user_editcount, user_registration FROM user WHERE (user_name LIKE "%88" OR user_name LIKE "88%") AND user_id NOT IN (SELECT ipb_user FROM ipblocks WHERE ipb_user = user_id) ORDER BY user_editc...
{"runningtime": "1.81", "resultsets": [{"rowcount": 25, "headers": ["Day", "NbUploads"]}]}
null
Mobile edits per month on urwiki
null
USE urwiki_p; SELECT LEFT(rev_timestamp, 6) AS month, COUNT(*) AS counting FROM revision_userindex INNER JOIN change_tag_def ON ctd_id = rev_id WHERE ctd_name LIKE '%mobile%' GROUP BY month;
{"connection_id": 51508743}
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...
{"connection_id": 51555629}
null
Number of photos by user
null
USE commonswiki_p; SELECT COUNT(rev_page) FROM revision JOIN page ON page.page_id = revision.rev_page JOIN user ON user.user_id = revision.rev_user WHERE rev_timestamp >= 20160101000000 /* v roce 2015 */ AND user_name="Packa" AND rev_parent_id=0 /* nově založené, tj. nemělo minulou revizi */ AND ...
{"runningtime": "2.39", "resultsets": [{"rowcount": 0, "headers": ["ipb_address", "actor_name", "comment_text"]}]}
null
اردو ویکی صارفین بلحاظ بائٹس (مرکزی نام فضا)
null
USE urwiki_p; SELECT user_id, CONCAT("[[user:",user_name,"|",user_name,"]]") AS user_name, SUM(CAST(rev.rev_len as signed)-CAST(parent.rev_len as signed)) AS byte_count, COUNT(rev.rev_id) as edit_count FROM user JOIN revision rev ON user_id = rev.rev_actor JOIN revision parent ON rev.rev_parent_id = parent.rev_id JOIN...
{"runningtime": "1.03", "resultsets": [{"rowcount": 1, "headers": ["count(*)"]}]}
null
Non-Blocked "88" users
null
SELECT user_name, user_editcount, user_registration FROM user WHERE user_name LIKE "%1488" OR user_name LIKE "1488%" AND user_id NOT IN (SELECT ipb_user FROM ipblocks WHERE ipb_user = user_id) ORDER BY user_ed...
{"runningtime": "0.08", "resultsets": [{"rowcount": 0, "headers": ["number", "skin", "editorBucket", "activeBucket"]}]}
null
GA/FA and GAN/FAC linked from August 13
GA/FA and GAN/FAC linked from [[August 13]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"runningtime": "0.12", "resultsets": [{"rowcount": 1, "headers": ["COUNT(*)"]}]}
null
Query 3
null
use fawiki_p; set @row_number = 0; set @row_number_2 = 0; select ipb.*, lead.* from ( select (@row_number:=@row_number + 1) as rownumber, ipb_address from ipblocks where ipb_by_actor = 1789 -- HujiBot order by ipb_range_start ) as ipb left join ( select (@row_number_2:=@row_number_2 + 1) a...
{"connection_id": 52884333}
null
Query request by Modern Sciences
null
use fawiki_p; select page_title, count(ll_title) as interwiki_count from page left join langlinks on page_id = ll_from where page_title like 'اهالی_%' and page_namespace = 14 -- Category and not exists ( select ll_title from langlinks where ll_from = page_id and ll_lang = 'en' ) gr...
{"runningtime": "0.16", "resultsets": [{"rowcount": 27, "headers": ["pp_propname"]}]}
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.06", "resultsets": []}
null
Empty namespaces (except 2,3)
null
USE etwiki_p; SELECT CONCAT('*[[kasutaja:',page_title,']]'), page_touched FROM page #WHERE page_namespace = 14 #or replace 0 with 1, 10 (for templates), 11, 14 (for categories), 15 #WHERE page_len = 0 WHERE page_namespace = 2 AND page_title NOT RLIKE "[Ll]iivakast" #AND page_title NOT LIKE "%/.css" AND page_title NOT L...
{"runningtime": "1.37", "resultsets": [{"rowcount": 0, "headers": ["concat('Port\u00e1l:', replace(page_title, '_', ' '))"]}]}
null
Photos and Users in Category Mediagrant 2019
null
USE commonswiki_p; SELECT actor_name, count(rev_page) FROM revision JOIN page ON page_id = rev_page JOIN actor ON actor_id = rev_actor JOIN categorylinks ON cl_from = page_id WHERE rev_parent_id=0 /* nově založené, tj. nemělo minulou revizi */ AND page_namespace = 6 /* namespace 6 jsou File: */ AND ...
{"connection_id": 53271530}
null
Number of photos by users
null
USE commonswiki_p; SELECT actor_name, COUNT(rev_page) FROM revision JOIN page ON page.page_id = revision.rev_page JOIN actor ON actor.actor_id = revision.rev_actor WHERE rev_timestamp >= 20180916180000 /* od konce FWS 2018 */ AND rev_timestamp < 20200101000000 /* do začátku FWS 2019 */ AND actor_name...
{"runningtime": "25.81", "resultsets": [{"rowcount": 4, "headers": ["totale", "page_count_error", "weight"]}, {"rowcount": 300, "headers": ["page_id", "page_title", "linter_params", "totale"]}]}
null
GA/FA and GAN/FAC linked from August 14
GA/FA and GAN/FAC linked from [[August 14]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"runningtime": "9.82", "resultsets": [{"rowcount": 2529, "headers": ["pl_from", "pl_title"]}]}
null
Indef-blocked users with links on their talk page
null
SELECT ipb_address, page_touched, comment_text AS reason, group_concat(el_to SEPARATOR '\n') AS links FROM ipblocks JOIN comment_ipblocks ON(ipb_reason_id=comment_id) JOIN page ON(page_namespace=3 AND page_title=REPLACE(ipb_address, ' ', '_')) JOIN externallinks ON(page_id=el_from) WHERE -- Indef-blocked user...
{"runningtime": "1558.69", "resultsets": [{"rowcount": 97337, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "pa...
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...
{"connection_id": 54099810}
null
Amount of Commons files with Structured Data (= MediaInfo slot)
null
USE commonswiki_p; SELECT COUNT(DISTINCT rev_page) FROM slots INNER JOIN slot_roles ON role_id = slot_role_id INNER JOIN revision ON rev_id = slot_revision_id WHERE role_name = 'mediainfo';
{"runningtime": "594.21", "resultsets": [{"rowcount": 1, "headers": ["count(*)"]}]}
null
NARA catalog links
null
USE commonswiki_p; SELECT el_to FROM externallinks WHERE el_index LIKE 'https://gov.archives.catalog.%'
{"connection_id": 57549736}
null
GA/FA and GAN/FAC linked from August 15
GA/FA and GAN/FAC linked from [[August 15]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"connection_id": 57550499}
null
christianity and... titles
null
SELECT page_title FROM page WHERE page_namespace=0 AND page_is_redirect=0 AND (page_title LIKE '%_and_Christianity' OR page_title LIKE 'Christianity_and_%');
{"connection_id": 57711094}
null
GA/FA and GAN/FAC linked from August 16
GA/FA and GAN/FAC linked from [[August 16]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"runningtime": "12.00", "resultsets": [{"rowcount": 10, "headers": ["totale", "page_count_error", "weight"]}, {"rowcount": 349, "headers": ["page_id", "page_title", "totale", "linter_params", "ptotale"]}]}
null
How many changes per day in English Wikipedia?
null
SELECT COUNT(*)/30 FROM recentchanges WHERE rc_type IN (0, 1);
{"runningtime": "496.20", "resultsets": [{"rowcount": 16, "headers": ["page_id", "page_title"]}]}
null
Raksti ar visvairāk saitēm no nozīmju atdalīšanas lapām
See also https://quarry.wmflabs.org/query/2951
select now(); USE etwiki_p; SELECT p2.page_title, COUNT(p.page_title) FROM page p INNER JOIN categorylinks c ON p.page_id = c.cl_from AND c.cl_to = 'Täpsustusleheküljed' # INNER skips pages whose link COUNT IS zero. CHANGE INNER TO LEFT ON the line below IF you also want TO include those: INNER JOIN pagelinks pl ON p.p...
{"runningtime": "9.78", "resultsets": [{"rowcount": 15, "headers": ["page_id", "page_title"]}, {"rowcount": 1967, "headers": ["page_id", "page_title"]}]}
null
Most linked disambiguations (etwiki)
From https://quarry.wmflabs.org/query/1819 [thanks to Matěj Suchánek]
select now(); USE etwiki_p; SELECT disambigs.page_title, COUNT(DISTINCT links.pl_from) AS direct_links, COUNT(DISTINCT redirects.page_id) AS redirects, COUNT(DISTINCT links.pl_from) + COUNT(DISTINCT links_to_redirects.pl_from) AS all_backlinks FROM (SELECT * FROM page_props WHERE pp_propname = 'disambiguation') AS d...
{"connection_id": 58923429}
null
(temporary query for the moment)
(Ripped from wdvd's code and modified a bit.) Thanks, Adam, for further modifications!
USE wikidatawiki_p; SELECT rc_id, rc_timestamp, actor_name, rc_title, comment_text FROM recentchanges LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id LEFT JOIN actor on actor.actor_id = recentchanges.rc_actor WHERE ( actor_name in ('Atudu', 'Bodhisattwa', 'Marajozkee', 'Cherishsantosh', 'Raju Ja...
{"connection_id": 59245679}
null
Find most recent changes on Wikidata to stuff in Bengali
(Ripped from wdvd's code and modified a bit.) Thanks, Adam, for further modifications!
USE wikidatawiki_p; SELECT rc_id, rc_timestamp, actor_name, rc_title, comment_text FROM recentchanges LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id LEFT JOIN actor on actor.actor_id = recentchanges.rc_actor WHERE ( comment_text REGEXP 'wbsetdescription-(add|set|remove)...(es)' OR comment_text...
{"runningtime": "17.36", "resultsets": [{"rowcount": 41, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 9, "headers": ["linter_cat", "count(*)"]}, {"rowcount": 15, "headers": ["page_namespace", "count(*)"]}]}
null
Find most recent changes on Wikidata to stuff in Bengali
(Ripped from wdvd's code and modified a bit.) Thanks, Adam, for further modifications!
USE wikidatawiki_p; SELECT rc_id, rc_timestamp, actor_name, rc_title, comment_text FROM recentchanges LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id LEFT JOIN actor on actor.actor_id = recentchanges.rc_actor WHERE ( comment_text REGEXP 'wbsetdescription-(add|set|remove)...(es)' OR comment_text...
{"connection_id": 59757744}
null
christianity and... titles
This is a find peace of wikipedia
SELECT page_title FROM page WHERE page_namespace=0 AND page_is_redirect=0 AND (page_title LIKE '%_and_peace' OR page_title LIKE 'peace_and_%');
{"runningtime": "1165.43", "resultsets": [{"rowcount": 97093, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "pa...
null
Get number of thanks received on Wikipedia
https://de.wikipedia.org/w/index.php?title=Wikipedia:Fragen_zur_Wikipedia&oldid=191314118#Wie_viele_Danke_habe_ich_denn_bekommen
use dewiki_p; select * from logging_logindex where log_type="thanks";
{"runningtime": "611.45", "resultsets": [{"rowcount": 88193, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "pag...
null
How many changes per day in English Wikipedia?
null
SELECT COUNT(*)/30 FROM recentchanges WHERE rc_type IN (0, 1);
{"runningtime": "560.63", "resultsets": [{"rowcount": 84267, "headers": ["rev_id", "rev_comment_id", "rev_timestamp", "rev_minor_edit", "rev_parent_id", "rev_len", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "pag...
null
People without defaultsort
352594 - Dalībnieks:Edgars2007/Cilvēku raksti
use etwiki_p; select p.page_title, pp.pp_value from page p left join page_props pp on p.page_id = pp.pp_page and pp.pp_propname="defaultsort" where p.page_namespace=0 and pp.pp_value is not null #and page_title in (select pl_title from pagelinks pl # where pl.pl_from=352594 and pl.pl_namespace=0)
{"runningtime": "557.60", "resultsets": [{"rowcount": 1, "headers": ["count(*)"]}]}
null
Artikel, die von WP:Artikelwerkstatt/Friedjof/ in den ANR verschoben wurden
null
USE dewiki_p; SELECT log_timestamp, actor_name, log_title, log_params, comment_text FROM logging, comment, actor WHERE log_comment_id = comment_id AND log_actor = actor_id AND (log_action = 'move' OR log_action='move_redir') AND log_title LIKE 'Artikelwerkstatt/Friedjof/%' AND log_namespace=4 ORDER by log...
{"runningtime": "22.20", "resultsets": [{"rowcount": 0, "headers": ["cat1", "cat2"]}]}
null
filmas mis
null
select now(); select p.page_title, count(l.ll_lang) as langs, (select pp.pp_value from page_props pp where pp.pp_page=ll_from and pp_propname='wikibase_item') as wd, (SELECT GROUP_CONCAT(cl_to SEPARATOR '|') FROM categorylinks cl where cl.cl_from=p.page_id and cl_to rlike "\\d\\d\\d\\d.+") as cats from langlinks...
{"runningtime": "0.08", "resultsets": [{"rowcount": 0, "headers": ["user_name", "ug_group"]}]}
null
Find most recent changes on Wikidata to stuff in Arabic
(Ripped from wdvd's code and modified a bit.) Thanks, Adam, for further modifications!
USE wikidatawiki_p; SELECT rc_id, rc_timestamp, actor_name, rc_title, comment_text FROM recentchanges LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id LEFT JOIN actor on actor.actor_id = recentchanges.rc_actor WHERE ( comment_text REGEXP 'wbsetdescription-(add|set|remove)...(ar)' OR comment_text...
{"runningtime": "0.68", "resultsets": [{"rowcount": 100, "headers": ["user_name", "ug_group"]}]}
null
GA/FA and GAN/FAC linked from August 17
GA/FA and GAN/FAC linked from [[August 17]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"connection_id": 105850406}
null
Articles, which don't have P31/P279 at Wikidata (arwiki)
null
use arwiki_p; SELECT p.page_title FROM page p, page_props, wikidatawiki_p.page wdp LEFT JOIN wikidatawiki_p.pagelinks wdpl ON wdpl.pl_from = wdp.page_id AND (wdpl.pl_title = 'P31' or wdpl.pl_title = 'P279') AND wdpl.pl_namespace = 120 WHERE p.page_namespace = 0 AND p.page_title RLIKE "^\\d\\d\\d\\d_في" AND pp_pa...
{"connection_id": 106329489}
null
Redirects to pages in specific category
For [[w:WP:RAQ#Rcat templates and their redirects]] circa 15 Aug 2019. Does not include redirects to pages in subcategories of the named category, only to the subcategory pages themselves.
SELECT CONCAT('[[', CASE t.page_namespace WHEN 10 THEN 'Template:' WHEN 14 THEN ':Category:' ELSE CONCAT('{{ns:', t.page_namespace, '}}:') END, t.page_title, ']]') AS 'redir_to', CONCAT('[[', CASE r.page_namespace ...
{"runningtime": "12.16", "resultsets": [{"rowcount": 43, "headers": ["page_title", "rd_namespace", "rd_title", "pagelinks"]}, {"rowcount": 0, "headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest",...
null
Redirects to pages in specific category tree
For [[w:WP:RAQ#Rcat templates and their redirects]] circa 15 Aug 2019. This includes pages in (a manually-constricted list of) subcategories of [[Category:Redirect templates]] as well. There's got to be a better way to do it.
SELECT DISTINCT CONCAT('[[', CASE t.page_namespace WHEN 10 THEN 'Template:' WHEN 14 THEN ':Category:' WHEN 828 THEN 'Module:' ELSE CONCAT('{{ns:', t.page_namespace, '}}:') ...
{"runningtime": "290.08", "resultsets": [{"rowcount": 3, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount": 152, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount": ...
null
NARA catalog links
null
USE commonswiki_p; SELECT * FROM page limit 100
{"runningtime": "0.07", "resultsets": [{"rowcount": 0, "headers": ["Title", "user", "comment"]}]}
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": "6.17", "resultsets": [{"rowcount": 42, "headers": ["Title", "user", "comment"]}]}
null
Last revision timestamp of deleted articles (Aug. 15th, 2019)
null
SELECT ar_namespace, ar_title, MAX(ar_timestamp) AS last_revision FROM archive WHERE ar_timestamp > "20190815" GROUP BY 1, 2;
{"runningtime": "9.05", "resultsets": [{"rowcount": 498, "headers": ["Title", "user", "comment"]}]}
null
Deletion log (Aug. 15th, 2019)
null
SELECT log_action, log_namespace, log_title, log_timestamp FROM logging WHERE log_type = "delete" AND log_action LIKE "delete%" AND log_timestamp > "20190815" AND log_namespace = 0;
{"runningtime": "8.10", "resultsets": [{"rowcount": 29, "headers": ["Day", "NbUploads"]}]}
null
christianity and... titles
This is a find peace of wikipedia
SELECT count (*) FROM * WHERE page_namespace=0 AND page_is_redirect=0 AND (page_title LIKE '%_and_peace' OR page_title LIKE 'peace_and_%');
{"runningtime": "9.52", "resultsets": [{"rowcount": 79, "headers": ["\u0639\u062f\u062f \u0627\u0644\u0635\u0641\u062d\u0627\u062a", "\u0627\u0644\u0639\u0646\u0648\u0627\u0646"]}]}
null
How many changes per day in English Wikipedia?
null
SELECT COUNT(*)/30 FROM recentchanges WHERE rc_type IN (0, 1);
{"runningtime": "5.84", "resultsets": [{"rowcount": 69, "headers": ["\u0639\u062f\u062f \u0627\u0644\u0635\u0641\u062d\u0627\u062a", "\u0627\u0644\u0639\u0646\u0648\u0627\u0646"]}]}
null
صفحات المساهمين في المشاريع
null
USE arwiki_p; SELECT CONCAT('# [[', page_title, ']]') AS page_title FROM page WHERE page_namespace = 4 and page_is_redirect = 0 AND page_title REGEXP 'مشروع_ويكي_(.*)/المساهمون' #AND page_title NOT LIKE '%/%'
{"connection_id": 10255521}
null
GA/FA and GAN/FAC linked from August 18
GA/FA and GAN/FAC linked from [[August 18]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"resultsets": [{"rowcount": 29, "headers": ["Day", "NbUploads"]}], "runningtime": "1.33"}
null
Retrieving all images in a Wikipedia page
null
use commonswiki_p; select * from globalimagelinks where gil_wiki ='kowiki' and gil_page_title='Felis_silvestris_catus' and gil_page_namespace_id=0 limit 100
{"resultsets": [{"rowcount": 0, "headers": ["page_id"]}], "runningtime": "14.17"}
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": [{"rowcount": 7, "headers": ["rd_from", "rd_namespace", "rd_title", "rd_interwiki", "rd_fragment", "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...
null
GA/FA and GAN/FAC linked from August 19
GA/FA and GAN/FAC linked from [[August 19]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"resultsets": [{"rowcount": 591, "headers": ["page_title"]}], "runningtime": "9.30"}
null
Entities affected by T230588
null
USE `wikidatawiki_p`; SELECT DISTINCT `rc_title` FROM `recentchanges` WHERE '20190815212500' <= `rc_timestamp` -- https://tools.wmflabs.org/sal/log/AWyXLuT4OwpQ-3PkreuM AND `rc_timestamp` <= '20190815234000' -- https://tools.wmflabs.org/sal/log/AWyXoxrqOwpQ-3Pkrk8A AND `rc_namespace` IN (0, 120, 146) ORDER BY `rc_titl...
{"connection_id": 60461877}
null
Authors of good articles
null
use cswiki_p; select page_title, actor_name from revision join page on page_id=rev_page join actor on rev_actor=actor_id where rev_parent_id=0 and page_namespace=0 and rev_page in (select cl_from from categorylinks where cl_to="Wikipedie:Dobré_články");
{"resultsets": [{"rowcount": 100, "headers": ["rd_from", "rd_namespace", "rd_title", "rd_interwiki", "rd_fragment"]}], "runningtime": "0.42"}
null
Authors of featured articles
null
use cswiki_p; select page_title, actor_name from revision join page on page_id=rev_page join actor on rev_actor=actor_id where rev_parent_id=0 and page_namespace=0 and rev_page in (select cl_from from categorylinks where cl_to="Wikipedie:Nejlepší_články");
{"resultsets": [{"rowcount": 1, "headers": ["page_title"]}], "runningtime": "52.04"}
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...
{"connection_id": 10539889}
null
Validated-DeepaArul-ஆறுமுகமானபொருள்
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": 0, "headers": ["CONCAT('# [[:File:', page_title, ']]')"]}], "runningtime": "6.39"}
null
GA/FA and GAN/FAC linked from August 20
GA/FA and GAN/FAC linked from [[August 20]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"resultsets": [{"rowcount": 433, "headers": ["CONCAT('# [[', page_title, ']]')"]}], "runningtime": "2.91"}
null