title stringlengths 1 212 | description stringlengths 1 4.39k ⌀ | query stringlengths 1 65.5k ⌀ | extra_info stringlengths 18 31.6k | wikidb stringlengths 4 26 ⌀ |
|---|---|---|---|---|
Deleted disambiguation pages | null | USE commonswiki_p;
SELECT *
FROM logging_logindex
JOIN comment_logging ON comment_id = log_comment_id
WHERE
log_type = "delete"
AND log_action = "delete"
AND log_namespace = 0
AND (
comment_text LIKE "%Empty or single image gallery%"
OR comment_text LIKE "%Gallery page without at least two im... | {"runningtime": "0.40", "resultsets": [{"rowcount": 50, "headers": ["cat_title", "cat_pages-cat_subcats"]}]} | null |
hewiki most prolific translators | null | use hewiki_p;
SELECT
rev_actor,
actor_name,
count(revision.rev_id) as articles_created
FROM
change_tag,
actor,
revision
WHERE
revision.rev_parent_id = 0 AND
ct_tag_id = (select ctd_id from change_tag_def where ctd_name = 'contenttranslation') AND
rev_id = ct_rev_id AND
rev_actor = actor_id
GROUP BY
rev_acto... | {"runningtime": "0.48", "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 |
Tool Labs metadata database | Content of the metadata database; see https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Database#Metadata_database for more information. | use meta_p;
SELECT * FROM wiki; | {"runningtime": "0.53", "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 |
WLA-Guinea participants 2014-2020 TEST | null | use commonswiki_p;
SELECT *
FROM revision
join categorylinks on rev_page = cl_from
WHERE
rev_parent_id = 0 AND
rev_actor = revision.rev_actor and
cl_to IN ("Images_from_Wiki_Loves_Earth_2020_in_Guinea") | {"runningtime": "0.78", "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 |
WLE-Croatia participants 2017-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_2017_in_Croatia"... | {"runningtime": "0.46", "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 |
WLM-Guinea participants 2019, WLA-Guinea participants 2014-2020, WLE-Guinea 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_Monuments_2019_in_Guin... | {"runningtime": "0.40", "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 |
WLS-Turkey participants 2015 | 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_European_Science_Photo_Competitio... | {"runningtime": "0.48", "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 |
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.45", "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 |
EN editors registered in past 6 months with <500 edits | null | SELECT COUNT(*) FROM user
WHERE user_registration > "2020-12-08"
AND user_editcount > 500 | {"connection_id": 97245078} | null |
EN editors registered in past 6 months | null | SELECT COUNT(*) FROM user
WHERE user_registration > "2020-12-08" | {"connection_id": 97672335} | null |
EN editors with >1 edit registered in past 6 months | null | SELECT COUNT(*) FROM user
WHERE user_registration > "2020-12-08"
AND user_editcount > 0 | {"runningtime": "153.50", "resultsets": [{"rowcount": 12, "headers": ["CONCAT('# [[',REPLACE(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.29", "resultsets": [{"rowcount": 7, "headers": ["cl_to"]}]} | null |
Get actor row from actor ID | null | USE enwiki_p;
SELECT * FROM actor WHERE actor_id = 1223620 | {"runningtime": "0.50", "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 |
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.37", "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 |
Common & all editors | null | USE enwiki_p;
SELECT actor.actor_name FROM revision
LEFT JOIN actor ON actor.actor_id = revision.rev_actor
WHERE revision.rev_page IN(328215, 328206, 4675)
GROUP BY revision.rev_actor
HAVING COUNT(DISTINCT revision.rev_page) = 3
ORDER BY actor.actor_name;
SELECT actor.actor_name FROM revision
LEFT JOIN actor ON actor... | {"runningtime": "0.40", "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 |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'ז%'
limit 100000000; | {"runningtime": "0.41", "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 |
Free files with at least one old version | For [[WP:VPT#Is there a way to find (free) files with more than one (not deleted) version in the history?]] circa 22 Apr 2020. | SELECT CONCAT('File:', REPLACE(oi_name, '_', ' ')) AS filename,
COUNT(*) AS 'old versions'
FROM oldimage
JOIN page
ON page_namespace = 6
AND page_title = oi_name
WHERE (oi_deleted & 1) = 0
AND NOT EXISTS (SELECT 1
FROM categorylinks
WHERE page_id = cl_from
... | {"runningtime": "0.41", "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 |
Diplomacy Month UkWiki Sandbox | null | 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.21", "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 |
Registered users on the French Wikibooks that became inactive | This lists all registered users on the French Wikibooks that:
- have made edits in the past
- but no edit for a year
with the date of the last edit and the total of edits. | USE frwikibooks_p;
SELECT DISTINCT rev_actor, actor_name, MAX(rev_timestamp) AS last_edit, COUNT(DISTINCT rev_timestamp) AS total_edits
FROM revision
JOIN actor ON revision.rev_actor=actor.actor_id
WHERE actor_user IS NOT NULL # Only registered users
GROUP BY rev_actor
HAVING last_edit < 20190609000000
ORDER BY total... | {"runningtime": "0.39", "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 |
মোট সম্পাদনার সংখ্যা | ১ এপ্রিল ২০২০। উপাত্ত ডাউনলোড করতে, উপাত্ত ডাউনলোড থেকে HTML ক্লিক করুন। | USE bnwiki_p;
SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount
FROM user
WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot')
AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)"
ORDER BY user_editcount DESC... | {"runningtime": "0.30", "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 |
Sichter blocked in German Wikipedia 2019 | null | USE dewiki_p;
select user_name, comment_text from user,ipblocks,comment,user_groups
where ipb_user=user_id
and ug_user=user_id and ug_group='editor'
and ipb_reason_id=comment_id
and ipb_expiry='infinity'
and ipb_timestamp>"20190101000000"
and ipb_timestamp<"20200101000000"
and comment_text not like '%unsch%'
and ... | {"runningtime": "0.35", "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 |
Featured and good articles, not yet promoted from homepage (skwiki) | null | USE skwiki_p;
SELECT
*,
page_title AS title,
page_len,
GROUP_CONCAT(cl_to) AS categories
FROM
page,
categorylinks
WHERE
page_namespace = 0 AND
cl_from = page_id AND
cl_to IN ('Wikipédia:Dobré_články', 'Wikipédia:Najlepšie_články') AND
page_title NOT IN (
SELECT
... | {"runningtime": "0.44", "resultsets": [{"rowcount": 51, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'ו%'
limit 100000000; | {"runningtime": "0.14", "resultsets": [{"rowcount": 1, "headers": ["cl_to"]}]} | null |
Список користувачів за кількістю започаткованих статей | null | USE ukwiki_p;
SELECT @rownum := @rownum + 1 AS rank,
actor_name,
created,
percents
FROM
(
SELECT
CONCAT('[[Користувач:', actor_name, '|]]') as actor_name,
COUNT(1) AS created,
CONCAT(
ROUND(
COUNT(1) /
(SELECT COUNT(1)
FROM page
... | {"runningtime": "0.30", "resultsets": [{"rowcount": 13, "headers": ["cl_to"]}]} | null |
enwiki least edited templates | null | USE enwiki_p;
SELECT page_title AS title, COUNT(*) AS edits FROM revision, `page`
WHERE page_id = rev_page AND page_namespace = 10 AND page_is_redirect = 0
GROUP BY page_id
ORDER BY edits
LIMIT 25000; | {"runningtime": "0.13", "resultsets": [{"rowcount": 10, "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.11", "resultsets": [{"rowcount": 6, "headers": ["cl_to"]}]} | null |
WLA-Rwanda participants 2014-17,19-20, not active in WLE 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_Africa_2014_in_Rwanda"... | {"runningtime": "0.19", "resultsets": [{"rowcount": 12, "headers": ["cl_to"]}]} | null |
mlwiki least edited templates | null | USE mlwiki_p;
SELECT page_title AS title, COUNT(*) AS edits, MIN(rev_timestamp) as created, MAX(rev_timestamp) as updated
FROM revision, `page`
WHERE page_id = rev_page AND page_namespace = 10 AND page_is_redirect = 0
GROUP BY page_id
ORDER BY edits
LIMIT 10; | {"runningtime": "0.11", "resultsets": [{"rowcount": 5, "headers": ["cl_to"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'ח%'
limit 100000000; | {"runningtime": "0.29", "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 |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'ט'ט%'
limit 100000000; | {"runningtime": "0.26", "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 |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'ט%'
limit 100000; | {"runningtime": "0.15", "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 |
Dead-end articles in Telugu Wikipedia | null | use tewiki_p;
SELECT page_title
FROM page
LEFT JOIN pagelinks ON pl_from=page_id
WHERE page_namespace=0 AND page_is_redirect=0 AND pl_from IS NULL ; | {"runningtime": "0.73", "resultsets": [{"rowcount": 95, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Dead-end articles in Telugu Wikipedia | null | use enwiki_p;
SELECT page_title
FROM page
LEFT JOIN pagelinks ON pl_from=page_id
WHERE page_namespace=0 AND page_is_redirect=0 AND pl_from IS NULL
LIMIT 3; | {"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 |
Still active veteran Czech Wikipedia editors as of 2019-01-14 | null | use cswiki_p; select user_id, user_name, max(rev_timestamp) as max_rev_timestamp from user join revision on rev_user = user_id where user_id<=439 and rev_timestamp between '20180114000000' and '20190114000000' group by user_id order by max_rev_timestamp desc | {"runningtime": "0.22", "resultsets": [{"rowcount": 25, "headers": ["cl_to"]}]} | null |
Outdated AnomieBOT EnDashRedirectCreator redirects | This query lists redirects created by AnomieBOT's EnDashRedirectCreator task that should be updated to match changes to the target page. | SELECT
CONCAT(CASE p2.page_namespace & ~1 WHEN 0 THEN '' WHEN 4 THEN 'Wikipedia' WHEN 6 THEN 'File' WHEN 8 THEN 'MediaWiki' WHEN 10 THEN 'Template' WHEN 12 THEN 'Help' WHEN 100 THEN 'Portal' WHEN 108 THEN 'Book' WHEN 710 THEN 'TimedText' ELSE '???' END, CASE WHEN p2.page_namespace=0 THEN '' WHEN p2.page_namespace=1 T... | {"runningtime": "0.12", "resultsets": [{"rowcount": 2, "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.18", "resultsets": [{"rowcount": 29, "headers": ["cl_to"]}]} | null |
Rotlinks auf Fußballnationalmannschaft nach Anzahl Verlinkungen | Siehe https://de.wikipedia.org/w/index.php?title=Wikipedia:Bots/Anfragen&oldid=179435590 | USE dewiki_p;
SELECT COUNT(*) as cnt, CONCAT('[[', REPLACE(pl_title, '_', ' '), ']]') as title
FROM pagelinks LEFT JOIN page ON pl_title = page_title AND pl_namespace = page_namespace
WHERE page_id IS NULL
AND pl_namespace = 0
AND pl_from_namespace = 0
AND (pl_title LIKE "%Fußballnationalmannschaft%" OR pl_... | {"runningtime": "0.12", "resultsets": [{"rowcount": 5, "headers": ["cl_to"]}]} | null |
ruwiki: Convenient Discussions script usage: number of edits in a period | null | use ruwiki_p;
select count(*)
from revision
left join comment on rev_comment_id = comment_id
where
rev_timestamp > "20200601000000" and
# right(comment_text, 6) = "|CD]])"
comment_text like "%|CD]])" | {"runningtime": "0.16", "resultsets": [{"rowcount": 11, "headers": ["cl_to"]}]} | null |
ruwiki: Convenient Discussions script usage: number of edits by user | null | use ruwiki_p;
select count(*) c, actor_name
from revision
join actor on rev_actor = actor_id
join comment on rev_comment_id = comment_id
where
rev_timestamp > "20180220000000" and
comment_text like "%JWBTH/CD%"
group by actor_name
order by c desc | {"runningtime": "0.18", "resultsets": [{"rowcount": 8, "headers": ["cl_to"]}]} | null |
CollabartionKit | null | use testwiki_p;
SELECT page_title, page_namespace from page WHERE page_content_model = "CollaborationListContent" OR page_content_model = "CollaborationHubContent"; | {"runningtime": "0.19", "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 |
ruwiki: Convenient Discussions script usage: number of edits by month | null | use ruwiki_p;
select substring(rev_timestamp, 1, 6) date_, count(*) c
from revision
join actor on rev_actor = actor_id
join comment on rev_comment_id = comment_id
where
rev_timestamp > "20180220000000" and
comment_text like "%JWBTH/CD%"
group by date_
order by date_ asc | {"runningtime": "0.10", "resultsets": [{"rowcount": 0, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
ruwiki: Convenient Discussions script usage: total number of edits | null | use ruwiki_p;
select count(*)
from revision
left join comment on rev_comment_id = comment_id
where
rev_timestamp > "20180220000000" and
# rev_id > 91041898 and
comment_text like "%JWBTH/CD%" | {"runningtime": "0.35", "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 |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'י%'
limit 100000000; | {"runningtime": "0.25", "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 |
Test | null | SHOW TABLES FROM enwiki_p; | {"runningtime": "0.29", "resultsets": [{"rowcount": 38, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
SBB stations missing the module | null | select
p1.page_title,
p1.page_namespace,
concat('https://en.wikipedia.org/wiki/', p1.page_title) as url
from
page p1
join categorylinks on categorylinks.cl_from=p1.page_id and (categorylinks.cl_to='Swiss_Federal_Railways_stations')
where p1.page_namespace = 0
and not exists (SELECT 1 FROM templatelinks WH... | {"runningtime": "0.13", "resultsets": [{"rowcount": 2, "headers": ["cl_to"]}]} | null |
Telugu Wikipedia no of bots, sysop(admins),bureaucrat | null | use tewiki_p;
select ug_group , count(*) as total from user_groups group by ug_group ; | {"runningtime": "0.15", "resultsets": [{"rowcount": 5, "headers": ["cl_to"]}]} | null |
Telugu Wikipedia articles that are less than 2000 bytes | null | use tewiki_p;
select count(page_title) from page where page_namespace=0
and page_len < 2000; | {"runningtime": "0.16", "resultsets": [{"rowcount": 2, "headers": ["cl_to"]}]} | null |
Telugu Wikipedia orphan pages | null | use tewiki_p;
select page_title
from page
LEFT JOIN pagelinks on pl_namespace = page_namespace and pl_title = page_title
LEFT JOIN templatelinks on tl_namespace = page_namespace and tl_title = page_title
where pl_namespace IS NULL and page_namespace = 0 and page_is_redirect = 0 and tl_namespace IS NULL; | {"runningtime": "0.12", "resultsets": [{"rowcount": 5, "headers": ["cl_to"]}]} | null |
Dead-end pages in Telugu Wikipedia | null | use tewiki_p;
select count(page_title)
from page
LEFT JOIN pagelinks on page_id=pl_from
where pl_from IS NULL and page_namespace = 0 and page_is_redirect = 0; | {"runningtime": "0.11", "resultsets": [{"rowcount": 3, "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.21", "resultsets": [{"rowcount": 7, "headers": ["cl_to"]}]} | null |
Klammerlemmata als Weiterleitungen (möglicher Verschieberest) | Klammerlemmata ohne Verlinkung aus dem ANR, bei denen der letzte Änderungskommentar das Wort "verschob" enthält, also höchstwahrscheinlich Verschiebereste. | use dewiki_p;
SELECT page_title AS "Weiterleitungsseite", comment_text AS "Änderungskommentar"
FROM page LEFT JOIN revision ON rev_page = page_id AND rev_id = page_latest LEFT JOIN comment on rev_comment_id = comment_id
WHERE NOT EXISTS ( SELECT 1
FROM pagelinks
WHERE pl_na... | {"runningtime": "0.70", "resultsets": [{"rowcount": 76, "headers": ["grand_grand_parent_title", "grand_grand_parent_subcats", "grand_parent_title", "grand_parent_subcats", "parent_title", "parent_subcats", "child_title"]}]} | null |
Links en wiki a urls de elmundo | paginas de wikipedia con enlace a elmundo.es | USE eswiki_p;
SELECT page_title,el_id , el_to , el_index
FROM externallinks, page
Where el_from=page_id
AND externallinks.el_to like '%elmundo.es%'
AND page_namespace=0; | {"runningtime": "0.48", "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 |
Usuários com "bot" no nome | null | USE ptwiki_p;
SELECT
user_name,
user_editcount,
IF(ug_user, 'tem', IF(ufg_user, 'já teve', 'nunca teve')) bot_flag
FROM
user
LEFT JOIN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') bots
ON user_id = ug_user
LEFT JOIN (SELECT ufg_user FROM user_former_groups WHERE ufg_group = 'bot') fbots
ON user_id = u... | {"runningtime": "0.11", "resultsets": [{"rowcount": 1, "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.18", "resultsets": [{"rowcount": 18, "headers": ["cl_to"]}]} | null |
Container categories with pages not in subcategories | Container categories with pages | SELECT concat( '*[[:Category:', cat_title, ']] - ', cat_pages - cat_subcats )
FROM enwiki_p.categorylinks
INNER JOIN enwiki_p.page ON cl_from = page_id
INNER JOIN enwiki_p.category on cat_title = page_title
WHERE cl_to = 'Container_categories'
AND cl_type = 'subcat'
AND cat_pages > cat_subcats
ORDER BY (cat_pages - c... | {"runningtime": "0.23", "resultsets": [{"rowcount": 44, "headers": ["cl_to"]}]} | null |
Schema for enwiki_p.geo_tags | Current schema for enwiki_p.geo_tags | DESCRIBE enwiki_p.geo_tags; | {"runningtime": "0.38", "resultsets": [{"rowcount": 69, "headers": ["cl_to"]}]} | null |
stub articles in Telugu Wikipedia | null | use tewiki_p;
select * from page left join categorylinks on cl_from = page_id where page_title like = 'మొలక' ; | {"runningtime": "0.19", "resultsets": [{"rowcount": 25, "headers": ["cl_to"]}]} | null |
Tewiki Stub Count | tewiki-stubs-count | use tewiki_p;
select count(1), count(distinct cl_from)
from categorylinks cl
join page p on cl.cl_from = p.page_id and p.page_namespace not in (14, 0)
where cl_type = 'page'
and cl_to like '%మొలక%'
| {"runningtime": "0.15", "resultsets": [{"rowcount": 16, "headers": ["cl_to"]}]} | null |
CollabartionKit | null | use testwiki_p;
SELECT page_title, page_namespace from page WHERE page_content_model = "CollaborationListContent" OR page_content_model = "CollaborationHubContent"; | {"runningtime": "0.13", "resultsets": [{"rowcount": 5, "headers": ["cl_to"]}]} | null |
AfC accepts/declines per submitter (month) * | null | 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": "0.85", "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 |
List of ukwiki users by number of unique articles edited | null | use ukwiki_p;
select a.actor_name, count(distinct r.rev_page) as articles_edited
from revision_userindex r
join page p on r.rev_page = p.page_id and p.page_is_redirect = 0 and p.page_namespace = 0
left join page_props pp on p.page_id = pp.pp_page and pp.pp_propname = 'disambiguation'
join actor a on r.rev_actor = a.act... | {"connection_id": 98902698} | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"connection_id": 99019069} | null |
Titles with trailing slash - T229443 | https://phabricator.wikimedia.org/T229443 | SELECT 'meta.wikimedia.org' AS _wiki, page_namespace, page_title, page_id
FROM metawiki_p.page
WHERE page_title LIKE '%/'
UNION
SELECT 'commons.wikimedia.org' AS _wiki, page_namespace, page_title, page_id
FROM commonswiki_p.page
WHERE page_title LIKE '%/'
UNION
SELECT 'en.wikipedia.org' AS _wiki, page_namespace, page_t... | {"runningtime": "581.26", "resultsets": [{"rowcount": 104492, "headers": ["page_title"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'ט%'
limit 100000000; | {"runningtime": "115.32", "resultsets": [{"rowcount": 19235, "headers": ["page_title"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'י%'
limit 100000000; | {"runningtime": "0.75", "resultsets": [{"rowcount": 19, "headers": ["ar_id", "ar_namespace", "ar_title", "ar_text", "ar_comment_id", "ar_actor", "ar_timestamp", "ar_minor_edit", "ar_flags", "ar_rev_id", "ar_text_id", "ar_deleted", "ar_len", "ar_page_id", "ar_parent_id", "ar_sha1", "ar_content_model", "ar_content_format... | null |
Shantanu Bhardwaj registration time | null | select user_registration from user, actor
where user_id = actor_user
and actor_name = 'Shantanu Bhardwaj';
| {"runningtime": "1.00", "resultsets": [{"rowcount": 129, "headers": ["CONCAT('[[:\u062a\u0635\u0646\u064a\u0641:',p.page_title,']]')"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'כ%'
limit 100000000; | {"runningtime": "6.04", "resultsets": [{"rowcount": 5, "headers": ["linter_cat", "count(*)"]}]} | null |
Disambiguation pages without template on huwiki | null | USE huwiki_p;
SELECT page_title FROM page
WHERE page_namespace = 0 AND page_title LIKE '%_(egyértelműsítő_lap)' AND page_is_redirect = 0 AND page_id NOT IN (
SELECT tl_from FROM templatelinks WHERE tl_namespace = 10 AND tl_title = 'Egyért'
); | {"runningtime": "5.46", "resultsets": [{"rowcount": 996, "headers": ["REPLACE(page_title,'_',' ')", "COUNT(*)"]}]} | null |
البوابات المعادلة الفرنسية | يُفضل استثناء البوابتين التاليتين:
1. بوابة إرهاب
2. بوابة مثلية جنسية
لوجود اختلاف في الثقافات بين الموسوعة العربية والفرنسية | use arwiki_p;
SELECT p.page_title, p3.page_title,
group_concat(el.ll_title SEPARATOR '***') AS ll_title
FROM page p
INNER JOIN langlinks l1 ON l1.ll_from = p.page_id
INNER JOIN frwiki_p.page frpage ON (frpage.page_title) = (replace(l1.ll_title, " ", "_"))
INNER JOIN frwiki_p.templatelinks frtemp ON frtemp.tl_fro... | {"runningtime": "306.24", "resultsets": [{"rowcount": 31, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount": 178, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount":... | null |
Files imported to Commonswiki, by month | null | use commonswiki_p;
select
count(*) as `num`,
left(rev_timestamp, 6) as `year_month`
from templatelinks
join page on tl_from = page_id
join revision on page_id = rev_page
where
tl_from_namespace = 6 -- NS_FILE
and tl_namespace = 10 -- NS_TEMPLATE
and tl_title = 'Original_upload_log'
and (rev_parent_id is null o... | {"runningtime": "1247.97", "resultsets": [{"rowcount": 25000, "headers": ["MID", "P6305", "OTRS", "CONCAT(\"File:\",page_title)"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'י%'
limit 100000000; | {"runningtime": "56.49", "resultsets": [{"rowcount": 8908, "headers": ["CONCAT('# [[:File:', REPLACE(REPLACE(p.page_title, '\"', '**DOUBLEQUOTE**'), '_', ' '), ']]')"]}]} | null |
T2 | null | SELECT
rc_timestamp AS `time`,
actor_name AS `user`,
rc_namespace AS `namespace`,
rc_title AS `page`,
comment_text AS `comment`
FROM
recentchanges_userindex
LEFT JOIN actor_logging ON actor_id = rc_actor
JOIN comment_logging ON comment_id = rc_comment_id
WHERE
rc_log_type = 'delete'
AND comment_text... | {"runningtime": "4.41", "resultsets": [{"rowcount": 932, "headers": ["REPLACE(page_title,'_',' ')", "COUNT(*)"]}]} | null |
Edit counts of AFD nominators | null | USE enwiki_p;
SELECT P.page_title, R.rev_timestamp, A.actor_name, U.user_editcount
FROM revision R
JOIN page P ON R.rev_page = P.page_id
JOIN actor A ON A.actor_id = R.rev_actor
JOIN user U ON U.user_id = A.actor_user
WHERE R.rev_parent_id = 0
AND P.page_namespace = 4
AND (R.rev_timestamp >= 20200501000000 AND R.r... | {"connection_id": 104578260} | null |
Wikimedia Commons media with Czech description needing categories | null | SELECT CONCAT('*[[:File:', page_title, ']]') AS wikitext FROM commonswiki_p.page JOIN commonswiki_p.categorylinks ON cl_from = page_id JOIN commonswiki_p.templatelinks ON tl_from = page_id WHERE page_namespace = 6 AND cl_to IN (SELECT page_title FROM commonswiki_p.categorylinks JOIN commonswiki_p.page ON cl_from = page... | {"connection_id": 104884402} | null |
ProofreadTheEmployeeKaniyamகுன்றக்குடிஅடிகளார்நூல்16 | 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": "68.62", "resultsets": [{"rowcount": 17175, "headers": ["page_namespace", "page_title"]}]} | null |
T2 speedies | Deletions of pages in the Template: namespace containing "T2" (as a distinct word) in the log comment.
For [[WT:CSD#RfC: Removing T2]] circa 16 June 2020. | SELECT DATE_FORMAT(log_timestamp, '%Y-%m-%d %H:%i:%s') AS timestamp,
CONCAT('Template:', log_title) AS pagename,
comment_text
FROM logging
JOIN comment_logging ON comment_id = log_comment_id
WHERE log_type = 'delete'
AND log_action = 'delete'
AND log_namespace = 10 -- Template:
AND comment_text RLIK... | {"connection_id": 106539681} | null |
Pagelinks | null | use ptwiki_p;
select *
from pagelinks
where
# pl_title = 'Princípio da imparcialidade'
pl_title = 'Club de Regatas Vasco da Gama'
# pl_namespace = 4
| {"connection_id": 106763068} | null |
تصانيف جاهزة بحاجة لإنشاء من المقابل الإنجليزي حسب عنوان المقالة | https://quarry.wmflabs.org/fork/45631 | use arwiki_p;
select page_title as "عنوان المقالة", replace(ll_title," ","_") as "التصنيف الإنجليزي", concat("تصنيف:",page_title) as "اسم التصنيف الذي بحاجة لإنشاء"
from page
inner join langlinks
on ll_from = page_id
where page_namespace = 0
and page_is_redirect = 0
and page_title not in (select page_title from page wh... | {"runningtime": "0.32", "resultsets": [{"rowcount": 2, "headers": ["page_title"]}]} | null |
validated-Rabiyathulகுன்றக்குடிஅடிகளார்நூல்16 | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"connection_id": 108981283} | null |
تصنيفات جاهزة "بلديات في" بحاجة لإنشاء من المقابل الإنجليزي | null | use enwiki_p;
select p1.page_title, replace (p1.page_title, "Municipalities_in_", "")
from page p1
where p1.page_namespace = 14
and p1.page_is_redirect = 0
and p1.page_title like "Municipalities_in_%"
and p1.page_id not in (select cl_from
from categorylinks
where cl_to = "Disamb... | {"runningtime": "21.20", "resultsets": [{"rowcount": 1, "headers": ["count(*)"]}]} | null |
تصنيفات جاهزة "أماكن مأهولة في" بحاجة لإنشاء من المقابل الإنجليزي | null | use enwiki_p;
select p1.page_title, replace (p1.page_title, "Populated_places_in_", "")
from page p1
where p1.page_namespace = 14
and p1.page_is_redirect = 0
and p1.page_title like "Populated_places_in_%"
and p1.page_id not in (select cl_from
from categorylinks
where cl_to = "Di... | {"runningtime": "5.85", "resultsets": [{"rowcount": 1, "headers": ["count(distinct(page_id))"]}]} | null |
Non-redir, non-dab main namespace pages | For [[WP:VPT#Want a list of all categories, and a list of all articles]] circa 17 Jun 2020. | SELECT page_title
FROM page
WHERE page_namespace = 0 -- main namespace
AND page_is_redirect = 0 -- exclude redirects
AND NOT EXISTS (SELECT 1
FROM categorylinks
WHERE cl_from = page_id
AND cl_to = 'All_article_disambiguation_pages') -- not in this category; ch... | {"connection_id": 109669965} | null |
Telugu Wikipedia Statistics | null | use tewiki_p;
select * from site_stats; | {"runningtime": "5.69", "resultsets": [{"rowcount": 1, "headers": ["count(distinct(page_id))"]}]} | null |
FloridaArmy mainspace creations | null | select log_timestamp, page_title, comment_text from logging_userindex, actor, page, comment
where
actor_name = 'FloridaArmy'
and log_actor = actor_id
and log_page = page_id
and log_namespace = 0
and log_action = 'create'
and log_timestamp >= '20180601000000'
and log_comment_id = comment_id
and lower(convert(comment... | {"connection_id": 111782752} | null |
List of ukwiki users by unique articles they edited | null | set group_concat_max_len = 1024*1024;
use ukwiki_p;
select a.actor_name, count(distinct p.page_title) as articles_count, group_concat(distinct p.page_title) as articles_edited
from revision_userindex r
join page p on r.rev_page = p.page_id and p.page_is_redirect = 0 and p.page_namespace = 0
left join page_props pp on p... | {"runningtime": "17.09", "resultsets": [{"rowcount": 1, "headers": ["ss_total_edits"]}, {"rowcount": 1, "headers": ["SUM(user_editcount)"]}, {"rowcount": 806, "headers": ["userid", "name", "editcount", "admin", "bot"]}]} | null |
Wikidata - list of properties (English labels) | null | use wikidatawiki_p;
SELECT CURRENT_DATE;
SELECT CONCAT('P', term_entity_id), term_text
from wb_terms
WHERE term_entity_type = 'property' AND term_language = 'en' and term_type = 'label'
ORDER bY term_entity_id desc; | {"connection_id": 114632056} | null |
تخصيص البذور حسب المقالات المشابهة حسب التصنيف | null | use arwiki_p;
select concat("#[[", p1.page_title,"]]--->",
group_concat(DISTINCT concat("<div class = \"stub-value ",cl4.cl_to,"\">", cl4.cl_to, "</div>") SEPARATOR ' '),"</br>")
from page p1
inner join categorylinks cl1
on cl1.cl_from = p1.page_id
inner join categorylinks cl2
on p1.page_id = cl2.cl_from
inn... | {"runningtime": "0.16", "resultsets": [{"rowcount": 2, "headers": ["page_title", "pp_propname", "pp_value"]}]} | null |
stub articles in Telugu Wikipedia | null | use tewiki_p;
select count(1), count(distinct cl_from)
from categorylinks cl
join page p on cl.cl_from = p.page_id and p.page_namespace = 0
where cl_type = 'page' and cl_to like '%మొలక%' | {"runningtime": "81.15", "resultsets": [{"rowcount": 1, "headers": ["CONCAT('[[', page_title, ']]')"]}]} | null |
Telugu Wikipedia articles with one image | null | use tewiki_p;
SELECT count(*) FROM
(SELECT page_title , count(*) as cou
FROM page
LEFT JOIN imagelinks ON il_from=page_id
WHERE page_namespace=0 AND page_is_redirect=0 AND il_from IS not NULL GROUP BY il_from having cou = '1') as t; | {"runningtime": "14.94", "resultsets": [{"rowcount": 5, "headers": ["CONCAT(\"Q\",ips_item_id)", "Lbn", "CONCAT('\"',ips_site_page,'\"')"]}]} | null |
Telugu Wikipedia articles with more than one image | null | use tewiki_p;
select count(*) from
(SELECT page_title , count(*) as cou
FROM page
LEFT JOIN imagelinks ON il_from=page_id
WHERE page_namespace=0 AND page_is_redirect=0 AND il_from IS not NULL GROUP BY il_from having cou > 1) as tit; | {"runningtime": "9.80", "resultsets": [{"rowcount": 122, "headers": ["CONCAT('# [[',page_title,']]')"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'ל%'
limit 100000000; | {"runningtime": "889.17", "resultsets": [{"rowcount": 1000, "headers": ["\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0\u0995\u09be\u09b0\u09c0_\u09a8\u09be\u09ae", "\u09ae\u09cb\u099f_\u09a8\u09bf\u09ac\u09a8\u09cd\u09a7"]}]} | null |
- 1רק עמוד מפנה ורק מרחב ראשי | https://quarry.wmflabs.org/query/43917 Uziel302M - שיחהM 14:02, 14 באפריל 2020 (IDT)
Uziel302M מה זה?--סוס פוניM - שיחה 14:26, 14 באפריל 2020 (IDT)
מה שביקשת, שאילתא שמציגה רק את העמוד המפנה ורק מהמרחב הראשי. Uziel302M - שיחהM 14:57, 14 באפריל 2020 (IDT) | use hewiki_p;
select p.page_title from redirect r
join page p on r.rd_from=p.page_id
where r.rd_namespace=0 and p.page_namespace=0 and p.page_title like 'מ%'
limit 100000000; | {"connection_id": 118637958} | null |
WLE-Italy participants 2018-19, 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_2018_in_Italy",
... | {"runningtime": "0.11", "resultsets": [{"rowcount": 2, "headers": ["pp_value", "page_title", "page_namespace"]}]} | null |
AND page_title LIKE "%with_bad_names%" | null | USE commonswiki_p;
SELECT CONCAT("Category:",page_title,"")
FROM page AS page
WHERE page_namespace = 14
AND page_title LIKE "%with_bad_names%"
#AND page_is_redirect = 1
#AND (page_title LIKE "%peopel%" OR page_title LIKE "%Peopel%")
LIMIT 399; | {"runningtime": "5.10", "resultsets": [{"rowcount": 5, "headers": ["linter_cat", "count(*)"]}]} | null |
page_title LIKE "Vlcsnap%" | null | USE commonswiki_p;
SELECT CONCAT("File:",page_title,"")
FROM page AS page
WHERE page_namespace = 6
AND page_title LIKE "Vlcsnap%"
#AND page_is_redirect = 1
#AND (page_title LIKE "%peopel%" OR page_title LIKE "%Peopel%")
LIMIT 399; | {"runningtime": "0.03", "resultsets": []} | null |
'NEW' Marathi editor, account created in last 2 years (between May2018-May2020), with 50-10k edits in last year (since May2019) | null | use mrwiki_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... | {"connection_id": 124419673} | null |
EXPERIENCED' Marathi editor, account created more than 2 years ago (between May2008-May2018), with 100-10k edits in last year (since May2019) | null | use mrwiki_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": "9.86", "resultsets": [{"rowcount": 81, "headers": ["page_title"]}]} | null |
Pages and subcategories directly on a specific category, Database management systems | null | use bnwiki_p;
SELECT IF(page_namespace = 14, 'category', 'article') as type, page_title FROM categorylinks JOIN page ON page_id = cl_from WHERE cl_to = 'জীবিত_ব্যক্তি' | {"runningtime": "259.18", "resultsets": [{"rowcount": 1, "headers": ["timestamp"]}, {"rowcount": 4, "headers": ["wpage"]}]} | 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": "6.78", "resultsets": [{"rowcount": 12, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 5, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 6, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}]} | null |
CSD G13 Eligible Drafts | null | SELECT concat('[[Draft:',page_title,']]') as page_title, cast(page_touched as DATE) as page_touched
FROM page
WHERE page_namespace = 118
AND page_touched < 20191220235959
AND page_is_redirect = 0
ORDER BY page_touched | {"runningtime": "0.11", "resultsets": [{"rowcount": 10, "headers": ["user_id", "user_name", "user_real_name", "user_password", "user_newpassword", "user_email", "user_options", "user_touched", "user_token", "user_email_authenticated", "user_email_token", "user_email_token_expires", "user_registration", "user_newpass_ti... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.