title stringlengths 1 212 | description stringlengths 1 4.39k ⌀ | query stringlengths 1 65.5k ⌀ | extra_info stringlengths 18 31.6k | wikidb stringlengths 4 26 ⌀ |
|---|---|---|---|---|
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী /V2 | null | USE bnwiki_p;
SET @counter:=0;
SELECT
CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",actor_name,"|") AS user_name,
COUNT(rev_id) AS মোট_নিবন্ধ
FROM actor INNER JOIN revision
ON revision.rev_actor = actor.actor_id
JOIN page
ON page.page_id = revision.rev_page
WHERE page_is_redirect = 0
AND rev... | {"resultsets": [{"rowcount": 25, "headers": ["reviews", "actor_name", "accept %", "reject %"]}], "runningtime": "5.20"} | null |
Antarctic Week | List of articles created for the She Did It Challenge 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) as actor_name,
COUNT(1) AS created,
SUM(article.page_len) as total_len,
GROUP_CONCAT(
DI... | {"resultsets": [{"rowcount": 73, "headers": ["page_title"]}], "runningtime": "0.61"} | null |
ruwiki: Users with CSS/JS/JSON edits. 29 January 2020 | null | use ruwiki_p;
SELECT
actor_name,
# ug_group, # IF (ug_group = 'sysop', 'admin', 'engineer') group_name
css,
js,
json,
userscripts,
(css + js + json + userscripts) total
FROM
(
SELECT
actor_name,
SUM(CASE WHEN ext = 'css' AND page_namespace = 8 THEN cnt ELSE 0 END) css,
SUM(CASE WHE... | {"resultsets": [{"rowcount": 57, "headers": ["rev_timestamp", "rev_actor", "rev_page", "page_title"]}], "runningtime": "6.19"} | null |
ruwiki: Users with global / other users' JS/CSS edits. 29 January 2020 | null | use ruwiki_p;
SELECT
actor_name,
css,
js,
userscripts,
(css + js + userscripts) total
FROM
(
SELECT
actor_name,
SUM(CASE WHEN ext = 'css' AND page_namespace = 8 THEN cnt ELSE 0 END) css,
SUM(CASE WHEN ext = 'js' AND page_namespace = 8 THEN cnt ELSE 0 END) js,
SUM(CASE WHEN page_nam... | {"resultsets": [{"headers": ["pl_from", "pl_namespace", "pl_title", "pl_from_namespace"], "rowcount": 100}], "runningtime": "0.42"} | null |
LR counter, Commons | null | use commonswiki_p;
select count(*) as "Number of license reviews"
from revision
join comment
on comment_id = rev_comment_id
join revision_actor_temp
on revactor_rev = rev_id
join actor
on actor_id = revactor_actor
where actor_name = "Ahmad252" -- Or your username. Please note that this query has been only tested with M... | {"resultsets": [{"headers": ["user_name", "user_editcount", "user_registration", "Last edit", "user_groups"], "rowcount": 144}], "runningtime": "2.48"} | null |
File move counter, Commons | null | use commonswiki_p;
select count(*) as "Number of file moves"
from logging
where log_type = "move"
and log_actor = "6086297"
and log_namespace = 6; | {"resultsets": [{"rowcount": 12, "headers": ["File name", "Date", "Size", "Uploader's name"]}], "runningtime": "966.88"} | null |
test | null | null | {"resultsets": [{"headers": ["actor_name", "count(*)"], "rowcount": 0}], "runningtime": "0.11"} | null |
Get some dead persons without talk pages | Gets all pages with the category which don't have a talk page | SELECT page.page_title FROM page INNER JOIN categorylinks ON categorylinks.cl_from = page.page_id WHERE (categorylinks.cl_to = "Year_of_death_missing" or categorylinks.cl_to = "Date_of_death_missing") and page.page_namespace = "0" and NOT EXISTS (SELECT NULL FROM page p2 WHERE p2.page_namespace = "1" and p2.page_title ... | {"resultsets": [{"rowcount": 24, "headers": ["CONCAT('# [[:File:', page_title, ']]')"]}], "runningtime": "5.37"} | null |
100 maiores editores da ptwiki por número de edição e gênero | null | use ptwiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"], "rowcount": 387}], "runningtime": "8.90"} | null |
أسماء مستخدم مخالفة غير ممنوعة | null | use arwiki_p;
select user_name from user
where (user_name like "%وزارة%"
or user_name like "%وزير%"
or user_name like "%رئيس%"
or user_name like "%مجموعة%"
or user_name like "% and %"
or user_name like "%حزب%"
or user_name like "%شركة%"
or user_name like "%مدير%"
or user_... | {"resultsets": [{"headers": ["File name", "Date", "Size", "Uploader's name"], "rowcount": 25}], "runningtime": "978.35"} | null |
Active users list at commons | Based on https://commons.wikimedia.org/wiki/User:F%C3%A6/Userlist | Use commonswiki_p;
select user_name, user_editcount, CAST(max(revactor_timestamp) AS DATETIME) 'last edit', groups, reg from (select user_name, user_editcount, GROUP_CONCAT( ug1.ug_group SEPARATOR ", " ) "groups", substr(user_registration, 1, 4) "reg" from user left join user_groups ug1 on ug1.ug_user = user_id left j... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "MIN(rev_timestamp)"]}], "runningtime": "0.52"} | null |
Orphan subpages of portals | Looks for first-level subpages of portals which were left without incoming links or transclusions, probably after being superseded by newer templates. | USE enwiki_p;
SELECT page_title, count(tl_from) AS transclusions, COUNT(pl_from) AS links -- , COUNT(tl_from)
FROM page
LEFT JOIN templatelinks
ON page_title = tl_title
AND tl_namespace = 100
AND tl_from_namespace = 100
LEFT JOIN pagelinks
ON page_title = pl_title
AND pl_from_namespace = 100
AND pl_namespace = 100
WHER... | {"resultsets": [{"rowcount": 1, "headers": ["page_title", "MIN(rev_timestamp)"]}], "runningtime": "0.15"} | null |
License review count | License review count on commons | use commonswiki_p;
select count(*) as "Number of license reviews"
from revision
join comment
on comment_id = rev_comment_id
join revision_actor_temp
on revactor_rev = rev_id
join actor
on actor_id = revactor_actor
where actor_name = "Tiven2240" -- Or your username. Please note that this query has been only tested with ... | {"resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 4916}], "runningtime": "342.78"} | null |
List by metadata spam | See https://commons.wikimedia.org/w/index.php?oldid=380030367 | USE commonswiki_p;
SELECT distinct actor_name, img_name,
SUBSTRING(img_metadata, INSTR(img_metadata, "water") - 12, 20) AS EXIF
FROM image
JOIN actor_image ON img_actor = actor_id
WHERE img_timestamp>20120100000000 AND img_minor_mime="jpeg" AND img_metadata LIKE "%waterproofing%"
GROUP BY actor_name
LIMIT 90;
| {"resultsets": [{"rowcount": 1, "headers": ["gil_wiki", "gil_page", "gil_page_namespace_id", "gil_page_namespace", "gil_page_title", "gil_to"]}], "runningtime": "0.09"} | null |
وپ:دار | null | USE fawiki_p;
SELECT concat('* [[:رده:',REPLACE(frst.page_title,'_',' '),']] > [[:رده:',REPLACE(REPLACE(frst.page_title,'_',' '),'که بر پایه آنها نمایشنامه ساخته شدهاست','مورد اقتباس در نمایشنامهها'),']]')
FROM page AS frst
WHERE frst.page_is_redirect=0
AND frst.page_namespace=14
AND frst.page_title LIKE "%بر_پایه... | {"resultsets": [{"headers": ["log_title", "log_id", "log_timestamp"], "rowcount": 16}], "runningtime": "421.36"} | null |
find pagelinks title LIKE '%ttp%' | null | USE commonswiki_p;
SELECT CONCAT ("File:",page_title,"")
FROM page AS page
WHERE page_title LIKE '%.opus'
AND page_namespace = 6
#AND cat_title NOT LIKE "Images_from_the_Geograph_British_Isles_project_needing_categories%"
#(cat_title LIKE '%don%require%'
# OR cat_title LIKE '%Biathl%')
#OR pl_title LIKE '%Http%'... | {"connection_id": 7000420} | 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
... | {"resultsets": [{"headers": ["Image", "Date", "Comment"], "rowcount": 11}], "runningtime": "0.38"} | null |
Most linked unexisting pages on plwiki | null | USE trwiki_p;
SELECT pl_title, COUNT(*) as counting
FROM pagelinks
WHERE pl_from_namespace = 0
AND pl_namespace = 0
AND NOT EXISTS (
SELECT *
FROM page
WHERE page_title = pl_title
AND page_namespace = pl_namespace
)
GROUP BY pl_title
ORDER BY counting DESC, pl_title
LIMIT 5000 | {"resultsets": [{"rowcount": 500, "headers": ["concat(\"#[[\", p1.page_title,\"]]--->\", \n group_concat(DISTINCT concat(\"<div class = \\\"stub-value \",cl4.cl_to,\"\\\">\", cl4.cl_to, \"</div>\") SEPARATOR ' '),\"</br>\")"]}], "runningtime": "18.61"} | null |
100 maiores editores da ptwiki por número de edição e gênero | null | use ptwiki_p;
select user_editcount, user_name, up_value from user u left join user_properties up ON (u.user_id=up.up_user and up_property = "gender" and up_property = "nobot")
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"rowcount": 0, "headers": ["concat('# [[\u0648\u06cc\u06a9\u06cc\u200c\u067e\u062f\u06cc\u0627:',REPLACE(page_title,'_',' '),']]')"]}], "runningtime": "0.13"} | null |
100 maiores editores da ptwiki por número de edição e gênero | null | use eowiki_p;
select user_editcount, user_name, up_value from user u left join user_properties up ON (u.user_id=up.up_user and up_property = "gender")
ORDER BY user_editcount desc
limit 300; | {"resultsets": [{"headers": ["ss_total_edits"], "rowcount": 1}, {"headers": ["SUM(user_editcount)"], "rowcount": 1}, {"headers": ["userid", "name", "editcount", "admin", "bot"], "rowcount": 808}], "runningtime": "4.39"} | null |
Gender of most active editors on German WP | Gender of most active editors on German WP (including those who didn't set gender). | use dewiki_p;
select user_editcount, user_name, up_value from user u left join user_properties up ON (u.user_id=up.up_user and up_property = "gender")
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["Title", "user", "comment"], "rowcount": 0}], "runningtime": "0.09"} | null |
Gender of 100 most active editors on en:wp who chose gender | Gender of 100 most active editors on en:wp who chose gender | use enwiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"rowcount": 108, "headers": ["Title", "user", "comment"]}], "runningtime": "3.38"} | null |
Gender of 100 most active editors on no:wp | null | use nowiki_p;
select user_editcount, user_name, up_value from user u left join user_properties up ON (u.user_id=up.up_user and up_property = "gender")
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["Title", "user", "comment"], "rowcount": 194}], "runningtime": "4.56"} | null |
Gender of 100 most active editors on no:wo who chose gender | null | use nowiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 18}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 8}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 8}], "runningtime": "5.03"} | null |
Gender of 100 most active editors on sv:wp who chose gender | null | use svwiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["CONCAT(\"Q\",ips_item_id)", "CONCAT(\"Lar\")", "CONCAT('\"',ips_site_page,'\"')"], "rowcount": 1061}], "runningtime": "86.25"} | null |
Gender of 100 most active editors on sv:wp | null | use svwiki_p;
select user_editcount, user_name, up_value from user u left join user_properties up ON (u.user_id=up.up_user and up_property = "gender")
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"rowcount": 1061, "headers": ["CONCAT(\"Q\",ips_item_id)", "CONCAT(\"Lar\")", "CONCAT('\"',ips_site_page,'\"')"]}], "runningtime": "102.50"} | null |
Gender of 100 most active editors on hy:wp (Armenian), who chose gender | Gender of 100 most active editors on hy:wp (Armenian), who chose gender | use hywiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 854}], "runningtime": "302.42"} | null |
Gender of most active editors on hy:wp (Armenian) | Gender of most active editors on hy:wp (Armenian) | use hywiki_p;
select user_editcount, user_name, up_value from user u left join user_properties up ON (u.user_id=up.up_user and up_property = "gender")
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"rowcount": 4881, "headers": ["page_title", "cl_to"]}], "runningtime": "275.61"} | null |
Gender of 100 most active editors on German WP (who set gender) | Showing the gender of the 100 most active users in German WP, who have set their gender preferences. | use eowiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"rowcount": 0, "headers": ["page_title", "a"]}], "runningtime": "9.03"} | null |
Commons cat '%by_quantity%' | null | USE commonswiki_p;
SELECT CONCAT ("Category:",cat_title,"")
FROM category AS cat
WHERE cat_title LIKE '%by_quantity%'
#AND cat_title NOT LIKE "Images_from_the_Geograph_British_Isles_project_needing_categories%"
#(cat_title LIKE '%don%require%'
# OR cat_title LIKE '%Biathl%')
#OR pl_title LIKE '%Http%'
LIMIT 9999... | {"resultsets": [{"rowcount": 822, "headers": ["cl_to", "a"]}], "runningtime": "35.85"} | null |
Gender of most active editors on ja:wp who declared gender | null | use jawiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["page_title", "a", "count(*)"], "rowcount": 0}], "runningtime": "70.06"} | null |
Gender of most active editors on es:wp who declared gender | null | use eswiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["page_title", "count(*)"], "rowcount": 100}], "runningtime": "57.23"} | null |
Gender of most active editors who declared gender on ru:wp | null | use ruwiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"rowcount": 100, "headers": ["page_title", "right(left(page_title,1),1)"]}], "runningtime": "0.35"} | null |
Gender of most active editors who declared gender on fr:wp | null | use frwiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"headers": ["page_title", "left(page_title,1)"], "rowcount": 100}], "runningtime": "0.36"} | null |
Gender of most active editors who declared gender on fr:wp | null | use frwiki_p;
select user_editcount, user_name, up_value from user, user_properties
where user_id = up_user and up_property = "gender"
ORDER BY user_editcount desc
limit 100; | {"resultsets": [{"rowcount": 100, "headers": ["left(page_title,1)", "counts"]}], "runningtime": "2.02"} | null |
Hewiki fair use unused pictures 1 | null | use hewiki_p; select concat('# [[:קובץ:', replace(page_title, "_", " "), ']]') as Suspicious_file_title from page as p1 join image on exists
(select * from categorylinks as cl1 where cl_from = page_id and (cl_to = "ויקיפדיה_-_תמונות_שימוש_הוגן" or exists (select * from page as
p2 where p2.page_namespace = 14 and p2.pag... | {"resultsets": [{"rowcount": 4019, "headers": ["output"]}], "runningtime": "1483.38"} | null |
ᱥᱟᱱᱛᱟᱲᱤ ᱣᱤᱠᱤᱯᱤᱰᱤᱭᱟ ᱨᱮ ᱡᱟᱹᱥᱛᱤ ᱚᱱᱚᱞ ᱵᱮᱱᱟᱣ ᱵᱮᱵᱷᱟᱨᱤᱭᱟᱹ ᱠᱳᱣᱟᱜ ᱛᱟᱹᱞᱠᱟᱹ | null | USE satwiki_p;
SELECT
CONCAT("[[ᱵᱮᱵᱷᱟᱨᱤᱭᱟᱹ:",actor_name,"|",actor_name,"]]") AS ᱵᱮᱵᱷᱟᱨᱤᱭᱟᱹ_ᱧᱩᱛᱩᱢ,
COUNT(rev_id) AS ᱡᱚᱛᱚ_ᱚᱱᱚᱞ
FROM actor INNER JOIN revision
ON revision.rev_actor = actor.actor_id
JOIN page
ON page.page_id = revision.rev_page
WHERE page_is_redirect = 0
AND rev_parent_id = 0
AND page_namespace = 0
AND rev... | {"resultsets": [{"headers": ["rev_id", "rev_page", "rev_text_id", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "rev_content_model", "rev_content_format"], "rowcount": 100}], "runningtime": "3.72"} | null |
LRN with usage | null | USE commonswiki_p;
SELECT
page_title,
COUNT(gil_page) AS global_usage
FROM page JOIN globalimagelinks ON page_title = globalimagelinks.gil_to
WHERE page_id IN (SELECT cl_from FROM categorylinks
WHERE cl_to = "License_review_needed")
AND gil_wiki != "commonswiki"
GROUP BY page_title
ORDER BY ... | {"resultsets": [{"headers": ["rev_id", "rev_page", "rev_text_id", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "rev_content_model", "rev_content_format"], "rowcount": 1}], "runningtime": "0.19"} | null |
Top 100 editors in Module namespace in English Wikipedia (in the last 30 days) | null | USE enwiki_p;
SELECT rev_actor, COUNT(*)
FROM recentchanges_userindex
WHERE
rc_namespace = 828 AND -- Module namespace
rc_type IN (0, 1) -- Change is an edit of some sort
GROUP BY rev_actor
ORDER BY COUNT(*) DESC
LIMIT 10; | {"connection_id": 10843163} | null |
Find pages linking to disambiguation-pages on nowiki | Ordered by number of incoming links so that it can be easily exported as a wikitable without further massaging. | USE nowiki_p;
SELECT page_namespace,page_title,page_is_redirect,COUNT(pl_from) CountPlFrom FROM page_props LEFT JOIN page ON pp_page=page_id LEFT JOIN pagelinks ON pl_namespace=page_namespace AND pl_title=page_title AND pl_from_namespace=pl_namespace WHERE pp_propname = "disambiguation" AND pl_from IS NOT NULL GROUP BY... | {"resultsets": [{"headers": ["cat_title", "ilosc"], "rowcount": 1}, {"headers": ["rev_id", "rev_page", "rev_text_id", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "rev_content_model", "rev_content_format", "page_id", "page_namespace", "page_tit... | null |
faelist equivalent | null | use commonswiki_p;
select
user_name,
user_editcount,
ifnull(
(
SELECT
revactor_timestamp
from
revision_actor_temp
inner join actor_revision on revactor_actor = actor_id
WHERE
actor_name = user_name
AND revactor_timestamp > '20200120000000'
order ... | {"resultsets": [{"headers": ["File name", "Date", "Size", "Uploader's name"], "rowcount": 7}], "runningtime": "757.58"} | null |
LRN by age | null | USE commonswiki_p;
SELECT
page_title,
MIN(img_timestamp) as first_upload
FROM
page
JOIN image on page_title = img_name
WHERE page_id IN (SELECT cl_from FROM categorylinks
WHERE cl_to = "License_review_needed")
GROUP BY page_title
ORDER BY first_upload | {"resultsets": [{"headers": ["concat(REPLACE(REPLACE(REPLACE(el_to, 'https://tools.wmflabs.org/quickstatements/index_old.html#v1=',''),'%09','|'),'%0A','|'),'S4656|\\'\"https://commons.wikimedia.org/wiki/File:',page_title,'\"')"], "rowcount": 25}], "runningtime": "0.23"} | null |
LRN year counts | null | USE commonswiki_p;
SELECT
LEFT(
ifnull(
(
SELECT
MIN(oi_timestamp)
from
oldimage
where
oi_name = page_title
),
img_timestamp
),
4
) AS `year`,
COUNT(*)
FROM
`page`
JOIN `image` on `page_title` = `img_name`
WHERE
`page_id` IN... | {"resultsets": [{"headers": ["\u0b87\u0ba8\u0bcd\u0ba8\u0bc2\u0bb2\u0bbf\u0ba9\u0bcd \u0bae\u0bc6\u0baf\u0bcd\u0baa\u0bcd\u0baa\u0bc1\u0baa\u0bcd\u0baa\u0ba3\u0bbf\u0baf\u0bbf\u0bb2\u0bcd \u0b88\u0b9f\u0bc1\u0baa\u0b9f\u0bcd\u0b9f\u0bcb\u0bb0\u0bcd:<br/>"], "rowcount": 52}], "runningtime": "0.99"} | null |
Counting top 10 thanks (outreach) | Refer to https://meta.wikimedia.org/wiki/User:Faebot/thanks. Note that 'outreach' is a small wiki with a relatively small action log, so a quick example to apply here. | SELECT log_user_text AS User,
COUNT(log_action) AS Actions
FROM outreachwiki_p.logging_userindex
WHERE log_action="thank"
AND LEFT(log_timestamp,6)="201601" | {"resultsets": [{"rowcount": 13, "headers": ["page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang"]}], "runningtime": "99.39"} | null |
Users in ukwiki by number of edits per certain period | null | SELECT U.user_name, count(1) AS edits
FROM ukwiki_p.revision R
JOIN ukwiki_p.user U ON R.rev_actor = U.user_id
WHERE R.rev_timestamp >= 20191201000000 AND R.rev_timestamp <= 20191231000000
GROUP BY R.rev_actor
ORDER BY edits DESC | {"resultsets": [{"headers": ["rev_timestamp", "rev_len"], "rowcount": 412267}], "runningtime": "1455.81"} | null |
stats on active users on commons (like fae/userlist) | null | use commonswiki_p;
select
user_name,
user_editcount,(
SELECT
MAX(rc_timestamp)
from
recentchanges_userindex
inner join actor_recentchanges on rc_actor = actor_id
WHERE
actor_name = user_name
and rc_type < 5
) 'last edit',
groups,
reg
from
(
select
user_nam... | {"resultsets": [{"headers": ["page_title", "page_namespace", "ll_title", "pap_project_title", "pa_class", "pa_importance"], "rowcount": 0}], "runningtime": "0.09"} | null |
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী | ২৮ জানু ২০২০ | USE bnwiki_p;
SELECT
CONCAT("[[ব্যবহারকারী:",actor_name,"|",actor_name,"]]") AS ব্যবহারকারী_নাম,
COUNT(rev_id) AS মোট_নিবন্ধ
FROM actor INNER JOIN revision
ON revision.rev_actor = actor.actor_id
JOIN page
ON page.page_id = revision.rev_page
WHERE page_is_redirect = 0
AND rev_parent_id = 0
AND page_namespace = 0
AND rev... | {"resultsets": [{"rowcount": 70, "headers": ["page_title", "pa_class"]}], "runningtime": "0.29"} | null |
IDF related pages need image | pages without image | use hewiki_p;
select page_title from page subject
inner join categorylinks cl on cl_from=subject.page_id
where cl.cl_to like '%צה"ל%' and subject.page_namespace=0 and not exists(select * from imagelinks where il_from=subject.page_id)
group by page_title; | {"resultsets": [{"rowcount": 100, "headers": ["el_id", "el_from", "el_to", "el_index", "el_index_60"]}], "runningtime": "0.96"} | null |
IDF related pages need image replace | pages with fairuse image | use hewiki_p;
select subject.page_title, img.page_title from page subject inner join categorylinks cl on cl_from=subject.page_id inner join page img inner join imagelinks on il_to=img.page_title and il_from=subject.page_id inner join categorylinks fu on img.page_id=fu.cl_from where cl.cl_to like '%צה"ל%' and subject.p... | {"resultsets": [{"headers": ["CONCAT(\"Q\",ips_item_id)", "CONCAT(\"Lar\")", "CONCAT('\"',ips_site_page,'\"')"], "rowcount": 1141}], "runningtime": "609.86"} | null |
2019'da en çok inceleme yapan devriyeler | 2019 | use trwiki_p;
select CONCAT('[[Kullanıcı:',user_name,'|',user_name,']]'), COUNT(*)
from logging
inner join user
on user actor.actor_id = logging.log_actor
where log_timestamp BETWEEN 20190101000000 AND 20191228000000
and log_action = "approve-i"
and log_namespace = 0
group by logging.log_actor
having COUNT(*)>1
ORDER B... | {"resultsets": [{"headers": ["gt_lat", "gt_lon", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 208}, {"headers": ["gt_lat", "gt_lon", "gt_primary", "gt_page_id", "gt_name", "ns", "title", "gt_country", "gt_region"], "rowcount": 6}], "runningtime": "25.48"} | null |
LRN old | null | USE commonswiki_p;
SELECT
page_title,
MIN(img_timestamp) as first_upload
FROM
page
JOIN image on page_title = img_name
WHERE
page_id IN (SELECT cl_from FROM categorylinks
WHERE cl_to = "License_review_needed")
AND img_timestamp < 20190000000000
GROUP BY page_title
ORDER BY first_uploa... | {"resultsets": [{"headers": ["reviews", "actor_name", "accept %", "decline %", "reject %"], "rowcount": 148}], "runningtime": "31.33"} | 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... | {"resultsets": [{"headers": ["reviews", "actor_name", "accept %", "decline %", "reject %"], "rowcount": 76}], "runningtime": "11.73"} | null |
Articles, created in certain period | null | SELECT P1.page_title, R.rev_actor, R.rev_timestamp
FROM ukwiki_p.revision R
JOIN ukwiki_p.page P1 ON R.rev_page = P1.page_id
-- JOIN ukwiki_p.page P2 ON P1.page_title = P2.page_title
-- JOIN ukwiki_p.categorylinks CL ON P2.page_id = CL.cl_from
WHERE R.rev_parent_id = 0
AND P1.page_namespace = 0
-- AND P2.page_namespa... | {"resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 847}], "runningtime": "130.80"} | null |
IDF related pages need image | pages without image | use hewiki_p;
select page_title from page subject
inner join categorylinks cl on cl_from=subject.page_id
where cl.cl_to like '%צה"ל%' and subject.page_namespace=0 and not exists(select * from imagelinks where il_from=subject.page_id)
group by page_title; | {"resultsets": [{"rowcount": 60, "headers": ["page_title", "page_len", "cat_pages", "rev_timestamp", "rev_actor"]}], "runningtime": "690.52"} | null |
Articles, created in certain period whose talk pages do not belong to certain category | null | SELECT P1.page_title, A.actor_name
FROM ukwiki_p.revision R
JOIN ukwiki_p.page P1 ON R.rev_page = P1.page_id
JOIN ukwiki_p.actor A ON R.rev_actor = A.actor_id
WHERE R.rev_parent_id = 0
AND P1.page_namespace = 0
AND P1.page_is_redirect = 0
AND R.rev_timestamp>=20200126000000
AND R.rev_timestamp< 20200202000000
AN... | {"resultsets": [{"headers": ["Kategori", "antal"], "rowcount": 21}, {"headers": ["Artikel", "antal"], "rowcount": 289}, {"headers": ["Saknade_kategorier"], "rowcount": 0}, {"headers": ["Tomma_kategorier"], "rowcount": 6}], "runningtime": "1.88"} | 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... | {"resultsets": [{"rowcount": 58, "headers": ["page_title", "page_len", "cat_pages", "rev_timestamp", "rev_actor"]}], "runningtime": "797.00"} | null |
IDF related pages need image | pages without image | use hewiki_p;
select page_title from page subject
inner join categorylinks cl on cl_from=subject.page_id
where cl.cl_to like '%קציני_צה"ל%' and subject.page_namespace=0 and not exists(select * from imagelinks where il_from=subject.page_id)
group by page_title; | {"resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 4705}], "runningtime": "267.17"} | null |
Number of unique articles edited per day (enwiki) | null | USE enwiki_p;
SELECT LEFT(rc_timestamp, 8) AS yyyymmdd, COUNT(DISTINCT rc_title) AS num_articles
FROM recentchanges
WHERE LEFT(rc_timestamp, 6) = '202001'
AND rc_namespace = 0
AND rc_params = '' # exclude Wikidata item changes
GROUP BY yyyymmdd
ORDER BY yyyymmdd;
| {"resultsets": [{"headers": ["en_baslik", "tr_baslik", "tr_kategori"], "rowcount": 108}], "runningtime": "1.24"} | null |
page_title LIKE ".opus" | null | USE commonswiki_p;
SELECT CONCAT("File:",page_title,"")
FROM page AS page
WHERE page_namespace = 6
AND (page_title LIKE "%.MP3" OR page_title LIKE "%.Mp3" OR page_title LIKE "%.mp3")
LIMIT 9999; | {"resultsets": [{"rowcount": 618, "headers": ["rev_actor", "actor_name", "edit_count", "registration_date"]}], "runningtime": "30.15"} | null |
Поиск файлов по заголовку (Donbass) | null | USE commonswiki_p;
SELECT CONCAT("[[:File:",page_title,"]]")
FROM page AS page
WHERE page_namespace = 6
AND (page_title LIKE "%Donbass%" OR page_title LIKE "%donbass%" OR page_title LIKE "%Донбасс%" OR page_title LIKE "%донбасс%")
#AND page_is_redirect = 1
LIMIT 999; | {"connection_id": 8452142} | null |
Список всех файлов в категории (Donbass) | null | use commonswiki_p;
SELECT CONCAT("[[:File:",page_title,"]]")
FROM page
JOIN categorylinks
ON cl_from = page_id
WHERE cl_to = "Donbass"
AND page_namespace = 6
LIMIT 7000; | {"resultsets": [{"rowcount": 100, "headers": ["cl_to", "count(cl_from)"]}], "runningtime": "1.71"} | null |
Template edits within a certain period | null | USE zhwiki_p;
SELECT 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 <= 20200131133000
AND rev_timestamp >= 20200131000000
AND page_namespace = 10 | {"connection_id": 11982297} | null |
Template edits within a certain period | null | USE zhwiki_p;
SELECT rev_id, actor_name, rev_timestamp, page_title, comment_text
FROM revision_userindex
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 20200131000000 AND 20200131133000
AND page_namespace = 10 | {"resultsets": [{"headers": ["\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645", "\u0639\u062f\u062f \u0627\u0644\u062a\u0639\u062f\u064a\u0644\u0627\u062a"], "rowcount": 100}], "runningtime": "21.13"} | null |
Module edits within a certain period | null | USE zhwiki_p;
SELECT rev_id, actor_name, rev_timestamp, page_title, comment_text
FROM revision_userindex
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 20200131000000 AND 20200131133000
AND page_namespace = 828 | {"resultsets": [{"rowcount": 4685, "headers": ["page_title", "cl_to"]}], "runningtime": "212.89"} | null |
Template edits within a certain period | null | USE zhwiki_p;
SELECT rev_id, actor_name, rev_timestamp, page_title, comment_text
FROM revision_userindex
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 20200131000000 AND 20200131133000
AND page_namespace = 10 | {"resultsets": [{"rowcount": 64, "headers": ["CONVERT(tl_title USING utf8)", "COUNT(DISTINCT tl_from)"]}], "runningtime": "766.18"} | null |
Template edits within a certain period | 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 20200131000000 AND 20200131133000
AND page_namespace = 10 | {"resultsets": [{"headers": ["page_title", "page_namespace", "pap_project_title", "pa_class", "pa_importance"], "rowcount": 0}], "runningtime": "0.13"} | null |
Most active users on WP:KSA pages in last 3 Month | null | USE arwiki_p;
SELECT actor_name as "المستخدم", count(rev_actor) as "عدد التعديلات"
FROM revision
JOIN actor ON actor_id = rev_actor
INNER JOIN page article ON
article.page_id = rev_page AND
article.page_namespace = 0
INNER JOIN page talk ON
talk.page_title = article.page_title AND
talk.page_namespace = 1
IN... | {"resultsets": [{"rowcount": 5, "headers": ["concat( \"[[User:\", page_title, \"]]\" )", "concat( \"[\", el_to, \" \", el_to, \"]\" )"]}], "runningtime": "0.95"} | null |
Most active users on WP:KSA talk pages in 2020 | null | USE arwiki_p;
select actor_name as "المستخدم", count(rev_actor) as "عدد التعديلات"
from revision
JOIN actor ON actor_id = rev_actor
where rev_timestamp between 20190101000000 AND 20191231235959
and rev_page IN (
SELECT tl_from
FROM templatelinks
WHERE
tl_from_namespace = 1
AND tl_namespace = 10... | {"resultsets": [{"headers": ["page", "link"], "rowcount": 460}], "runningtime": "502.82"} | null |
LRN year counts | null | USE commonswiki_p;
SELECT
LEFT(img_timestamp, 4) AS `year`,
COUNT(*)
FROM
`page`
JOIN `image` on `page_title` = `img_name`
WHERE `page_id` IN (SELECT `cl_from` FROM `categorylinks`
WHERE `cl_to` = "License_review_needed")
GROUP BY year | {"resultsets": [{"headers": ["page", "link"], "rowcount": 40}], "runningtime": "105.86"} | null |
KSA new articles by months test 10 | null | use arwiki_p;
SELECT left(t4.rev_timestamp,4) as Menesis, count(left(t4.rev_timestamp,4)) as Raksti
FROM revision AS t4
JOIN page article ON
article.page_id = rev_page AND
article.page_namespace = 10
INNER JOIN page talk ON
talk.page_title = article.page_title AND
talk.page_namespace = 11
INNER JOIN catego... | {"resultsets": [{"headers": ["page", "link"], "rowcount": 31}], "runningtime": "94.78"} | null |
KSA new articles by months test 6 | null | use arwiki_p;
SELECT left(t4.rev_timestamp,4) as Menesis, count(left(t4.rev_timestamp,4)) as Raksti
FROM revision AS t4
JOIN page article ON
article.page_id = rev_page AND
article.page_namespace = 6
INNER JOIN page talk ON
talk.page_title = article.page_title AND
talk.page_namespace = 7
INNER JOIN category... | {"resultsets": [{"rowcount": 101, "headers": ["File name", "Date", "Size", "Uploader's name"]}], "runningtime": "961.68"} | null |
مقالات محمية لأجل غير مسمى | null | use arwiki_p;
SELECT
page_is_redirect,
page_title,
user_name,
logs.log_timestamp
# logs.log_comment
FROM page
JOIN page_restrictions ON page_id = pr_page
AND page_namespace = 0
AND pr_type = 'edit'
AND pr_level = 'sysop'
#AND pr_expiry = 'infinity'
LEFT JOIN logging AS logs ON logs.log_title = page_title
... | {"resultsets": [{"headers": ["concat(\"sdc:M\",page_id)"], "rowcount": 322}], "runningtime": "1.23"} | null |
all lvwiki disscussions after 2015-01-01 | null | use lvwiki_p;
select page_title, rev_actor, rev_parent_id, rev_timestamp, page_len
from page
join revision on page_id=rev_page and page_namespace=1 and page_is_redirect=0
where rev_timestamp>20150101000000; | {"resultsets": [{"rowcount": 1, "headers": ["eu_row_id", "eu_entity_id", "eu_aspect", "eu_page_id", "inner_table_number"]}], "runningtime": "0.09"} | null |
Tigraan Mass RfD nomination | null | USE enwiki_p;
SELECT page_namespace, page_title, rd_namespace, rd_title
FROM
page
JOIN redirect ON page_id = rd_from
WHERE
page_namespace = 0 AND
page_is_redirect = 1 AND
page_title LIKE "E%" AND
page_title REGEXP "^E1?[0-9]{3}[a-j]?$"
| {"resultsets": [{"rowcount": 0, "headers": ["page_title", "COUNT(*)"]}], "runningtime": "0.18"} | null |
Tigraan Mass RfD nomination 2 | null | USE enwiki_p;
SELECT page_namespace, page_title, rd_namespace, rd_title
FROM
page
JOIN redirect ON page_id = rd_from
WHERE
page_title IN (SELECT pl_title FROM pagelinks
WHERE pl_from = 43221 AND pl_from_namespace = 0) AND
page_namespace = 0 AND
page_is_redirect = 1 AND
page_title RE... | {"resultsets": [{"headers": ["page_title", "COUNT(*)"], "rowcount": 6588}], "runningtime": "46.48"} | 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%")
... | {"resultsets": [{"headers": ["concat (\"\u0646\u0642\u0627\u0634:\",page_title)"], "rowcount": 3}], "runningtime": "2.79"} | null |
Proofread-DeepaArulKaniyam-book2-தமிழ்ச்_சொல்லாக்கம் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 0, "headers": ["concat (\"\u0646\u0642\u0627\u0634:\",page_title)"]}], "runningtime": "0.16"} | null |
Proofread-DeepaArulKaniyam-book2-தனித்_தமிழ்க்_கிளர்ச்சி | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"headers": ["concat (\"\u0646\u0642\u0627\u0634:\",page_title)"], "rowcount": 11}], "runningtime": "16.42"} | null |
Proofread-DeepaArulKaniyam-book2-சொன்னால்_நம்ப_மாட்டீர்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 18}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 7}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 8}], "runningtime": "49.83"} | null |
Proofread-Athithya_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%")
#... | {"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 18}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 7}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 8}], "runningtime": "60.40"} | null |
Proofread-Athithya_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%")
#... | {"resultsets": [{"rowcount": 18, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 7, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 8, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "58.73"} | null |
Proofread-Athithya-அன்னை_கஸ்தூரிபாயின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
#(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
... | {"resultsets": [{"rowcount": 73, "headers": ["reviews", "actor_name", "accept %", "decline %", "reject %"]}], "runningtime": "143.96"} | null |
Proofread-Ramesh-குன்றக்குடி_அடிகளார்_நூல்வரிசை-3 | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 20, "headers": ["reviews", "actor_name", "accept %", "decline %", "reject %"]}], "runningtime": "35.84"} | null |
Proofread-DeepaArulKaniyam-book2-இன்பம்-அறிஞர்_அண்ணவின்_கட்டுரைகள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 748}], "runningtime": "1134.97"} | null |
Proofread-DeepaArulKaniyam-book2-தாய்லாந்து | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 146, "headers": ["reviews", "actor_name", "accept %", "decline %", "reject %"]}], "runningtime": "932.34"} | null |
Proofread-DeepaArulKaniyam-book2-நவகாளி_யாத்திரை | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 17, "headers": ["reviews", "actor_name", "accept %", "decline %", "reject %"]}], "runningtime": "36.74"} | null |
Proofread-Athithya-அன்னை_கஸ்தூரிபாயின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"connection_id": 9228328} | null |
rowiki users having over 500 edits without all bots, sorted by edit count | This takes into account bots that don't have official bot status, but are nonetheless members of Categorie:Roboți Wikipedia. It also tells whether an account is an admin or a bot. | USE rowiki_p;
SELECT *
FROM (
SELECT fi.id AS userid, fi.name AS name, fi.edits AS editcount,
CASE
WHEN fi.admin=1 OR se.admin=1 THEN 1
ELSE 0
END AS admin,
CASE
WHEN (fi.bot=1 AND fi.bot IS NOT NULL) OR se.bot=1 THEN 1
ELSE 0
END AS bot
FROM (
SELECT user.user_id AS id, user.user_name AS name, ... | {"connection_id": 9229390} | null |
kowiki inactive bots | definition of inactivity: 2 years | use kowiki_p;
SELECT user_name, user_editcount, user_registration, rev_timestamp AS 'Last edit', log_timestamp AS 'Last log', ug1.ug_group AS 'user_group'
FROM `user`
LEFT JOIN user_groups ug1
ON user_id = ug1.ug_user AND ug1.ug_group IN ('bot')
JOIN revision_userindex
ON rev_id = (SELECT rev_id FROM revision_userin... | {"resultsets": [], "runningtime": "0.03"} | null |
LR counter, Commons | null | use commonswiki_p;
select count(*) as "Number of license reviews"
from revision
join comment
on comment_id = rev_comment_id
join revision_actor_temp
on revactor_rev = rev_id
join actor
on actor_id = revactor_actor
where actor_name = "-revi" -- Or your username. Please note that this query has been only tested with Majo... | {"resultsets": [{"rowcount": 732, "headers": ["page_title", "cl_to"]}], "runningtime": "309.26"} | null |
Proofread-Athithya-அன்னை_கஸ்தூரிபாயின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"resultsets": [{"rowcount": 1, "headers": ["iio"]}], "runningtime": "0.11"} | 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... | {"resultsets": [{"headers": ["page_title", "page_len", "cat_pages", "rev_timestamp", "rev_actor"], "rowcount": 31}], "runningtime": "992.62"} | null |
Seiten mit "Begriffsklärung im Lemma" ohne Vorlage:Begriffsklärung | null | USE dewiki_p;
SELECT page_title, page_is_redirect
FROM page
WHERE page_namespace = 0
AND page_title LIKE '%_(Begriffsklärung)'
AND NOT EXISTS (SELECT 1
FROM templatelinks
WHERE tl_from = page_id
AND tl_title = 'Begriffsklärung'
... | {"resultsets": [{"headers": ["oresc_id", "oresc_rev", "oresc_model", "oresc_class", "oresc_probability", "oresc_is_predicted"], "rowcount": 21840}, {"headers": ["oresm_id", "oresm_name", "oresm_version", "oresm_is_current"], "rowcount": 4}], "runningtime": "68.76"} | 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... | {"resultsets": [{"headers": ["ll_title"], "rowcount": 75}], "runningtime": "82.72"} | null |
Antarctic Week New | List of articles created for the She Did It Challenge 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) as actor_name,
COUNT(1) AS created,
SUM(article.page_len) as total_len,
GROUP_CONCAT(
DI... | {"resultsets": [], "runningtime": "0.05"} | null |
page_title LIKE "%animat%" | null | USE commonswiki_p;
SELECT CONCAT("Category:",page_title,"")
FROM page AS page
WHERE page_namespace = 14
AND page_title LIKE "%udio_recording%"
#AND page_is_redirect = 1
#AND (page_title LIKE "%audio%" OR page_title LIKE "%Audio%")
LIMIT 999; | {"resultsets": [{"rowcount": 25, "headers": ["page_title", "page_len", "cat_pages", "rev_timestamp", "rev_actor"]}], "runningtime": "1310.86"} | null |
Commons files with Invaluable links | null | USE commonswiki_p;
SELECT DISTINCT page.page_title, externallinks.el_to
FROM externallinks
INNER JOIN page ON externallinks.el_from = page.page_id
WHERE (
(externallinks.el_to LIKE "https://www.invaluable.com/_%") OR
(externallinks.el_to LIKE "http://www.invaluable.com/_%")
)
AND page.page_namespace = 6 | {"resultsets": [{"rowcount": 6, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount": 121, "headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"]}, {"rowcount": 0, "headers": ["user_name... | null |
Users with most edits in ukwiki | New Users that make more than X edits | SELECT user_name, user_registration, user_editcount, user_touched
FROM trwiki_p.user
WHERE user_registration > '2017-01-01'
ORDER BY user_registration DESC
LIMIT 1000000 | {"resultsets": [{"rowcount": 10, "headers": ["page_title"]}], "runningtime": "0.13"} | null |
WLM previous years' participants | WSC-UK previous years' participants not active this year | use commonswiki_p;
SELECT CONCAT("# {{#target:User_talk:", actor_name, "|uk.wikipedia.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_Ukraine",... | {"resultsets": [{"rowcount": 1, "headers": ["File name", "Date", "Size", "Uploader's name"]}], "runningtime": "333.87"} | null |
Proofread-Athithya-அன்னை_கஸ்தூரிபாயின்_நம்மை_மேம்படுத்தும்_எண்ணங்கள் | Change the actor_name and page_title for your search.
Choose either validated or proofread line and comment another | use tawikisource_p;
SELECT distinct page_title as Title, actor_name as user, comment_text as comment
FROM revision
join page ON page_id = rev_page
join comment on comment_id = rev_comment_id
join actor ON rev_actor = actor_id where
(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%")
#... | {"connection_id": 10588898} | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.