title stringlengths 1 212 | description stringlengths 1 4.39k ⌀ | query stringlengths 1 65.5k ⌀ | extra_info stringlengths 18 31.6k | wikidb stringlengths 4 26 ⌀ |
|---|---|---|---|---|
Te Wiki User by Edit Count | null | USE tewiki_p;
select user_name, user_editcount
from user where user_editcount > 500 order by user_editcount desc
limit 1000; | {"runningtime": "0.44", "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 |
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.78", "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 |
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.69", "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 |
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.49", "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 |
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.62", "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 |
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.79", "resultsets": [{"rowcount": 39, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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.59", "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 |
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.98", "resultsets": [{"rowcount": 46, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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": "1.30", "resultsets": [{"rowcount": 63, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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.58", "resultsets": [{"rowcount": 10, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Proofread-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.90", "resultsets": [{"rowcount": 77, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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.74", "resultsets": [{"rowcount": 7, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Validated-Rabiyathul_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": "1.01", "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 |
Validated-Rabiyathul_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.95", "resultsets": [{"rowcount": 47, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Validated-Rabiyathul_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.84", "resultsets": [{"rowcount": 29, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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.63", "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 |
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.38", "resultsets": [{"rowcount": 9, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Validated-Deepa_arul-தமிழ்_இலக்கிய_வரலாறு_(ரா. சீனிவாசன்) | 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.50", "resultsets": [{"rowcount": 32, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
proof-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.38", "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 |
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.43", "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 |
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.30", "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 |
Validated-Rabiyathul_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.48", "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 |
Medium sized Hindi articles not Telugu | null | use hiwiki_p;
select page_title from page
left join langlinks
on ll_from= page_id and ll_lang="te"
where page_namespace=0 and ll_from is null
and page_len between 2000 and 10000
limit 200000; | {"runningtime": "0.33", "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 |
Stub articles in Telugu Wikipedia | to find మొలక వ్యాసాలు కనుగొనేందుకు | use hiwiki_p;
select page_title, page_len from page where page_len > '10000' and page_namespace = 0 and page_is_redirect = 0; | {"runningtime": "0.30", "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 |
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.28", "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 |
Articles without "orphan" tag, that has 0 incoming links (tewiki) | null | USE tewiki_p;
SELECT
CONCAT('[[',page_title,']]')
FROM page
LEFT JOIN pagelinks
ON pl_title = page_title
AND pl_namespace = page_namespace
WHERE pl_namespace IS NULL
AND page.page_namespace =0 AND page.page_is_redirect = 0
and page.page_id not in (select tl_from from templatelinks where tl_title = 'అనాథ')
and page.p... | {"runningtime": "0.17", "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 |
Telugu Wikipedia articles not exists labels on Wikidata | null | use wikidatawiki_p;
select CONCAT("Q",ips_item_id), CONCAT("Llv"), 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='hiwiki' and not exists
(select term_entity_id from wb_terms where i.ips_item_id = term_entity_id and
te... | {"runningtime": "0.79", "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 |
Articles without wikidata item | null | use tewiki_p;
select CONCAT ("#[[",page_title,"]]") from page where page_id not in (select pp_page from page_props where pp_propname = "wikibase_item" and pp_page = page_id) and page_namespace = 0 and page_is_redirect = 0; | {"runningtime": "0.81", "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 |
Wikidata usage in German Wikipedia | This query is copied from http://quarry.wmflabs.org/query/3811 draft by Matěj Suchánek.
6 Resultsets:
1) number of rows, number of subscribing pages, number of subscribed entities
2) most recent subscriptions
3) most recent edits in Wikidata which updated pages
4) most recent edits which subscribed entities
5) pages ... | USE tewiki_p;
SELECT COUNT(*), COUNT(DISTINCT eu_page_id), COUNT(DISTINCT eu_entity_id) FROM wbc_entity_usage;
SELECT page_title, page_namespace, page_id, eu_entity_id, GROUP_CONCAT(DISTINCT eu_aspect SEPARATOR ', ') AS aspects,
eu_touched, rev_timestamp AS last_edited
FROM wbc_entity_usage
JOIN page ON page_id = ... | {"runningtime": "0.43", "resultsets": [{"rowcount": 54, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Articles linking to social networks on tewiki | null | USE tewiki_p;
SELECT CONCAT('# [[',page_title,']]') as page_title
FROM page
JOIN externallinks
ON page_id = el_from
WHERE page_namespace = 0
AND (el_to LIKE 'http%://%.facebook.%/%'
OR el_to LIKE 'http%://facebook.%/%'
OR el_to LIKE 'http%://fb.%/%'
OR el_to LIKE 'http%://%.fb.%/%'
OR el_to LIKE 'http%://twitter.%/%'
O... | {"runningtime": "0.39", "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 |
Daily anonymous mobile edits, Telugu Wikipedia | see
http://quarry.wmflabs.org/query/1242 ,
http://quarry.wmflabs.org/query/2256
http://quarry.wmflabs.org/query/2634
https://quarry.wmflabs.org/query/3376
http://www.gossamer-threads.com/lists/wiki/wikitech/582998
https://meta.wikimedia.org/wiki/Research:Mobile_anonymous_apocalypse | /* Forked from http://quarry.wmflabs.org/query/948 */
USE tewiki_p;
SELECT
LEFT(rev_timestamp, 8) AS date,
COUNT(*)
FROM revision_userindex
INNER JOIN
ts_rev_id = rev_id AND
ts_tags LIKE "%mobile web edit%"
WHERE
rev_timestamp BETWEEN "20150101" AND "20000528" AND
rev_user = 0
GROUP BY date; | {"runningtime": "0.23", "resultsets": [{"rowcount": 29, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Video , GIF , Animation file usage in Te Wikipedia | Find out how many video files are being used in en.wp articles | USE tewiki_p;
select page_title, GROUP_CONCAT( i2.img_name separator ', ' ) as
"commons videos", GROUP_CONCAT( i1.img_name separator ', ' ) as
"enwiki videos", GROUP_CONCAT( i3.img_name separator ', ' ) as
"commons long gifs", GROUP_CONCAT( i4.img_name separator ', ' ) as
"enwiki long gifs" from page inner join image... | {"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 |
Test of images NOT in a specific category | null | USE hiwiki_p;
SELECT
CONCAT("* [[:File:", img_name, "]]") AS file
FROM image
JOIN page
ON page_namespace=6
AND page_title = img_name
AND page_is_redirect=0
AND NOT EXISTS(
SELECT * FROM categorylinks
WHERE page_id=cl_from
AND (cl_to='By-Bild'
OR cl_to LIKE 'CC-by%'
OR cl_to LIKE 'Datei:Public%'
OR cl_to LIKE 'D... | {"runningtime": "0.30", "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 |
Non-free files used outside articles (id) | null | USE idwiki_p;
SELECT DISTINCT CONCAT('# [[:File:', p.page_title, ']]') FROM page p
INNER JOIN categorylinks c ON p.page_id = c.cl_from
INNER JOIN (imagelinks i LEFT JOIN redirect r ON i.il_from = r.rd_from) ON p.page_title = i.il_to
WHERE c.cl_to = "Semua_media_nonbebas"
AND i.il_from_namespace != 0
AND r.rd_from IS NU... | {"runningtime": "0.17", "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 |
Non-free files used outside articles (id) | null | USE idwiki_p;
SELECT DISTINCT CONCAT('# [[:File:', p.page_title, ']]') FROM page p
INNER JOIN categorylinks c ON p.page_id = c.cl_from
INNER JOIN (imagelinks i LEFT JOIN redirect r ON i.il_from = r.rd_from) ON p.page_title = i.il_to
WHERE c.cl_to = "Semua_media_nonbebas"
AND i.il_from_namespace != 0
AND r.rd_from IS NU... | {"runningtime": "0.31", "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 |
Redirected files (id) | null | SELECT DISTINCT CONCAT('# [[:File:', w.page_title, ']]')
FROM idwiki_p.page w
WHERE w.page_namespace = 6 AND w.page_is_redirect = 1
ORDER BY w.page_title ASC;
| {"runningtime": "0.31", "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 |
Telugu Wikipedia articles without images | null | USE hiwiki_p;
SELECT page_title as articlename
FROM page
WHERE page_namespace = 0
AND page_is_redirect = 0
AND EXISTS (
SELECT il_to
FROM imagelinks
WHERE page_id = il_from
)
GROUP BY articlename;
| {"runningtime": "0.68", "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 |
Articles created by IPs | null | use tewiki_p;
SELECT /*SLOW OK */ page_title
FROM revision
INNER JOIN page ON rev_page = page_id
WHERE page_namespace = 0
AND rev_user_text not in (select user_name from user where user_name = rev_user_text)
AND rev_parent_id = 0
AND page.page_is_redirect = 0
ORDER BY page_title; | {"runningtime": "1.14", "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 |
Telugu label CONCAT at Wikidata | null | USE wikidatawiki_p;
SELECT CONCAT("Q",ips_item_id), CONCAT("Lml"), CONCAT('"',ips_site_page,'"')
FROM wb_items_per_site
WHERE ips_site_id='hiwiki' AND NOT EXISTS (
SELECT 1 FROM wb_terms WHERE CONCAT("Q", ips_item_id) = term_full_entity_id AND term_type = "label" AND term_language='hi' LIMIT 1
)
#LIMIT 500
; | {"runningtime": "0.87", "resultsets": [{"rowcount": 97, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
lawiki:Articles created by bots | null | USE hiwiki_p;
SELECT CONCAT('# [[', page_title ,']]') AS page_title, rev_timestamp, ug_group, page_len
FROM page, revision, user_groups
WHERE rev_page = page_id
AND rev_parent_id = 0
AND page_namespace = 0
AND page_is_redirect = 0
AND ug_group LIKE '%bot%'
ORDER BY rev_timestamp | {"runningtime": "0.21", "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 |
MassMassage list creator:Active user of Indic Wikisource | Most active users by edits on Bengali Wikisource in last 3 months | USE tewiki_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 = 250
AND actor_user IS NOT NULL
AND ... | {"runningtime": "0.74", "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 |
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.71", "resultsets": [{"rowcount": 55, "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.50", "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 |
EXPERIENCED' Malayalam editor, account created more than 2 years ago (between May2008-May2018), with 100-10k edits in last year (since May2019) | null | use mlwiki_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": "0.39", "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 |
eswiki revision != recentchanges old | null | USE eswiki_p;
SELECT LEFT(rev_timestamp, 8), COUNT(*)
FROM revision
LEFT JOIN recentchanges ON rev_id = rc_this_oldid
WHERE
rev_timestamp > 20200502000000
AND rc_this_oldid IS NULL
GROUP BY LEFT(rev_timestamp, 8) | {"runningtime": "0.45", "resultsets": [{"rowcount": 26, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
eswiki revision != recentchanges | null | USE eswiki_p;
SELECT *
FROM revision
LEFT JOIN recentchanges ON rev_id = rc_this_oldid
WHERE
rev_timestamp LIKE '202005301%'
AND rc_cur_id IS NULL
ORDER BY rev_timestamp DESC | {"runningtime": "0.37", "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 |
fawiki revision != recentchanges | null | USE fawiki_p;
SELECT *
FROM revision
LEFT JOIN recentchanges ON rev_id = rc_this_oldid
WHERE
rev_timestamp LIKE '202005301%'
AND rc_cur_id IS NULL
ORDER BY rev_timestamp DESC | {"runningtime": "0.19", "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 |
enwiki revision != recentchanges | null | USE enwiki_p;
SELECT *
FROM revision
LEFT JOIN recentchanges ON rev_id = rc_this_oldid
WHERE
rev_timestamp LIKE '202005301%'
AND rc_cur_id IS NULL
ORDER BY rev_timestamp DESC | {"runningtime": "0.42", "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 |
eswiki revision != recentchanges old | null | USE eswiki_p;
SELECT *
FROM revision
LEFT JOIN recentchanges ON rev_id = rc_this_oldid
WHERE
rev_timestamp LIKE '202005051%'
AND rc_this_oldid IS NULL
ORDER BY rev_timestamp DESC | {"runningtime": "0.38", "resultsets": [{"rowcount": 9, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
U in the NFL Draft | null | select page_title from page
where page_namespace=0
and page_is_redirect=0
and (page_title like '%the_NFL_Draft') | {"runningtime": "0.37", "resultsets": [{"rowcount": 32, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
user js edits within a certain period @ zhwiki | null | USE zhwiki_p;
SELECT rev_id, actor_name, rev_timestamp, page_title, comment_text
FROM revision
JOIN actor ON rev_actor = actor_id
JOIN page ON rev_page = page_id
JOIN comment ON rev_comment_id = comment_id
WHERE rev_timestamp BETWEEN 20200530000000 AND 20200602235959
AND page_namespace = 2
AND page_title LIKE "%.js" | {"runningtime": "1.10", "resultsets": [{"rowcount": 135, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
uzwiki deleted translations by month | null | use uzwiki_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": "0.22", "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 |
uzwiki CX most deleted users | null | use uzwiki_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": "0.28", "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 |
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.40", "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 |
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.37", "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 |
Proofread-Arun-குன்றக்குடிஅடிகளார்நூல்வரிசை-11 | 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.58", "resultsets": [{"rowcount": 54, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | 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.20", "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 |
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.24", "resultsets": [{"rowcount": 39, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Validated-DeepaArul-குன்றக்குடிஅடிகளார்நூல்வரிசை-11 | 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.26", "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 |
List of most active patrollers on frwiki | From :
- https://tools.wmflabs.org/tsreports/?wiki=frwiki&report=majorpatrollers
- https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.tsreports/Converting_queries
- https://github.com/valhallasw/tsreports/blob/master/reports/majorpatrollers.query
- https://www.mediawiki.org/wiki/Manual:Database_layout (or:
- https... | use frwiki_p;
SELECT user_name, count(1) as count
FROM logging_userindex
LEFT JOIN user
ON log_actor = user_id
WHERE log_type = 'patrol'
AND NOT EXISTS (SELECT 1 FROM user_groups
WHERE ug_user = user_id
AND ug_group = 'bot')
GROUP BY log_actor
ORDER BY count DESC LIMIT 1000; | {"runningtime": "0.42", "resultsets": [{"rowcount": 72, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
#/living footballers in main namespace 200602 | Number of pages in the enwiki main namespace that are in [[Category:Living people]] and transclude {{Infobox football biography}}. For [[w:en:User:Levivich/Footy AfDs]]. | SELECT COUNT(*)
FROM page
JOIN templatelinks
ON page_id = tl_from
JOIN categorylinks
ON page_id = cl_from
WHERE page_namespace = 0
AND cl_to = 'Living_people'
AND tl_namespace = 10
AND tl_title = 'Infobox_football_biography'; | {"runningtime": "3.59", "resultsets": [{"rowcount": 388, "headers": ["pp_page", "pp_propname", "pp_value", "pp_sortkey", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model"... | null |
AfC review counts, last month (2 June 2020) * | null | use enwiki_p;
select count(rc_id) as reviews, actor_name,
SUM(comment_text like "%Publishing accepted%") as "accept",
SUM(comment_text like "Declining submission:%") as "decline",
SUM(comment_text like "Rejecting submission:%") as "reject",
concat(round(SUM(comment_text like "%Publishing accep... | {"runningtime": "0.53", "resultsets": [{"rowcount": 14, "headers": ["cl_to"]}]} | null |
EXPERIENCED' Punjabi editor, account created more than 2 years ago (between May2008-May2018), with 100-10k edits in last year (since May2019) | null | use pawiki_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": "0.19", "resultsets": [{"rowcount": 3, "headers": ["cl_to"]}]} | null |
'NEW' Kannada editor, account created in last 2 years (between May2018-May2020), with 50-10k edits in last year (since May2019) | null | use knwiki_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": "0.23", "resultsets": [{"rowcount": 12, "headers": ["cl_to"]}]} | null |
SHOW VARIABLES LIKE '%char%'; | null | SHOW VARIABLES LIKE '%char%'; | {"runningtime": "0.19", "resultsets": [{"rowcount": 6, "headers": ["cl_to"]}]} | null |
ukwiki users by registration year (including bots) | null | use ukwiki_p;
select count(user_name) as users50,
count(case when user_editcount >= 100 then 1 else null end) as users100,
count(case when user_editcount >= 500 then 1 else null end) as users500,
count(case when user_editcount >= 1000 then 1 else null end) as users1000,
count(case when user_editcount >= 5000 then 1 e... | {"runningtime": "0.20", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
cats "by_nationality" @Commons | null | USE commonswiki_p;
SELECT CONCAT("Category:",page_title,"")
FROM page AS page
WHERE page_namespace = 14
AND page_title LIKE "%by_nationality"
#AND page_is_redirect = 1
#AND (page_title LIKE "%peopel%" OR page_title LIKE "%Peopel%")
LIMIT 399; | {"runningtime": "0.26", "resultsets": [{"rowcount": 8, "headers": ["cl_to"]}]} | null |
Users in privileged groups | null | select u.user_name a, ia, b, os, cu ,
(case when ia is not null then 1 else 0 end +
case when b is not null then 1 else 0 end +
case when cu is not null then 1 else 0 end +
case when os is not null then 1 else 0 end) groupcount
from user u inner join user_groups ug on ug.ug_user = u.user_id and ug.ug_g... | {"runningtime": "0.27", "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 |
EXPERIENCED' Kannada editor, account created more than 2 years ago (between May2008-May2018), with 100-10k edits in last year (since May2019) | null | use knwiki_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": "0.14", "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 |
Harvest Affiliate Members | Harvest affiliate members for all affiliates in Wikimedia. | # avoid duplicate user names
SELECT DISTINCT metawiki_p.pagelinks.pl_title AS "Affiliated Username",
p.page_title AS "Affiliates Group"
FROM metawiki_p.page AS p
JOIN metawiki_p.pagelinks ON metawiki_p.pagelinks.pl_from = p.page_id
# harvest from the a list of affiliates
WHERE p.page_title IN
(
"Wikimedia_México"
)
... | {"runningtime": "0.24", "resultsets": [{"rowcount": 14, "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.77", "resultsets": [{"rowcount": 59, "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.65", "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 |
Branch tributaries | Titles probably needing " tributary" before close paren | select page_title from page where page_namespace=0
and page_is_redirect=0
and (page_title like '%Branch_(%')
and ((page_title like '%Creek)') or (page_title like '%River)'))
| {"runningtime": "0.51", "resultsets": [{"rowcount": 32, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
AfC accepts/declines per submitter (4 June 2020) * | Not 100% accurate as not all reviewers post the notices, or use AFCH | use enwiki_p;
select count(rc_id) as reviews, rc_title,
count(rc_id) - SUM(comment_text like "%declined ([[WP:AFCH|AFCH]] 0.9.1)") as "accepted",
concat(round(SUM(comment_text not like "declined ([[WP:AFCH|AFCH]] 0.9.1)") * 100 / count(rc_id), 1), "%") as "accept %",
SUM(comment_text like "%declined... | {"runningtime": "1.16", "resultsets": [{"rowcount": 70, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Diplomacy Month UkWiki | List of articles created for the Investigative Journalism Week on UkWiki | USE ukwiki_p;
SET SESSION group_concat_max_len = 10000;
SELECT @rownum := @rownum + 1 AS rank,
IFNULL(actor_name, 'Всього'),
created,
total_len,
articles
FROM
(
SELECT
CONCAT('[[Користувач:', actor_name, '|', actor_name, ']]') as actor_name,
COUNT(1) AS created,
SUM(article.page_len) as... | {"runningtime": "0.39", "resultsets": [{"rowcount": 17, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Query of all people names on wikipedia | Looking for all the names of people on wikipedia | SELECT cl_to, page.page_title
FROM categorylinks
JOIN page ON page_id = cl_from
WHERE cl_to like 'People'
LIMIT 10; | {"runningtime": "0.12", "resultsets": [{"rowcount": 9, "headers": ["cl_to"]}]} | null |
Central Africa articles | null | SELECT page.page_title FROM categorylinks
INNER JOIN page ON cl_from = page_id
WHERE
cl_to IN (
"WikiProject_Cameroon_articles",
"WikiProject_Angola_articles",
"WikiProject_Cameroon_articles",
"WikiProject_Central_African_Republic_articles",
"WikiProject_Chad_articles",
"WikiProjec... | {"runningtime": "0.14", "resultsets": [{"rowcount": 3, "headers": ["cl_to"]}]} | null |
Number of URLs in the Fa.wikipedia | useful query | USE fawiki_p;
SELECT Q.Title, count(Q.Title)
FROM (
SELECT SUBSTRING_INDEX(REGEXP_REPLACE(el_to,'https?:\/\/',''), '/', 1) as Title
FROM externallinks ) as Q
GROUP BY Q.Title
HAVING count(Q.Title)>5
order by count(Q.Title) DESC
| {"runningtime": "0.33", "resultsets": [{"rowcount": 50, "headers": ["cat_title", "cat_pages-cat_subcats"]}]} | null |
Kill tributaries | Titles probably needing " tributary" before close paren | select page_title from page where page_namespace=0
and page_is_redirect=0
and (page_title like '%Kill_(%')
and ((page_title like '%Creek)') or (page_title like '%River)'))
| {"runningtime": "0.34", "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 |
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.38", "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 |
WLE-Algeria participants 2014-2019 not active in 2020 | WLE-UA Photo Competition participants 2013-2017 not active in 2018 | use commonswiki_p;
SELECT CONCAT("# {{#target:User_talk:", actor_name, "|commons.wikimedia.org}}") as line
FROM revision r_prev
join categorylinks on rev_page = cl_from
join actor on rev_actor = actor_id and actor_user is not null
WHERE rev_parent_id = 0
and cl_to IN (
"Images_from_Wiki_Loves_Earth_2014_in_Algeria"... | {"runningtime": "0.18", "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 |
Articles without "orphan" tag, that has 0 incoming links (tewiki) | null | USE hiwiki_p;
SELECT
CONCAT('[[',page_title,']]')
FROM page
LEFT JOIN pagelinks
ON pl_title = page_title
AND pl_namespace = page_namespace
WHERE pl_namespace IS NULL
AND page.page_namespace =0 AND page.page_is_redirect = 0
and page.page_id not in (select tl_from from templatelinks where tl_title = 'अनाथ')
and page.p... | {"runningtime": "0.32", "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 |
WLE-Nepal participants 2014-2019 not active in 2020 | WLE-UA Photo Competition participants 2013-2017 not active in 2018 | use commonswiki_p;
SELECT CONCAT("# {{#target:User_talk:", actor_name, "|commons.wikimedia.org}}") as line
FROM revision r_prev
join categorylinks on rev_page = cl_from
join actor on rev_actor = actor_id and actor_user is not null
WHERE rev_parent_id = 0
and cl_to IN (
"Images_from_Wiki_Loves_Earth_2014_in_Nepal",
... | {"runningtime": "0.25", "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 |
Files with old versions at pt.wiki | null | USE ptwiki_p;
select
oi_name AS "file name",
oi_archive_name AS "version name"
from
oldimage | {"runningtime": "0.15", "resultsets": [{"rowcount": 9, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Files with old versions at pt.wiki | null | USE ptwiki_p;
select
oi_name AS "file name",
oi_archive_name AS "version name"
from
oldimage
ORDER BY oi_name ASC | {"runningtime": "0.31", "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 |
Images at pt.wiki with old versions and less 500px height | null | USE ptwiki_p;
select
img_name AS "img name",
img_height AS "img height",
oi_name AS "file name",
oi_archive_name AS "version name"
from
image,
oldimage
WHERE img_name = oi_name AND img_height < 501 AND img_height != 0
ORDER BY img_name ASC | {"runningtime": "0.15", "resultsets": [{"rowcount": 13, "headers": ["cl_to"]}]} | 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.14", "resultsets": [{"rowcount": 8, "headers": ["cl_to"]}]} | null |
WLE-Russia participants 2014-2019 not active in 2020 | null | use commonswiki_p;
SELECT CONCAT("# {{#target:User_talk:", actor_name, "|commons.wikimedia.org}}") as line
FROM revision r_prev
join categorylinks on rev_page = cl_from
join actor on rev_actor = actor_id and actor_user is not null
WHERE rev_parent_id = 0
and cl_to IN (
"Images_from_Wiki_Loves_Earth_2015_in_Russia",... | {"runningtime": "0.22", "resultsets": [{"rowcount": 13, "headers": ["cl_to"]}]} | null |
WLM-Belarus participants 2012-2013 | null | use commonswiki_p;
SELECT CONCAT("# {{#target:User_talk:", actor_name, "|commons.wikimedia.org}}") as line
FROM revision r_prev
join categorylinks on rev_page = cl_from
join actor on rev_actor = actor_id and actor_user is not null
WHERE rev_parent_id = 0
and cl_to IN (
"Images_from_Wiki_Loves_Monuments_2012_in_Bela... | {"runningtime": "0.13", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
Wikidata items of pages with Royal Society Collections links | null | USE enwiki_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 "https://collections.royalsociety.org/DServe.exe%"
AND page.page_na... | {"runningtime": "0.12", "resultsets": [{"rowcount": 7, "headers": ["cl_to"]}]} | 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.11", "resultsets": [{"rowcount": 5, "headers": ["cl_to"]}]} | null |
Wikidata | null | use wikidatawiki_p;
SELECT page_title, GROUP_CONCAT(CONCAT(rev_timestamp, '\t', comment_text, '\t', actor_name) SEPARATOR '<br />\n')
FROM pagelinks AS VIAF, page, revision, comment, actor
WHERE page_namespace = 0
AND VIAF.pl_from = page_id
AND VIAF.pl_namespace = 120
AND VIAF.pl_title = 'P214'
AND rev_page = ... | {"runningtime": "0.14", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
Failed transcodes on Commons | This queries the total number of failed transcodes on Commons and a small sample from them. | USE commonswiki_p;
SELECT COUNT(*) FROM transcode WHERE transcode_time_success IS NULL;
SELECT transcode_image_name, transcode_key FROM transcode WHERE transcode_time_success IS NULL LIMIT 100; | {"runningtime": "0.10", "resultsets": [{"rowcount": 4, "headers": ["cl_to"]}]} | null |
Images at pt.wiki with old versions and less 500px height | null | USE ptwiki_p;
select
oi_name AS "file name"
from
image,
oldimage
WHERE img_name = oi_name AND img_height < 501 AND img_height != 0
ORDER BY img_name ASC | {"runningtime": "0.44", "resultsets": [{"rowcount": 49, "headers": ["cl_to"]}]} | null |
ProofreadTheEmployeeKaniyamகுன்றக்குடிஅடிகளார்நூல்15 | 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.38", "resultsets": [{"rowcount": 50, "headers": ["cat_title", "cat_pages-cat_subcats"]}]} | null |
Number of Admins in Telugu Wikipedia | null | use tewiki_p;
select count(*) from user_groups where ug_group = 'sysop' ;
| {"runningtime": "0.13", "resultsets": [{"rowcount": 9, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Number of Admins in Telugu Wikipedia | null | use tewiki_p;
select count(*) from user_groups where ug_group = 'sysop' ; | {"runningtime": "0.21", "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 |
wmbd contest participants | null | use commonswiki_p;
SELECT CONCAT("# {{#target:User_talk:", actor_name, "}}") as line
FROM revision r_prev
join categorylinks on rev_page = cl_from
join actor on rev_actor = actor_id and actor_user is not null
WHERE rev_parent_id = 0
and cl_to IN (
"Images_from_Wiki_Loves_Earth_2017_in_Bangladesh",
"Images_from_W... | {"runningtime": "0.11", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | 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.34", "resultsets": [{"rowcount": 4, "headers": ["cl_to"]}]} | 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": 3, "headers": ["cl_to"]}]} | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.