title stringlengths 1 212 | description stringlengths 1 4.39k ⌀ | query stringlengths 1 65.5k ⌀ | extra_info stringlengths 18 31.6k | wikidb stringlengths 4 26 ⌀ |
|---|---|---|---|---|
Indef sysop protected templates | Generates a fully-functional wikitable that lists sysop-level indefinitely protected templates. | SELECT
CONCAT ("[[Template:",page_title,"]]") # wikitable formatting
AS 'Template' FROM page
JOIN page_restrictions ON page_id = pr_page
WHERE pr_type = 'edit'
AND pr_level = 'sysop'
AND page_namespace = 10
AND page_is_redirect = 0
AND pr_expiry = 'infinity' | {"runningtime": "8.83", "resultsets": [{"rowcount": 81, "headers": ["rev_user_text", "recent_user_editcount"]}]} | null |
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী | ২৮ জানু ২০২০ | USE bnwiki_p;
SELECT
CONCAT("[[ব্যবহারকারী:",actor_name,"|",actor_name,"]]") AS ব্যবহারকারী_নাম,
COUNT(rev_id) AS মোট_নিবন্ধ
FROM actor INNER JOIN revision
ON revision.rev_actor = actor.actor_id
JOIN page
ON page.page_id = revision.rev_page
WHERE page_is_redirect = 0
AND rev_parent_id = 0
AND page_namespace = 0
AND rev... | {"runningtime": "6.98", "resultsets": [{"rowcount": 7, "headers": ["linter_cat", "count(*)"]}]} | 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": "1.37", "resultsets": [{"rowcount": 7, "headers": ["linter_cat", "count(*)"]}]} | null |
Recently edited pages with undid edits and IP edits | null | USE fawiki_p;
SELECT
rc_namespace,
rc_title,
SUM(
CASE
WHEN ct_tag_id = 10 THEN 1
ELSE 0
END
) AS undos,
SUM(
CASE
WHEN actor_user IS NULL THEN 1
ELSE 0
END
) AS ips
FROM recentchanges
JOIN actor_revision
ON rc_actor = actor_id
LEFT JOIN change_tag
ON ct_rc_id = r... | {"runningtime": "2.50", "resultsets": [{"rowcount": 15, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 7, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 7, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}]} | null |
Finding all moves to Draft: (2020) | null | SELECT log.log_timestamp AS `time`, act.actor_name AS `user`, log.log_title AS `page`, log.log_params AS `parameters`, cmt.comment_text AS `comment`
FROM logging AS log
LEFT JOIN actor AS act ON log.log_actor = act.actor_id
LEFT JOIN comment AS cmt ON log.log_comment_id = cmt.comment_id
WHERE log.log_type = 'move'... | {"runningtime": "1.03", "resultsets": [{"rowcount": 1, "headers": ["cat_pages"]}, {"rowcount": 1, "headers": ["cat_pages"]}, {"rowcount": 1, "headers": ["cat_pages"]}, {"rowcount": 1, "headers": ["cat_pages"]}, {"rowcount": 1, "headers": ["cat_pages"]}, {"rowcount": 1, "headers": ["cat_pages"]}, {"rowcount": 1, "header... | null |
Proofread-Fathima kaniyam-இராணி_மங்கம்மாள்_(நாவல்) | 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.82", "resultsets": [{"rowcount": 11, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 6, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 5, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}]} | null |
Proofread-Fathima kaniyam-நெருப்பு_மனிதன்_நெல்சன்_மண்டேலா_(மொழிபெயர்ப்பு) | 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": "172.24", "resultsets": [{"rowcount": 21, "headers": ["files"]}]} | null |
Proofread-Fathima kaniyam-ஹிராடெடஸின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | 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.11", "resultsets": [{"rowcount": 10, "headers": ["cat_title", "cat_pages"]}]} | 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.12", "resultsets": [{"rowcount": 10, "headers": ["cat_title", "cat_pages"]}]} | 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.12", "resultsets": [{"rowcount": 10, "headers": ["cat_title", "cat_pages"]}]} | 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.12", "resultsets": [{"rowcount": 10, "headers": ["cat_title", "cat_pages"]}]} | null |
Proofread-Arun-குழந்தைக்_கவிஞரின்_கதைப்_பாடல்கள்-தொகுதி-1 | 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": 10, "headers": ["cat_title", "cat_pages"]}]} | null |
Proofread-Fathima kaniyam-நீங்களும்_இளமையாக_வாழலாம் | 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": 10, "headers": ["cat_title", "cat_pages"]}]} | null |
Proofread-Athithya-இந்தியனும்-ஹிட்லரும் | 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.15", "resultsets": [{"rowcount": 10, "headers": ["cat_title", "cat_pages"]}]} | null |
Proofread-Athithya-இதய_உணர்ச்சி | 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.11", "resultsets": [{"rowcount": 10, "headers": ["cat_title", "cat_pages"]}]} | null |
trwiki:Pages in Vikiproje Bilim tarihi and Vikiproje Psikoloji | null | USE trwiki_p;
SELECT DISTINCT CONCAT("# [[",REPLACE(article.page_title,"_"," "),"]]")
FROM page talk
INNER JOIN page article ON
talk.page_title = article.page_title
INNER JOIN categorylinks ON
cl_from = talk.page_id
WHERE
talk.page_namespace = 1 AND
article.page_namespace = 0 AND
cl_to LIKE "Vikiproje_Psikolo... | {"runningtime": "0.48", "resultsets": [{"rowcount": 83, "headers": ["cat_title", "cat_pages-cat_subcats"]}]} | null |
trwiki:Unexisting links in articles within the scope of Vikiproje Bilim tarihi and Vikiproje Psikoloji | null | USE trwiki_p;
SELECT pl_title, COUNT(pl_title) AS counting
FROM pagelinks, page_assessments
WHERE pl_from = pa_page_id
AND pa_project_id=78
AND pl_from_namespace = 0
AND pl_namespace = 0
AND pl_from IN (
SELECT pa_page_id
FROM pagelinks, page_assessments
WHERE pl_from = pa_page_id
AND pa_project_id=335
AND pl... | {"runningtime": "0.32", "resultsets": [{"rowcount": 40, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Essentially the Special:LongPages query for bnwikisource (ns0 only) | null | use bnwikisource_p;
SELECT
page_namespace,
page_title,
page_len
FROM page
WHERE page_namespace = 0
ORDER BY page_len DESC
LIMIT 5000; | {"runningtime": "1.28", "resultsets": [{"rowcount": 180, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
List of DPLA assets in Wikimedia Commons | null | USE commonswiki_p;
SELECT
page_id,
CONCAT("File:",page_title) AS Page,
img_sha1
FROM image
JOIN page
ON page_namespace = 6
JOIN categorylinks
ON cl_from = page_id
AND cl_type = "file"
AND cl_to = "Media_contributed_by_the_Digital_Public_Library_of_America"; | {"runningtime": "0.67", "resultsets": [{"rowcount": 100, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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": "0.23", "resultsets": [{"rowcount": 16, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Seiten in Wikipedia:WikiProjekt Österreich/AM/ ohne Wikidata-Eintrag | null | USE dewiki_p;
SELECT page_title
FROM page
WHERE page_namespace = 4
AND page_title LIKE 'WikiProjekt_Österreich/AM/%'
AND NOT EXISTS (SELECT 1
FROM page_props
WHERE pp_propname = 'wikibase_item'
AND pp_page = page_id
)
ORDER BY p... | {"runningtime": "0.35", "resultsets": [{"rowcount": 33, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Actor count | null | select count(*) from actor; | {"runningtime": "0.47", "resultsets": [{"rowcount": 21, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Actor count | null | select count(*) from actor; | {"runningtime": "0.49", "resultsets": [{"rowcount": 45, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Wikimedia Commons media with Serbian 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": "0.46", "resultsets": [{"rowcount": 40, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Longest srwiki's page titles | null | use srwiki_p;
select page_namespace, replace(page_title, "_", " "), length(page_title) from page where page_is_redirect=0 and length(page_title)>200 order by length(page_title) desc; | {"runningtime": "0.56", "resultsets": [{"rowcount": 110, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
srwiki:Most deleted articles by title | null | USE srwiki_p;
SELECT CONCAT('*[[',log_title,']]') AS title, COUNT(log_id) AS deletions
FROM logging
WHERE log_action='delete' AND log_namespace = 0
GROUP BY title
ORDER BY deletions DESC
LIMIT 100 | {"runningtime": "0.37", "resultsets": [{"rowcount": 25, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Most active users by edits on srwiki from start of year until today | null | USE srwiki_p;
SELECT
CONCAT("#") AS number, actor_user,
CONCAT("[[user:",actor_name,"|",actor_name,"]]") AS rev_user_text,
COUNT(actor_id) AS recent_user_editcount/*,
user_editcount*/
FROM revision
JOIN actor ON rev_actor=actor_id
JOIN page ON rev_page=page_id
WHERE page_namespace = 0
AND actor_user IS NOT NULL
AND r... | {"runningtime": "0.89", "resultsets": [{"rowcount": 180, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Files hiding Commons files (sr) | null | select a.img_name from srwiki_p.image a
join commonswiki_p.image b on b.img_name = a.img_name and b.img_sha1 != a.img_sha1 | {"runningtime": "0.34", "resultsets": [{"rowcount": 15, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Talk pages for deleted pages on srwiki | null | use arwiki_p;
select DISTINCT concat ("نقاش:",page_title) from page
inner join archive
on page.page_title = archive.ar_title
where page.page_namespace = 1 and archive.ar_namespace= 0 and page.page_title NOT LIKE '%/%'
and not page.page_title in (select page_title from page where page_namespace=0) limit 50; | {"runningtime": "0.28", "resultsets": [{"rowcount": 30, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
IP user pages on srwiki | null | USE srwiki_p;
SELECT CONCAT('Корисник:',page_title) FROM page
WHERE page_namespace = 2
AND page_title LIKE '%.%.%.%'
AND page_title REGEXP '^(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.(?:25[0-5]|2[0-4]... | {"runningtime": "0.36", "resultsets": [{"rowcount": 21, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Biggest pages in srwiki | null | SELECT page_title, page_len
FROM srwiki_p.page
WHERE page_len > 10000 AND page_namespace = 0
ORDER BY page_len DESC
LIMIT 100 | {"runningtime": "0.36", "resultsets": [{"rowcount": 24, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Number of active users in Ukrainian Wikipedia per certain month | null | SELECT R.rev_actor, COUNT(1) AS edits
FROM ukwiki_p.revision R
WHERE R.rev_timestamp >= 20190101000000
AND R.rev_timestamp < 20190201000000
GROUP BY R.rev_actor
HAVING edits >= 5 | {"runningtime": "1.08", "resultsets": [{"rowcount": 110, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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.45", "resultsets": [{"rowcount": 30, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
use ukwiki_p; show tables; | null | use ukwiki_p;
show tables; | {"runningtime": "0.45", "resultsets": [{"rowcount": 24, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Включення /Документація | null | use ukwiki_p;
select *
from templatelinks
where tl_namespace = 10
and tl_title like '%/Документація'
and tl_from_namespace = 10
limit 100; | {"runningtime": "8.64", "resultsets": [{"rowcount": 1216, "headers": ["REPLACE(page_title,'_',' ')", "COUNT(*)"]}]} | null |
fawiki pages with most edits | null | USE fawiki_p;
SELECT
CONCAT(
CASE
WHEN page_namespace = 0 THEN ''
ELSE ":"
END,
"{{ns:", page_namespace, "}}:",
page_title
),
STR_TO_DATE(LEFT(MIN(rev_timestamp), 8), '%Y%m%d') AS first_edit,
STR_TO_DATE(LEFT(MAX(rev_timestamp), 8), '%Y%m%d') AS last_edit,
COUNT(*)
FROM revision
JO... | {"runningtime": "6.41", "resultsets": [{"rowcount": 461, "headers": ["pp_value", "P3684", "id", "S143", "Q8449"]}]} | null |
Total count of AfC reviews | Last run 24 Feb '19
This query counts the number of AfC submissions reviewed during the past 30 days by reading the edit comment associated with each review. Includes drafts in the "Draft" namespace and "User" space.
You can re-run this query and get new data at any time by following these steps:
1. log into quarry.... | use enwiki_p;
select count(rc_id) as edits, actor_name
from recentchanges_userindex
left join actor on rc_actor = actor_id
inner join comment c on rc_comment_id = c.comment_id
where (rc_namespace = 118 or rc_namespace = 2) and (comment_text like "Declining submission:%" or comment_text like "%Publishing accepted%"... | {"runningtime": "1.58", "resultsets": [{"rowcount": 5, "headers": ["linter_cat", "count(*)"]}]} | null |
trwiki:SM, SL, KM | null | USE trwiki_p;
SELECT DISTINCT page_id, page_title AS "B-sınıfı", page_len FROM page p
INNER JOIN categorylinks cl ON p.page_id = cl.cl_from
WHERE p.page_namespace = 1 AND
cl.cl_to LIKE "Vikiproje_Bilim_tarihi%" AND cl.cl_to LIKE "%değerlendirilmemiş-sınıf_sayfalar" AND
page_id IN (SELECT page_id FROM page p
... | {"runningtime": "3.79", "resultsets": [{"rowcount": 1197, "headers": ["REPLACE(page_title,'_',' ')", "COUNT(*)"]}]} | 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": "228.35", "resultsets": [{"rowcount": 0, "headers": ["files"]}]} | null |
enwiki:Unexisting links in articles within the scope of WikiProject History of Science | null | USE enwiki_p;
SELECT pl_title, COUNT(pl_title) AS counting
FROM pagelinks, page_assessments
WHERE pl_from = pa_page_id
AND pa_project_id=327
AND pl_from_namespace = 0
AND pl_namespace = 0
AND NOT EXISTS
(SELECT p1.page_title FROM page p1
WHERE p1.page_title = pl_title
AND pl_namespace = 0
AND p1.page_namespace = 0)
GRO... | {"runningtime": "175.19", "resultsets": [{"rowcount": 4, "headers": ["files"]}]} | null |
kkwiki CX most deleted users | null | use kkwiki_p;
SELECT
actor.actor_name as translator_name,
count(archive.ar_id) as the_count
FROM
change_tag,
actor,
archive
WHERE
archive.ar_parent_id = 0 AND
ct_tag_id = (select ctd_id from change_tag_def where ctd_name = 'contenttranslation') AND
archive.ar_actor = actor.actor_id AND
ar_rev_id = ct... | {"runningtime": "1.61", "resultsets": [{"rowcount": 276, "headers": ["page_id", "page_title"]}]} | null |
kkwiki deleted translations by month | null | use kkwiki_p;
SELECT
substring(archive.ar_timestamp, 1, 6) as month,
count(archive.ar_id) as the_count
FROM
change_tag,
archive
WHERE
archive.ar_parent_id = 0 AND
ct_tag_id = (select ctd_id from change_tag_def where ctd_name = 'contenttranslation') AND
ar_rev_id = ct_rev_id
GROUP BY
month
ORDER BY
th... | {"runningtime": "3.04", "resultsets": [{"rowcount": 254, "headers": ["page_id", "page_title"]}]} | 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": "0.13", "resultsets": [{"rowcount": 1, "headers": ["cat_title", "cat_pages-cat_subcats"]}]} | null |
Donald_Trump | null | SELECT page_title FROM page WHERE page_id IN (SELECT rd_from FROM redirect WHERE rd_title="Donald_Trump"); | {"runningtime": "0.49", "resultsets": [{"rowcount": 15, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
(new) Gujarati editor, account created between May2018-May2020, 50-100k edits since Oct2019 | null | use guwiki_p;
select
rev_actor,
actor_name,
count(rev_id) as edit_count,
substr(user_registration, 1, 8) as registration_date
from
revision,
actor,
user
where
actor_user = user_id and
user_registration between 20180500000000 and 20200500000000 and
rev_timestamp > 20181000000000 and
rev_act... | {"runningtime": "4.36", "resultsets": [{"rowcount": 1072, "headers": ["REPLACE(page_title,'_',' ')", "COUNT(*)"]}]} | null |
'NEW' Gujarati editor, account created in last 2 years (between May2018-May2020), with 50-10k edits in last year (since May2019) | null | use guwiki_p;
select
rev_actor,
actor_name,
count(rev_id) as edit_count,
substr(user_registration, 1, 8) as registration_date
from
revision,
actor,
user
where
actor_user = user_id and
user_registration between 20180500000000 and 20200500000000 and
rev_timestamp > 20180500000000 and
rev_act... | {"runningtime": "373.29", "resultsets": [{"rowcount": 36, "headers": ["CONCAT('# [[',REPLACE(page_title,'_',' '),']]')"]}]} | null |
EXPERIENCED' Gujarati editor, account created more than 2 years ago (between May2008-May2018), with 100-10k edits in last year (since May2019) | null | use guwiki_p;
select
rev_actor,
actor_name,
count(rev_id) as edit_count,
substr(user_registration, 1, 8) as registration_date
from
revision,
actor,
user
where
actor_user = user_id and
user_registration between 20080500000000 and 20180500000000 and
rev_timestamp > 20190500000000 and
rev_act... | {"runningtime": "256.47", "resultsets": [{"rowcount": 100, "headers": ["CONCAT('# [[',REPLACE(page_title,'_',' '),']]')"]}]} | null |
jawikiにおける最多投稿者 | null | use jawiki_p;
select user_name as 利用者名, user_editcount as 投稿回数,
ifnull(date_format( date( user_registration ), "%Y-%m-%d" ), "2005-12-22以前") as 登録日,
group_concat( distinct ug_group order by case ug_group WHEN "sysop" THEN 1
WHEN "checkuser" THEN 2
... | {"runningtime": "0.28", "resultsets": [{"rowcount": 20, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Most common deletion reasons on zhwp - 2020 | null | USE zhwiki_p;
SELECT comment_text, COUNT(log_id) FROM logging_logindex
JOIN comment ON log_comment_id = comment_id
WHERE log_type = 'delete' AND log_action = 'delete'
GROUP BY comment_text
ORDER BY COUNT(log_id) DESC
LIMIT 50 | {"runningtime": "0.28", "resultsets": [{"rowcount": 22, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
990301 mp1 # of DAB pages with direct link (pages) | null | USE fawiki_p;
SELECT COUNT(DISTINCT(page_title))
FROM pagelinks JOIN page
WHERE page_is_redirect=0
AND page_namespace=0
AND page_id IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation')
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redirect=0)
AND pl_title=page_title
AND pl_nam... | {"runningtime": "0.29", "resultsets": [{"rowcount": 21, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
990301 mp1 # of direct links to DAB pages (pages) | null | USE fawiki_p;
SELECT COUNT(page_id)
FROM pagelinks JOIN page
WHERE page_is_redirect=0
AND page_namespace=0
AND page_id IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation'
)
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redirect=0
)
AND pl_title=page_title
AND pl_namespace ... | {"runningtime": "0.54", "resultsets": [{"rowcount": 28, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
990301 mp1 # of DAB pages | null | USE fawiki_p;
SELECT COUNT(page_title)
FROM page
WHERE page_id IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation'); | {"runningtime": "0.39", "resultsets": [{"rowcount": 58, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
990301 # of fa articles | null | USE fawiki_p;
SELECT COUNT(page_id)
FROM page
WHERE page_is_redirect = 0
AND page_namespace = 0; | {"runningtime": "0.59", "resultsets": [{"rowcount": 57, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Možná nadbytečné rozcestníky | null | use cswiki_p;
select page_namespace, page_title from page join redirect on page_id=rd_from where rd_title like '%_(rozcestník)' and page_title like replace(rd_title, '_(rozcestník)', ''); | {"runningtime": "0.21", "resultsets": [{"rowcount": 22, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Klammerlemmata als Weiterleitung mit Verlinkungen | Klammerlemmata als Weiterleitung mit Anzahl und Liste von Links auf diese Weiterleitung | use dewiki_p;
SELECT t.page_title as "Weiterleitungsseite", COUNT(pl_from) AS "Anzahl Verlinkungen", GROUP_CONCAT(f.page_title SEPARATOR ' • ') AS "verlinkt von"
FROM page AS t LEFT JOIN pagelinks
ON pl_namespace = t.page_namespace
AND pl_title = t.page_title
AND... | {"runningtime": "0.30", "resultsets": [{"rowcount": 27, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Possible Geograph Update Bot misbehaviour | null | USE commonswiki_p;
SELECT img_name FROM image WHERE img_actor=27069 AND
(SELECT COUNT(DISTINCT(oi_sha1)) FROM oldimage_userindex WHERE oi_name = img_name) > 1;
| {"runningtime": "0.32", "resultsets": [{"rowcount": 11, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Image resolutions statistics for WLE Ukraine 2019 | null | SELECT (case
when ( (I.img_width*I.img_height) >= 32000000) then '_32 - inf Mpx'
when ( (I.img_width*I.img_height) >= 28000000 AND (I.img_width*I.img_height) < 32000000) then '_28 - 32 Mpx'
when ( (I.img_width*I.img_height) >= 24000000 AND (I.img_width*I.img_height) < 28000000) then '_24 - 28 Mpx'
when ( (I.img_wid... | {"runningtime": "0.40", "resultsets": [{"rowcount": 28, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Image resolutions statistics for WLM Ukraine 2019 | null | SELECT (case
when ( (I.img_width*I.img_height) >= 32000000) then '_32 - inf Mpx'
when ( (I.img_width*I.img_height) >= 28000000 AND (I.img_width*I.img_height) < 32000000) then '_28 - 32 Mpx'
when ( (I.img_width*I.img_height) >= 24000000 AND (I.img_width*I.img_height) < 28000000) then '_24 - 28 Mpx'
when ( (I.img_wid... | {"runningtime": "0.18", "resultsets": [{"rowcount": 18, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Orphaned talkpages on Commons | null | USE commonswiki_p;
SELECT
p1.page_namespace,
p1.page_title
FROM page AS p1
WHERE p1.page_title NOT LIKE "%/%"
AND p1.page_namespace NOT IN (0,2,3,4,6,8,9,10,11,12,14,16,18,100,102,103,104,105,106,107,108,118,460,461,490,710,828,829,1199,2300,2600)
AND CASE WHEN p1.page_namespace = 1
THEN NOT EXISTS (SELECT
... | {"runningtime": "0.26", "resultsets": [{"rowcount": 44, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Commons Image Category Load with User and File Info | (used for montage category loads) | SELECT img_width,
img_height,
img_name,
img_major_mime,
img_minor_mime,
IFNULL(oi.actor_user, ci.actor_user) AS img_user,
IFNULL(oi.actor_name, ci.actor_name) AS img_user_text,
IFNULL(oi_timestamp, img_timestamp) AS... | {"runningtime": "0.27", "resultsets": [{"rowcount": 13, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
articles with template consisting symbol "+" | null | USE etwiki_p;
SELECT page_title
FROM page
INNER JOIN templatelinks ON page_id=tl_from
WHERE page_namespace = 0
AND tl_title LIKE "%+%"
#GROUP BY page_title
GROUP BY page_title
ORDER BY page_title DESC
LIMIT 3; | {"runningtime": "0.60", "resultsets": [{"rowcount": 36, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
990301 mp1 # of redirected links to DAB pages (pages) | null | USE fawiki_p;
SELECT COUNT(pl_title)
FROM pagelinks
LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title
LEFT JOIN redirect ON page_id = rd_from
WHERE page_is_redirect = 1
AND page_namespace = 0
AND rd_namespace = 0
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redirect=0
AND ... | {"runningtime": "0.20", "resultsets": [{"rowcount": 18, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
990301 mp1 # of DAB pages with redirected link (pages) | null | USE fawiki_p;
SELECT COUNT(DISTINCT(page_title))
FROM pagelinks
LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title
LEFT JOIN redirect ON page_id = rd_from
WHERE page_is_redirect = 1
AND page_namespace = 0
AND rd_namespace = 0
AND pl_from IN (
SELECT page_id
FROM page
WHERE page_is_redir... | {"runningtime": "0.49", "resultsets": [{"rowcount": 43, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
IPki | null | USE plwiki_p;
SELECT CONCAT("[[User:",a.actor_name,"]]") AS user_name, COUNT(a.actor_name) AS recent_user_editcount
FROM revision r
left join actor a on (a.actor_id = r.rev_actor)
WHERE
rev_timestamp BETWEEN 20200415000000 AND 20200516000000
AND a.actor_user IS NULL
GROUP BY a.actor_name
ORDER BY recent_user_editcount ... | {"runningtime": "0.24", "resultsets": [{"rowcount": 12, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
990301 owp1 All orphan articles | null | USE fawiki_p;
SELECT concat('# [[',p1.page_title,']]')
FROM page AS p1
WHERE p1.page_is_redirect = 0
AND p1.page_namespace = 0
# not a DAB page
AND p1.page_id NOT IN (
SELECT pp_page
FROM page_props
WHERE pp_propname = 'disambiguation'
)
# not receiving direct link
AND NOT (
p1.page_title IN (
SELECT pl1.... | {"runningtime": "0.27", "resultsets": [{"rowcount": 5, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Mapa kopurua Wikimedia Commonsen | null | USE commonswiki_p;
SELECT page_namespace, count(page_id) FROM page WHERE page_namespace = 486 AND page_title LIKE "%.map" AND page_is_redirect = 0 GROUP BY page_namespace; | {"runningtime": "0.45", "resultsets": [{"rowcount": 21, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Accessing identifiers in Wikidata | null | use wikidatawiki_p;
SELECT pp_page, pp_propname, pp_value
FROM page_props JOIN page ON page_id = pp_page
WHERE page_title = 'Q2738307'; | {"runningtime": "0.27", "resultsets": [{"rowcount": 30, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
articles with template consisting symbol "+" | null | USE hewiki_p;
SELECT page_title
FROM page
INNER JOIN templatelinks ON page_id=tl_from
WHERE page_namespace = 0
AND tl_title LIKE "אתר רשמי"
ORDER BY page_title DESC
LIMIT 10; | {"runningtime": "0.48", "resultsets": [{"rowcount": 33, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
összes link (2020. május 25.) | csak főnévtérből csak főnévtérbe | use huwiki_p;
SELECT COUNT(*) FROM pagelinks; | {"runningtime": "0.25", "resultsets": [{"rowcount": 20, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Možná nadbytečné rozcestníky | null | use cswiki_p;
select page_namespace, page_title from page join redirect on page_id=rd_from where rd_title like '%_(rozcestník)' and page_title like replace(rd_title, '_(rozcestník)', ''); | {"runningtime": "0.11", "resultsets": [{"rowcount": 8, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Files to be touched on Commons 2 | single run after template renaming | USE commonswiki_p;
SELECT CONCAT ('[[:File:', REPLACE (page_title,'_',' '), ']]') AS filelist
FROM templatelinks
INNER JOIN page ON page_id = tl_from AND page_namespace = 6
WHERE tl_namespace = 10 AND tl_from_namespace = 6 AND tl_title = 'Min'
LIMIT 10000; | {"runningtime": "0.19", "resultsets": [{"rowcount": 19, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Crunchbase links | null | SELECT DISTINCT page.page_title, externallinks.el_to, page_props.pp_value
FROM externallinks
INNER JOIN page ON externallinks.el_from = page.page_id
INNER JOIN page_props ON page.page_id = page_props.pp_page
WHERE
((externallinks.el_to LIKE "http://www.crunchbase.com/person/%") OR
(externallinks.el_to LIKE "https... | {"runningtime": "0.28", "resultsets": [{"rowcount": 18, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Album Academicum links in nlwiki | null | USE nlwiki_p;
SELECT DISTINCT page.page_title, externallinks.el_to, page_props.pp_value
FROM externallinks
INNER JOIN page ON externallinks.el_from = page.page_id
INNER JOIN page_props ON page.page_id = page_props.pp_page
WHERE externallinks.el_to LIKE "http://albumacademicum.uva.nl/%"
AND page.page_namespace = 0 AND p... | {"runningtime": "0.17", "resultsets": [{"rowcount": 11, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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": "0.18", "resultsets": [{"rowcount": 11, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
zhwiki: latest rev | null | USE zhwiki_p;
SELECT *
FROM revision
ORDER BY revision.rev_timestamp DESC
LIMIT 1; | {"runningtime": "0.24", "resultsets": [{"rowcount": 12, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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": "0.26", "resultsets": [{"rowcount": 27, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Find draftifications of old articles | null | /* Find draftifications of old articles */
SELECT log_params
FROM logging_logindex
JOIN page
ON log_title = page.page_title
AND page.page_namespace = 118
JOIN
(
SELECT rev_page, MIN(rev_timestamp) as page_created_at
FROM revision
GROUP BY rev_page
) AS rev
ON rev.rev_page = page.page_id
WHERE log... | {"runningtime": "0.31", "resultsets": [{"rowcount": 37, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Talk pages of deleted images on mrwp | null | use mrwiki_p;
SELECT CONCAT("# [[चित्र चर्चा:",p1.page_title,"]]") AS page_title
FROM page AS p1
WHERE p1.page_title NOT LIKE '%/%'
AND p1.page_namespace = 7
AND NOT EXISTS (SELECT 1
FROM page AS p2
WHERE p2.page_namespace = 6
AND p1.page_title = p2.page_title) | {"runningtime": "0.26", "resultsets": [{"rowcount": 23, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Usuários em abril de 2020 por ano de registro | Número de usuários que editaram em abril de 2020 agrupados por ano de registro | USE ptwiki_p;
SELECT
COUNT(DISTINCT user_id) USUÁRIOS,
SUBSTR(user_registration, 1, 4) ANO_REG
FROM
revision
INNER JOIN actor ON rev_actor = actor_id
INNER JOIN user ON user_id = actor_user
WHERE
rev_timestamp LIKE '202004%'
AND actor_user
GROUP BY ANO_REG; | {"runningtime": "0.20", "resultsets": [{"rowcount": 23, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Find most recent additions of labels by certain users in Malayalam | This list only considers changes from the past 30 days due to the $wgRcMaxAge setting.
(Ripped from wdvd's code and modified a bit.)
Thanks, Adam, for further modifications!
Mahir256 is in this list for comparisons only--no effect on the rankings of others is to be assumed. | USE wikidatawiki_p;
SELECT current_date;
SELECT rc_user_text as Username, COUNT(*) as Number_of_labels_added
FROM (
SELECT rc_user_text,
rc_title, comment_text
# count(comment_text) as added
FROM recentchanges
LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id
WHERE comment_text REGEXP '... | {"runningtime": "0.27", "resultsets": [{"rowcount": 19, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Find most recent additions of labels by certain users in Malayalam | This list only considers changes from the past 30 days due to the $wgRcMaxAge setting.
(Ripped from wdvd's code and modified a bit.)
Thanks, Adam, for further modifications!
Mahir256 is in this list for comparisons only--no effect on the rankings of others is to be assumed. | USE wikidatawiki_p;
SELECT current_date;
SELECT rc_user_text as Username, COUNT(*) as Number_of_labels_added
FROM (
SELECT rc_user_text,
rc_title, comment_text
# count(comment_text) as added
FROM recentchanges
LEFT JOIN comment ON comment.comment_id = recentchanges.rc_comment_id
WHERE comment_text REGEXP '... | {"runningtime": "0.22", "resultsets": [{"rowcount": 23, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Most edited pages in last month in Malayalam Wiki | This query returns a list of top 100 most edited articles in the English language Wikipedia during the past month along with related comments that can be used to track some of the most frequent kind of edits. | USE mlwiki_p;
SELECT rc_title as title, rc_comment as comments, count(*) as Edits
FROM recentchanges
WHERE rc_namespace = 0
GROUP BY 1 ORDER BY 3 DESC
LIMIT 100; | {"runningtime": "0.20", "resultsets": [{"rowcount": 21, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Malayalam New pages | null | use mlwiki_p;
select *
from page
where page_is_new=1 and page_namespace = 0 and page_is_redirect = 0
order by page_counter desc
limit 10 | {"runningtime": "0.39", "resultsets": [{"rowcount": 35, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
User uploads by category | null | SELECT DISTINCT a.actor_name AS Uploader,
cl.cl_to AS Category
FROM
# get commons images
commonswiki_p.image i
# get commons page
INNER JOIN commonswiki_p.page cp
ON cp.page_title = i.img_name
# get commons category
INNER JOIN commonswiki_p.categorylinks cl
ON cp.page_i... | {"runningtime": "0.04", "resultsets": []} | null |
sign | null | USE zhwiki_p;
SELECT * FROM user_properties
JOIN user ON user_id = up_user
WHERE up_property = "nickname" AND user_name = "Aronlee90" | {"runningtime": "0.12", "resultsets": [{"rowcount": 2, "headers": ["cl_to"]}]} | null |
Validated-Deepa_arul_kaniyam-இராணி_மங்கம்மாள்_(நாவல்) | 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.11", "resultsets": [{"rowcount": 3, "headers": ["cl_to"]}]} | null |
Validated-Iswarya-நெருப்பு_மனிதன்_நெல்சன்_மண்டேலா_(மொழிபெயர்ப்பு) | 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.17", "resultsets": [{"rowcount": 2, "headers": ["cl_to"]}]} | null |
Validated-Ramesh- ஹிராடெடஸின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"runningtime": "0.35", "resultsets": [{"rowcount": 16, "headers": ["cl_to"]}]} | null |
Validated-Fathima-மஞ்சள்_முட்டை | 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.11", "resultsets": [{"rowcount": 6, "headers": ["cl_to"]}]} | null |
Validated-Fathima-பாரதியும்_பாப்பாவும் | 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": 2, "headers": ["cl_to"]}]} | null |
Validated-Fathima-இந்தியனும்-ஹிட்லரும் | 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": 3, "headers": ["cl_to"]}]} | 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%")
... | {"runningtime": "0.11", "resultsets": [{"rowcount": 3, "headers": ["cl_to"]}]} | 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%")
... | {"runningtime": "0.17", "resultsets": [{"rowcount": 3, "headers": ["cl_to"]}]} | null |
Validated-Fathima-குழந்தைக்_கவிஞரின்_கதைப்_பாடல்கள்-தொகுதி-1 | 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.11", "resultsets": [{"rowcount": 3, "headers": ["cl_to"]}]} | null |
Proofread-The employee kaniyam-இதய_உணர்ச்சி | 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.11", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
Validated-DeepaArulKaniyam-கோவூர்_கிழார் | 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.11", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
Proofread--தமிழ்_இலக்கிய_வரலாறு_(ரா. சீனிவாசன்) | 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.11", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
Validated-DeepaArulKaniyam-தமிழ்_இலக்கிய_வரலாறு_(ரா. சீனிவாசன்) | 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.11", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
Validated-Deepa_arul_kaniyam- வைகையும்_வால்காவும் | 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": 3, "headers": ["cl_to"]}]} | null |
Validated-Deepa_arul_kaniyam- லியோ_டால்ஸ்டாயின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | 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": 1, "headers": ["cl_to"]}]} | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.