title
stringlengths
1
212
description
stringlengths
1
4.39k
query
stringlengths
1
65.5k
extra_info
stringlengths
18
31.6k
wikidb
stringlengths
4
26
980701 owp1 All orphan articles
null
USE fawiki_p; SELECT concat('# [[',p1.page_title,']]') FROM page AS p1 WHERE p1.page_is_redirect = 0 AND p1.page_namespace = 0 # not a DAB page AND p1.page_id NOT IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation' ) # not receiving direct link AND NOT ( p1.page_title IN ( SELECT pl1....
{"resultsets": [{"headers": ["CONCAT('[[', page_title, ']]')"], "rowcount": 11}], "runningtime": "353.80"}
null
https://quarry.wmflabs.org/
null
USE dewiki_p; select actor_name, rc_timestamp as CreationTime, rc_title as Title, rc_comment.comment_text from recentchanges inner join comment as rc_comment on rc_comment_id = rc_comment.comment_id inner join actor on actor_id = rc_actor where rc_new = 1 and rc_namespace = 0 and rc_co...
{"resultsets": [{"headers": ["user", "img_count"], "rowcount": 43}], "runningtime": "0.62"}
null
dewiki:Maintainance_archivetoday
null
use dewiki_p; SET sql_mode='PIPES_AS_CONCAT'; select '# ' || count(el_to) || ': {{Bearbeiten|'||page_title ||'|text='||page_title||'}}' as output from externallinks inner join page on (page_id=el_from) where page_namespace =0 and (el_to like 'http://archive.__/%' or el_to like 'https://archive.__/%' or ...
{"resultsets": [{"rowcount": 118, "headers": ["redirect", "target"]}], "runningtime": "0.63"}
null
Cyrillic blue cat in Commons
null
USE commonswiki_p; SELECT CONCAT ('Category:',cl_to,'') FROM categorylinks WHERE cl_to in (select page_title from page where page_namespace=14)# and page_is_redirect=0) #blue cat ja kirillitsas #AND (cl_to RLIKE '[Яя]' OR cl_to RLIKE '[Юю]') #RLIKE ei tööta, sest annab kõik kat #А, Б, В, Г, Д, Е, Ё, Ж, З, И, Й, К, Л, М...
{"resultsets": [{"headers": ["rank", "user_name", "user_editcount"], "rowcount": 1000}], "runningtime": "6.70"}
null
Number of lexemes published a day
Drop an unnecessary join on pagelinks to get execution time down.
USE wikidatawiki_p; SELECT count(page.page_title) AS pages, DATE_FORMAT(revision.rev_timestamp, '%Y-%m-%d') AS date FROM page JOIN revision ON page.page_id=revision.rev_page WHERE page.page_namespace=146 AND revision.rev_parent_id=0 # No parent rev = page creation GROUP BY date ORDER BY revision.rev_timestamp
{"resultsets": [{"rowcount": 1000, "headers": ["rev_timestamp", "rev_id", "actor_name", "comment_text"]}], "runningtime": "98.84"}
null
Number of lexemes published a day
Without `JOIN pagelinks ON page.page_id=pagelinks.pl_from` wrt. the original. This is the same as https://quarry.wmflabs.org/query/39180
USE wikidatawiki_p; SELECT count(page.page_title) as pages, DATE_FORMAT(revision.rev_timestamp, '%Y-%m-%d') AS date FROM page JOIN revision ON page.page_id=revision.rev_page WHERE page.page_namespace=146 AND revision.rev_parent_id=0 # No parent rev = page creation GROUP BY date ORDER BY date
{"resultsets": [{"rowcount": 1, "headers": ["ss_total_edits"]}, {"rowcount": 1, "headers": ["SUM(user_editcount)"]}, {"rowcount": 798, "headers": ["userid", "name", "editcount", "admin", "bot"]}], "runningtime": "5.46"}
null
Number of lexemes published a day
null
USE wikidatawiki_p; SELECT COUNT(page.page_title) as pages, DATE_FORMAT(revision.rev_timestamp, '%Y-%m-%d') AS date FROM page JOIN revision ON page.page_id=revision.rev_page WHERE page.page_namespace=146 AND revision.rev_parent_id=0 # No parent rev = page creation AND revision.rev_id>=683783426 # optimization: [[Speci...
{"resultsets": [{"rowcount": 500, "headers": ["concat(\"[[\",page_title,\"]]\")", "concat(\"[[:en:\",(select ll_title from langlinks\n where ll_from = rev_page\n ...
null
Swedish Week New
List of articles created for the Investigative Journalism Week on UkWiki
USE ukwiki_p; SET SESSION group_concat_max_len = 10000; SELECT @rownum := @rownum + 1 AS rank, IFNULL(actor_name, 'Всього'), created, total_len, articles FROM ( SELECT CONCAT('[[Користувач:', actor_name, '|', actor_name, ']]') as actor_name, COUNT(1) AS created, SUM(article.page_len) as...
{"resultsets": [{"rowcount": 561, "headers": ["page_title"]}], "runningtime": "13.33"}
null
Retrieve alll biography articles in enwiki
Retrieve alll biography articles in enwiki.
SELECT article.page_title, article.page_id FROM page INNER JOIN page article ON page.page_title=article.page_title INNER JOIN categorylinks ON cl_from = page.page_id AND categorylinks.cl_to = "WikiProject_Biography_articles" WHERE page.page_namespace = 1 AND article.page_namespace = 0
{"connection_id": 93414699}
null
Nicht-Biografien in Kat. Mann/Frau
Alle Artikel, die in einer der Kategorien Mann/Frau sind und keine Vorlage Personendaten enthalten.
USE dewiki_p; SELECT CONCAT('[[', REPLACE(page_title, '_', ' '), ']]', CASE WHEN rd_title IS NULL THEN '' ELSE CONCAT(' → [[', REPLACE(rd_title, '_', ' '), ']]') END) FROM categorylinks, page LEFT JOIN redirect ON rd_from = page_id WHERE page_namespace = 0 AND page_id = cl_from AND cl_to IN ('Mann', 'Frau') ...
{"resultsets": [{"rowcount": 100, "headers": ["pr_page", "page_namespace", "page_title"]}], "runningtime": "0.63"}
null
Subcategorías
null
use eswiki_p; SELECT clparent.cl_to, clchild.cl_to FROM categorylinks clparent inner join page pparent on clparent.cl_from = pparent.page_id inner join categorylinks clchild on clchild.cl_to = pparent.page_title WHERE clparent.cl_to = 'Políticos_de_Chile_por_partido' and clparent.cl_type = 'subcat' and clchild.cl_...
{"resultsets": [{"headers": ["d", "s", "s_is_redirect"], "rowcount": 146}], "runningtime": "1.83"}
null
enwiki my rangeblock stats
null
select count(ipb_id) from ipblocks join actor on ipb_by_actor = actor_id where ipb_address like "%/%" and actor_name = "SQL";
{"resultsets": [{"headers": ["page_namespace", "pl_title"], "rowcount": 999}], "runningtime": "8.20"}
null
Articles that are FA on some WikiProjects but not all
null
use arwiki_p; SELECT DISTINCT(page_title) FROM page JOIN page_assessments ON pa_page_id = page_id WHERE page_namespace = 0 AND pa_class = 'قائمة' AND EXISTS ( SELECT 1 FROM page_assessments WHERE pa_page_id = page_id AND pa_class != 'قائمة' # Exclude Wikipedia 1.0, Spoken Wikipedia and Guild of Copy Editors ...
{"resultsets": [{"headers": ["page_title"], "rowcount": 313}], "runningtime": "34.89"}
null
revs
null
select 1;
{"resultsets": [{"headers": ["page_title"], "rowcount": 99}], "runningtime": "8.51"}
null
GA/FA and GAN/FAC linked from September 29
GA/FA and GAN/FAC linked from [[September 29]]
SELECT page_title #Faster than just selecting the page title and id, but only those are needed FROM page pg1 WHERE pg1.page_namespace = 0 #Only care about articles AND pg1.page_title IN ( #Where page is linked from a specified other page SELECT pl_title FROM pagelinks WHERE pl_from...
{"resultsets": [{"headers": ["page_title"], "rowcount": 31}], "runningtime": "0.50"}
null
European Literature Week
List of articles created for the Investigative Journalism Week on UkWiki
USE ukwiki_p; SET SESSION group_concat_max_len = 10000; SELECT @rownum := @rownum + 1 AS rank, IFNULL(actor_name, 'Всього'), created, total_len, articles FROM ( SELECT CONCAT('[[Користувач:', actor_name, '|', actor_name, ']]') as actor_name, COUNT(1) AS created, SUM(article.page_len) as...
{"resultsets": [{"headers": ["totale", "page_count_error", "weight"], "rowcount": 5}, {"headers": ["page_id", "page_title", "totale", "linter_params", "ptotale"], "rowcount": 475}], "runningtime": "3.49"}
null
Mainspace pages linking to WP pages in [[Category:Wikipedia essays]] or subcats
[[WP:RAQ#Mainspace pages that link to a page in a specific category]] circa 27 September 2019. This can be done in one query with a multi-column subquery, but that's unusably slow. This only lists mainspace pages linking to Wikipedia: pages in the category tree, which is the slowest part (despite there not being appr...
-- Namespace 4: Wikipedia SELECT page_title, CONCAT('Wikipedia:', pl_title) AS 'Links to' FROM pagelinks JOIN page ON page_id = pl_from WHERE pl_from_namespace = 0 AND pl_namespace = 4 AND pl_title IN (SELECT page_title FROM page JOIN categorylinks ON page_id = cl_from WHERE page_namespace = 4 ...
{"resultsets": [{"headers": ["img_name", "img_size", "img_width", "img_height", "img_metadata", "img_bits", "img_media_type", "img_major_mime", "img_minor_mime", "img_description_id", "img_actor", "img_timestamp", "img_sha1"], "rowcount": 10}], "runningtime": "0.64"}
null
Mainspace pages linking to non-WP pages in [[Category:Wikipedia essays]] or subcats
[[WP:RAQ#Mainspace pages that link to a page in a specific category]] circa 27 September 2019. This can be done in one query with a multi-column subquery, but that's unusably slow. This only lists mainspace pages linking to non-Wikipedia: pages in the category tree, which is by far the slowest part. Mainspace pages l...
SELECT DISTINCT page_namespace AS 'namespaces with pages in category tree' FROM page JOIN categorylinks ON page_id = cl_from WHERE cl_to IN ( -- From <https://petscan.wmflabs.org/?&categories=Wikipedia%20essays&depth=10&ns%5B14%5D=1&doit=> with 'Wikipedia_essays' added in manually 'Essay_header_templates','Essays_about...
{"resultsets": [{"headers": ["img_name", "count"], "rowcount": 10}], "runningtime": "0.88"}
null
المستخدمون حسب أيام تواجدهم خلال العام
_
use arwiki_p; select rev_user_text as "اسم المستخدم", count(*) as "عدد الأيام" from( select rev_user_text, count(*) from revision where rev_timestamp like "2018%" and rev_user_text in (select user_name from user where user_name = rev_user_text and user_...
{"resultsets": [{"headers": ["user", "img_count"], "rowcount": 49}], "runningtime": "2.09"}
null
عدد المقالات غير المبوبة
عدد المقالات غير المبوبة أي التي ليس فيها شريط بوابات
use arwiki_p; select #count( page.page_title #) from page where page_namespace = 0 #and page_title like '%(%)%' and page_id not in (select tl_from from templatelinks where tl_title = 'شريط_بوابات') and page_id not in (select cl_from from categorylinks where cl_to ='صفحات_توضيح') and page_is_redirect = 0 orde...
{"resultsets": [{"headers": ["page_namespace", "page_title"], "rowcount": 10}], "runningtime": "0.19"}
null
ArWiki Users without group
Users not assigned to any group
use arwiki_p; SELECT user_name, user_editcount,user_registration FROM `user` where user_id not in (select ug_user from user_groups) and user_editcount BETWEEN 200 AND 15000 order by user_registration DESC ;
{"resultsets": [{"headers": ["file", "article", "wikis", "translations", "difference"], "rowcount": 864}], "runningtime": "5.63"}
null
huwiki review count
Number of FlaggedRevs reviews (manual only) per month for Hungarian Wikipedia
SELECT concat(substr(log_timestamp, 1, 4), '-', substr(log_timestamp, 5, 2)) date, count(*) count FROM logging WHERE log_type = 'review' AND log_action IN ('approve', 'approve-i') GROUP BY date ORDER BY date ;
{"resultsets": [{"headers": ["totale", "page_count_error", "weight"], "rowcount": 5}, {"headers": ["page_id", "page_title", "totale", "linter_params", "ptotale"], "rowcount": 472}], "runningtime": "2.78"}
null
huwiki 24h+ blocks
null
SELECT CONCAT(SUBSTR(log_timestamp, 1, 4), '-', SUBSTR(log_timestamp, 5, 2)) date, COUNT(*) count FROM logging WHERE log_type = 'block' AND log_action = 'block' AND (log_params = '24 hours' OR log_params LIKE '%day%' OR log_params LIKE '%month%' OR log_params LIKE '%year%' OR log_params = 'infinite' O...
{"resultsets": [{"headers": ["user", "img_count"], "rowcount": 49}], "runningtime": "2.48"}
null
huwiki 25h+ blocks
null
SELECT CONCAT(SUBSTR(log_timestamp, 1, 4), '-', SUBSTR(log_timestamp, 5, 2)) date, COUNT(*) count FROM logging WHERE log_type = 'block' AND log_action = 'block' AND (log_params LIKE '%day%' OR log_params LIKE '%month%' OR log_params LIKE '%year%' OR log_params = 'infinite' OR log_params = 'indefinite'...
{"resultsets": [{"headers": ["actor_user", "actor_name", "cnt"], "rowcount": 226}], "runningtime": "29.59"}
null
huwiki 1m+ blocks
null
SELECT CONCAT(SUBSTR(log_timestamp, 1, 4), '-', SUBSTR(log_timestamp, 5, 2)) date, COUNT(*) count FROM logging WHERE log_type = 'block' AND log_action = 'block' AND (log_params LIKE '%month%' OR log_params LIKE '%year%' OR log_params = 'infinite' OR log_params = 'indefinite') GROUP BY date ORDER BY da...
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 35}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 7}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 15}], "runningtime": "3.64"}
null
rowiki users having over 625 edits + 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 arwiki_p; SELECT ss_total_edits FROM site_stats; SELECT SUM(user_editcount) FROM user AS u WHERE user_editcount <= 625; 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...
{"resultsets": [{"headers": ["user_id", "user_name", "user_registration", "user_editcount"], "rowcount": 5}], "runningtime": "40.99"}
null
stat3
null
null
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 32}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 7}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 14}], "runningtime": "4.10"}
null
stat 2
null
null
{"resultsets": [{"headers": ["pp_value", "page_title", "tl_namespace", "tl_title"], "rowcount": 23572}], "runningtime": "909.30"}
null
stat
null
use arwiki_p; select * from ( SELECT #Act.name, ns0.Actor as Actori , ns0.ns0_count as ns0c # arc , ns10.ns10_count as ns10c # template , ns12.ns12_count as ns12c # help , ns14.ns14_count as ns14c # category , ns100.ns100_count as ns100c # ...
{"resultsets": [{"headers": ["gil_wiki", "gil_page", "gil_page_namespace_id", "gil_page_namespace", "gil_page_title", "gil_to", "ips_row_id", "ips_item_id", "ips_site_id", "ips_site_page"], "rowcount": 10}], "runningtime": "0.16"}
null
Top missing in Serbian
null
SELECT page_title AS `title`, COUNT(*) AS `languages` FROM `langlinks` LEFT JOIN `page` ON (page_id = ll_from) WHERE page_namespace = '0' AND page_id NOT IN (SELECT ll_from FROM `langlinks` WHERE ll_lang='sr') GROUP BY page_namespace, page_title HAVING languages > 50 ORDER BY languages DESC
{"resultsets": [{"headers": ["totale", "page_count_error", "weight"], "rowcount": 5}, {"headers": ["page_id", "page_title", "totale", "linter_params", "ptotale"], "rowcount": 472}], "runningtime": "5.15"}
null
Most linked disambiguations (etwiki)
From https://quarry.wmflabs.org/query/1819 [thanks to Matěj Suchánek]
select now(); USE arwiki_p; SELECT disambigs.page_title, COUNT(DISTINCT links.pl_from) AS direct_links, COUNT(DISTINCT redirects.page_id) AS redirects, COUNT(DISTINCT links.pl_from) + COUNT(DISTINCT links_to_redirects.pl_from) AS all_backlinks FROM (SELECT * FROM page_props WHERE pp_propname = 'disambiguation') AS d...
{"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": 2}, {"headers": ["rev_actor"], "rowcount": 1}, {"headers": ["actor_id", "acto...
null
المستخدمون حسب أيام تواجدهم خلال العام fixed
_
use arwiki_p; select actor_name as "اسم المستخدم", count(*) as "عدد الأيام" from( select actor_name, count(*) from revision, actor#,user#,user_groups where rev_timestamp like "2018%" and actor_id = rev_actor #and actor_name = user_name #and ug_user = user_id #and ug_group like "editor" #and actor_name in (select user_...
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "34.98"}
null
المستخدمون حسب أيام تواجدهم خلال العام fixed
_
use arwiki_p; select actor_name as "اسم المستخدم", count(*) as "عدد الأيام" from( select actor_name, count(*) from revision, actor#,user#,user_groups where rev_timestamp like "2018%" and actor_id = rev_actor #and actor_name = user_name #and ug_user = user_id #and ug_group like "editor" #and actor_name in (select user_...
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "49.74"}
null
Monthly New Registered Accounts
null
USE enwiki_p; set @m=1; #month, 1, ...., 11 set @y=2001; #year SELECT COUNT(*) from ( SELECT user_id, user_name, user_registration, user_editcount FROM user WHERE user_registration BETWEEN '20010101000000' and '20010102000000' #(@y*10000+@m*100+1)*1000000 and (@y*10000+(@m+1)*100+1)*1000000 AND user_editc...
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "16.56"}
null
Total count of AfC reviews
Last run 24 Feb '19 This query counts the number of AfC submissions reviewed during the past 30 days by reading the edit comment associated with each review. Includes drafts in the "Draft" namespace and "User" space. You can re-run this query and get new data at any time by following these steps: 1. log into quarry.w...
use enwiki_p; select count(rc_id) as edits, user_name from recentchanges_userindex left join user on rc_user = user_id inner join comment c on rc_comment_id = c.comment_id where (rc_namespace = 118 or rc_namespace = 2) and (comment_text like "Declining submission:%" or comment_text like "%Publishing accepted%") gr...
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "12.07"}
null
Reasons why AfC submissions were declined
Last run October 16, 2016 This query counts the number of AfC submissions declined for each reason during the past 30 days by reading the edit comment associated with each declined submission. Includes drafts in the "Draft" namespace. You can re-run this query and get new data at any time by following these steps: 1....
use enwiki_p; select count(rc_id) as declines, rc_comment from recentchanges where rc_namespace = 118 and rc_comment like "Declining submission:%" group by rc_comment order by declines desc;
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "12.46"}
null
Mainspace pages linking to redirects to pages in [[Category:Wikipedia essays]] or subcats
[[WP:RAQ#Mainspace pages that link to a page in a specific category]] circa 27-30 September 2019. Assumes the category tree itself hasn't changed since the initial queries. (There has to be some efficient way to generate a list of categories in a tree to a certain depth in pure sql. Doesn't there?) Related queries:...
-- Redirects in that category tree - mainly to show that there's little, if any, overlap with queries 39227 and 39228 SELECT DISTINCT CONCAT('[[', CASE page_namespace WHEN 2 THEN 'User:' WHEN 4 THEN 'Wikipedia:' ELSE CONCAT('{{...
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "13.02"}
null
Fiwiki top 2019 editors
null
SET @first_rev_id_in_2019 = 17811427 ; SET @first_timestamp = 20190000000000 ; select count(distinct(rev_id)) as c, actor_name from fiwiki_p.revision, fiwiki_p.actor where actor_id=rev_actor and rev_timestamp > @first_timestamp and rev_id > @first_rev_id_in_2019 group by actor_id order by c...
{"resultsets": [{"headers": ["page_title"], "rowcount": 520}], "runningtime": "12.43"}
null
WLM-UK competition participants 2013-14 & 2016-18, not active so far in 2019
WLM-UK competition participants 2013-14 & 2016-18, not active so far in 2019
use commonswiki_p; SELECT CONCAT("# {{#target:User_talk:", actor_name, "}}") as line FROM revision r_prev join categorylinks on rev_page = cl_from join actor on rev_actor = actor_id and actor_user is not null WHERE rev_parent_id = 0 and cl_to IN ( "Images_from_Wiki_Loves_Monuments_2019_in_the_United_Kingdom" ) and ...
{"resultsets": [{"headers": ["cl_to", "count_cl_to"], "rowcount": 2}], "runningtime": "129.62"}
null
Wikipédia:Legtöbbször hivatkozott lapok
5000 most-time linked red link (not existing article) on huwiki Az 5000 legtöbbet hivatkozott piros link (nem létező cikk) a magyar Wikipédián
USE huwiki_p; SELECT pl_title AS title, COUNT(pl_from) AS requests /*concat('[[', replace(pl_title, '_', ' '), ']]') AS 'Cím', concat('[[Speciális:Mi hivatkozik erre/', replace(pl_title, '_', ' '), '|', COUNT(pl_from), ']]') AS 'Hivatkozások száma'*/ FROM page p JOIN pagelinks ON p.page_id = pl_from LEFT JOIN pag...
{"resultsets": [{"headers": ["edit_year", "edit_count"], "rowcount": 16}], "runningtime": "0.32"}
null
USA kategóriák a magyar Wikipédián
Az USA vagy USÁ nevű kategóriák listázása
USE huwiki_p; SELECT page_title FROM page WHERE page_namespace = 14 AND page_title LIKE '%USA%' AND page_title LIKE '%USÁ%' AND page_is_redirect = 0
{"resultsets": [{"headers": ["FILE"], "rowcount": 269}], "runningtime": "126.50"}
null
تذکر تبلیغ
null
USE fawiki_p; SELECT concat('[[user:',rev_user_text,']]') as user_name, COUNT(rev_timestamp) AS revisions FROM revision join page WHERE page_id=rev_page and page_namespace=0 and rev_comment LIKE '%لگو:تبلیغ مکنید%' GROUP BY rev_user_text order by 2 DESC;
{"resultsets": [{"headers": ["File name", "Date", "Size", "Uploader's name"], "rowcount": 0}], "runningtime": "350.11"}
null
potm test
enWS PoM March 2015 edit-in-namespace detail summary
SELECT edt.rev_actor as 'Editor', ndx.page_title as 'Work', sum(edp.page_namespace = 104) as 'Page-space: edits', sum(edp.page_namespace = 106) as 'Index-space: edits', sum(edp.page_namespace = 0) as 'Main-space: edits', COUNT(edp.page_id)-sum(edp.page_namespace in (0,104,106)) AS 'Other edits' ...
{"resultsets": [{"headers": ["tl_title", "page_title"], "rowcount": 811}], "runningtime": "3.77"}
null
Pickled accounts at FA WP
null
use fawiki_p; select log_user, user_name, str_to_date(left(log_timestamp, 8), '%Y%m%d') account_creation, str_to_date(left(firstedit, 8), '%Y%m%d') first_edit, str_to_date(left(lastedit, 8), '%Y%m%d') last_edit, total_edits, datediff(str_to_date(left(firstedit, 8), '%Y%m%d'), str_to_date(left(log_timestamp, 8), '%Y%m%d...
{"resultsets": [{"headers": ["CreationTime", "Title", "DeletionTime", "DeletionComment"], "rowcount": 12}], "runningtime": "39.56"}
null
Transclusion on a page
This will pull the names of the links on a particular page. For example, the text of the "Don't poke the bear" page contains the link "[[bear]]" so the output of this query will list "Bear" as a result.
USE commonswiki_p; SELECT page_title FROM page JOIN templatelinks ON tl_from = page_id WHERE page_namespace = 14 AND tl_title = 'Monument_istoric' AND tl_namespace = 10;
{"resultsets": [{"headers": ["Tables_in_enwiki_p"], "rowcount": 110}], "runningtime": "0.70"}
null
POTM TAWS SEP19
Proofread of the month. List of user who have participated in the event.
SELECT act.actor_name as 'Editor', ndx.page_title as 'Work', sum(edp.page_namespace = 250) as 'Page-space: edits', sum(edp.page_namespace = 252) as 'Index-space: edits', sum(edp.page_namespace = 0) as 'Main-space: edits', COUNT(edp.page_id)-sum(edp.page_namespace in (0,250,252)) AS 'Other edits'...
{"resultsets": [{"headers": ["rev_page", "page_namespace", "page_title", "pr_page", "pr_type", "pr_level", "pr_cascade", "pr_user", "pr_expiry", "pr_id"], "rowcount": 228}], "runningtime": "4.05"}
null
x站区
null
select page_title from zhwiki_p.page where page_namespace=0 and (page_title like '%站區');
{"resultsets": [{"headers": ["Vikipeedia", "Commons", "page_id"], "rowcount": 1}], "runningtime": "1.58"}
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": ["Vikipeedia", "Commons", "page_id"], "rowcount": 201}], "runningtime": "1.12"}
null
Test Quarry
null
use bnwikisource_p; select rev_id from revision_userindex ru inner join page p on rev_page = page_id where rev_actor=143 and rev_timestamp > 20190100000000 and page_is_redirect = 0 and page_namespace = 104
{"resultsets": [{"headers": ["Tables_in_svwiki_p"], "rowcount": 92}], "runningtime": "0.64"}
null
wikidata: number of deleted items per month and user
null
USE wikidatawiki_p; SELECT SUBSTR(log_timestamp, 1, 6) AS bucket, COUNT(DISTINCT log_title) AS cnt FROM logging JOIN actor_logging ON log_actor=actor_id WHERE actor_name='MisterSynergy' -- AND log_namespace=0 AND log_type='delete' AND log_action='delete' GROUP BY bucket ORDER BY bucket ASC;
{"resultsets": [{"headers": ["actor_name", "c"], "rowcount": 46}], "runningtime": "482.36"}
null
POTM TAWS JUN19
Proofread of the month. List of user who have participated in the event.
SELECT act.actor_name as 'Editor', ndx.page_title as 'Work', sum(edp.page_namespace = 250) as 'Page-space: edits', sum(edp.page_namespace = 252) as 'Index-space: edits', sum(edp.page_namespace = 0) as 'Main-space: edits', COUNT(edp.page_id)-sum(edp.page_namespace in (0,250,252)) AS 'Other edits'...
{"resultsets": [{"headers": ["t2"], "rowcount": 188}], "runningtime": "11.16"}
null
POTM TAWS MAY19
Proofread of the month. List of user who have participated in the event.
SELECT act.actor_name as 'Editor', ndx.page_title as 'Work', sum(edp.page_namespace = 250) as 'Page-space: edits', sum(edp.page_namespace = 252) as 'Index-space: edits', sum(edp.page_namespace = 0) as 'Main-space: edits', COUNT(edp.page_id)-sum(edp.page_namespace in (0,250,252)) AS 'Other edits'...
{"resultsets": [{"headers": ["t2"], "rowcount": 183}], "runningtime": "3.67"}
null
Commons users started as mobile app users
null
USE commonswiki_p; SELECT first_upload, uploads, username FROM ( SELECT MIN(log_timestamp) AS first_upload, MIN(log_id) AS first_upload_id, COUNT(log_timestamp) AS uploads, log_user_text AS username FROM logging_compat LEFT JOIN user ON user_id = log_user JOIN change_tag ON ct_log_id = log_id JOIN page ON lo...
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 31}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 6}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 12}], "runningtime": "7.08"}
null
Voci senza interlink e con un solo link in ingresso (da 1,25 a 1,5 KB)
null
USE itwiki_p; SELECT DISTINCT page_title FROM page, revision WHERE page_id = rev_page AND rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 AND page_len BETWEEN 1250 AND 1500 AND page_title IN ( SELECT pl_title FROM pagelinks WHERE pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title = page_titl...
{"connection_id": 22776846}
null
Autoreviewed uploaders in ruwiki
null
USE ruwiki_p; SELECT COUNT(*), user_name, fr_timestamp AS 'last timestamp', CONCAT('https://ru.wikipedia.org/wiki/Служебная:Журналы?type=review&user=', user_name) AS 'review log' FROM ( SELECT * FROM flaggedrevs ORDER BY fr_rev_id DESC LIMIT 1000000 -- 4 months ) AS fr_tmp JOIN user ON fr_user = user_id J...
{"resultsets": [{"headers": ["page_title"], "rowcount": 37}], "runningtime": "4.30"}
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": ["log_action", "log_namespace", "log_title", "log_timestamp"], "rowcount": 1129}], "runningtime": "4.65"}
null
WLM-UA Photo Competition participants 2019
WLM-UA Photo Competition participants 2019
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_Ukra...
{"resultsets": [{"headers": ["log_action", "log_namespace", "log_title", "log_timestamp"], "rowcount": 263}], "runningtime": "1.59"}
null
Hebrew Wiki Writers, a check by Ehud Amir
null
use hewiki_p; select user_name, count(page_title) from user join revision_userindex join page join actor on user_id = actor_user and rev_page = page_id and rev_actor = actor_id where page_namespace = 0 and not page_is_redirect and rev_parent_id = 0 and rev_deleted = 0 group by user_name having count(page_title) >= 50 o...
{"resultsets": [{"headers": ["page_title"], "rowcount": 30}], "runningtime": "0.33"}
null
Kyiv2019-week-new
null
USE ukwiki_p; SET SESSION group_concat_max_len = 10000; SELECT @rownum := @rownum + 1 AS rank, IFNULL(user_name, 'Всього'), created, total_len, articles FROM ( SELECT CONCAT('[[Користувач:', user_name, '|', ']]') as user_name, COUNT(1) AS created, SUM(article.page_len) as total_len, G...
{"resultsets": [{"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 13}], "runningtime": "0.19"}
null
Hewiki multiwiki missing articles
null
use ruwiki_p; select (select count(ll_lang) from langlinks where ll_from = page_id) + 1 as "number", (select ll_title from langlinks where ll_from = page_id and ll_lang = "en") as "name" from page where page_namespace = 0 and (select count(ll_lang) from langlinks where ll_from = page_id) > 9 and exists (select ...
{"resultsets": [{"headers": ["gt_id", "gt_page_id", "gt_globe", "gt_primary", "gt_lat", "gt_lon", "gt_dim", "gt_type", "gt_name", "gt_country", "gt_region"], "rowcount": 100}], "runningtime": "0.47"}
null
Voci senza interlink e con un solo link in ingresso (da 1,5 a 2 KB)
null
USE itwiki_p; SELECT DISTINCT page_title FROM page, revision WHERE page_id = rev_page AND rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 AND page_len BETWEEN 1500 AND 2000 AND page_title IN ( SELECT pl_title FROM pagelinks WHERE pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title = page_titl...
{"resultsets": [{"headers": ["CONCAT('# [[Template:',REPLACE(page_title,'_',' '),']]')"], "rowcount": 1}], "runningtime": "0.19"}
null
Voci senza interlink e con un solo link in ingresso (da 2 a 2,5 KB)
null
USE itwiki_p; SELECT DISTINCT page_title FROM page, revision WHERE page_id = rev_page AND rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 AND page_len BETWEEN 2000 AND 2500 AND page_title IN ( SELECT pl_title FROM pagelinks WHERE pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title = page_titl...
{"connection_id": 97898603}
null
Scripts inventory
This request gathers the scripts
SELECT CONCAT(case when page_namespace = 2 then 'User:' when page_namespace = 8 then 'MediaWiki:' end , page_title) FROM frwiki_p.page WHERE page_namespace IN (2, 8) AND page_len > 255 AND page_title LIKE '%.js' AND NOT page_title REGEXP '.*/(cologneblue|common|minerva|modern|monobook|timele...
{"resultsets": [{"headers": ["CONCAT('# [[Template:',REPLACE(page_title,'_',' '),']]')"], "rowcount": 0}], "runningtime": "0.09"}
null
Voci senza interlink e con un solo link in ingresso (da 2,5 a 3,5 KB)
null
USE itwiki_p; SELECT DISTINCT page_title FROM page, revision WHERE page_id = rev_page AND rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 AND page_len BETWEEN 2500 AND 3500 AND page_title IN ( SELECT pl_title FROM pagelinks WHERE pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title = page_titl...
{"resultsets": [{"headers": ["tl_title"], "rowcount": 10}], "runningtime": "0.14"}
null
Voci senza interlink e con un solo link in ingresso (da 5 a 10 KB)
null
USE itwiki_p; SELECT DISTINCT page_title FROM page, revision WHERE page_id = rev_page AND rev_parent_id = 0 AND page_namespace = 0 AND page_is_redirect = 0 AND page_len BETWEEN 5000 AND 10000 AND page_title IN ( SELECT pl_title FROM pagelinks WHERE pl_from_namespace = 0 AND pl_namespace = 0 AND pl_title = page_tit...
{"resultsets": [{"headers": ["gt_page_id", "count"], "rowcount": 3}, {"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": 1}, {"heade...
null
Newest Images from Wiki Loves Monuments 2019 in Iran
null
use commonswiki_p; select distinct concat("File:", page_title) as File, img_timestamp as Time_Uploaded from page join categorylinks on cl_from = page_id join image on img_name = page_title where page_namespace = 6 and cl_to = "Images_from_Wiki_Loves_Monuments_2019_in_Iran" and cl_type = "file" order by img_timestamp de...
{"resultsets": [{"headers": ["CONCAT('# [[Template:',REPLACE(page_title,'_',' '),']]')"], "rowcount": 1}], "runningtime": "0.23"}
null
Commons users started as mobile app users (2)
null
USE commonswiki_p; SELECT first_upload, uploads, username, ct_id IS NOT NULL AS first_is_mobile FROM ( SELECT MIN(log_timestamp) AS first_upload, MIN(log_id) AS first_upload_id, COUNT(log_timestamp) AS uploads, log_user_text AS username FROM logging_compat LEFT JOIN user ON user_id = log_user JOIN change_tag O...
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 32}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 6}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 12}], "runningtime": "4.01"}
null
Wikidata - Descriptions in Bengali with Latin characters
null
USE wikidatawiki_p; SELECT term_full_entity_id, term_text FROM wb_terms WHERE term_type='description' AND term_language='bn' AND term_text REGEXP '[A-Za-z]' AND term_text NOT LIKE 'পারিবারিক নাম%' AND term_text NOT LIKE 'প্রদত্ত%' LIMIT 200
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "48.90"}
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": ["now()"], "rowcount": 1}, {"headers": ["rev_id", "rc_timestamp", "actor_name", "rc_title", "comment_text"], "rowcount": 109201}], "runningtime": "470.02"}
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": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_page_id"], "rowcount": 864}], "runningtime": "12.73"}
null
ukwiktionary non-bot users with over 500 edits
null
select user_name, user_editcount, coalesce ( (select 'Y' from ukwiktionary_p.user_groups ug where ug.ug_user = u.user_id and ug.ug_group = 'bot' limit 1), (select 'Y' from ukwiktionary_p.user_former_groups ufg where ufg.ufg_user = u.user_id and ufg.ufg_group = 'bot' limit 1), 'N' ) as isBot from ukwiktionary_p....
{"resultsets": [{"headers": ["pages", "date"], "rowcount": 456}], "runningtime": "26.75"}
null
Longest pages in the Wikimedia Commons Data: namespace
For T234788.
USE commonswiki_p; SELECT page_title, page_len FROM page WHERE page_is_redirect = 0 AND page_namespace = 486 -- Data: AND page_len >= POW(2, 18) -- arbitrary cutoff so the ORDER BY has less data to sort ORDER BY page_len DESC LIMIT 10;
{"resultsets": [{"headers": ["concat(\"[[\",REPLACE(imgtmp.page_title, '_', ' '),\"]]\")", "COUNT(cl_to)"], "rowcount": 1597}], "runningtime": "9.10"}
null
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ সৃষ্টি করা ব্যবহারকারী
১৫-০২-২০১৯ অনুসারে
USE bnwiki_p; SELECT CONCAT("[[ব্যবহারকারী:",user_name,"|",user_name,"]]") AS user_name, COUNT(rev_id) AS মোট_নিবন্ধ FROM user INNER JOIN revision; ON revisions.rev_actor = user.user_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_timestam...
{"resultsets": [{"headers": ["cl_to", "COUNT(cl3.cl_from)"], "rowcount": 212}], "runningtime": "0.80"}
null
Longest titles in svwiki
null
USE svwiki_p; SELECT * FROM revision ORDER BY rev_timestamp ASC LIMIT 100
{"resultsets": [{"headers": ["user_id", "user_name", "user_registration", "user_editcount"], "rowcount": 300}], "runningtime": "16.56"}
null
Longest titles in svwiki
null
USE svwiki_p; SELECT * FROM revision ORDER BY rev_timestamp ASC LIMIT 100
{"resultsets": [{"headers": ["user_id", "user_name", "user_registration", "user_editcount"], "rowcount": 300}], "runningtime": "83.87"}
null
Longest titles in svwiki
null
USE svwiki_p; SELECT * FROM page WHERE page_id = 618
{"resultsets": [{"headers": ["user_id", "user_name", "user_registration", "user_editcount"], "rowcount": 300}], "runningtime": "34.85"}
null
PAGESINCATEGORY errors for cats linked from given page
Differences between the actual number and the values produced by {{PAGESINCATEGORY:cat}} for each category linked from a given page, here [[Template:CSD-categories]].
SELECT cat_title, cl_type, COUNT(*) AS 'actual', CASE cl_type WHEN 'page' THEN cat_pages - cat_subcats - cat_files WHEN 'subcat' THEN cat_subcats WHEN 'file' THEN cat_files ELSE cl_type END AS 'reported' FROM categorylinks JOIN category ON cl_to = cat_titl...
{"resultsets": [{"headers": ["page_title"], "rowcount": 3}], "runningtime": "0.13"}
null
Frankivsk2018-week-new
null
USE ukwiki_p; SET SESSION group_concat_max_len = 10000; SELECT @rownum := @rownum + 1 AS rank, IFNULL(user_name, 'Всього'), created, total_len, articles FROM ( SELECT CONCAT('[[Користувач:', rev_user_text, '|', ']]') as user_name, COUNT(1) AS created, SUM(article.page_len) as total_len,...
{"resultsets": [{"headers": ["en_baslik", "tr_baslik", "tr_kategori"], "rowcount": 50}], "runningtime": "0.88"}
null
Wikinews articles missing items
null
USE eswikinews_p; SELECT REPLACE(page.page_title, '_', ' ') AS 'Title', categorylinks.cl_to AS 'Date' FROM page JOIN categorylinks ON cl_from = page_id WHERE NOT EXISTS ( SELECT 1 FROM page_props WHERE pp_page = page_id AND pp_propname IN ( 'wikibase_item', 'disambiguation' ) ) AND page_namespace = 0 AND page_i...
{"resultsets": [{"headers": ["en_baslik", "tr_baslik", "tr_kategori"], "rowcount": 44}], "runningtime": "0.42"}
null
tff links
null
use trwiki_p; SELECT page_title, el_to FROM externallinks enel join page on page_id=el_from and page_namespace=0 where el_to like "http%://www.tff.org/Default.aspx?pageID=394%"
{"resultsets": [{"headers": ["en_baslik", "tr_baslik", "tr_kategori"], "rowcount": 10}], "runningtime": "0.23"}
null
Count Total Edits by Quarter
Count total edits by registered editors by quarter
USE enwiki_p; SELECT COUNT(*) FROM revision WHERE rev_timestamp BETWEEN '20070701000000' AND '20071001000000' AND rev_actor!=0 AND rev_page in (SELECT page_id FROM page WHERE page_namespace=0)
{"connection_id": 100292176}
null
Translators at mediawiki with language, number of translations
For a given prefix of translatable pages, take all translators for the latest versions of translation units (otherwise someone fixing their own typos would look a prolific translator) and order them by language and translation volume.
use mediawikiwiki_p; SELECT actor_name as user, substring_index(page_title, '/', -1) AS language, count(*) AS no_translations, CONCAT('* {{target | page = User:', actor_name, ' | site = www.mediawiki.org}}') AS url FROM page LEFT JOIN -- Take only the latest revision of each translation to simplify revision...
{"connection_id": 100304629}
null
Translators at meta with language, number of translations
For a given prefix of translatable pages, take all translators for the latest versions of translation units (otherwise someone fixing their own typos would look a prolific translator) and order them by language and translation volume.
use metawiki_p; SELECT actor_name as user, substring_index(page_title, '/', -1) AS language, count(*) AS no_translations, CONCAT('* {{target | page = User:', actor_name, ' | site = meta.wikimedia.org}}') AS url FROM page LEFT JOIN -- Take only the latest revision of each translation to simplify revision ON ...
{"connection_id": 25741944}
null
lvwiki articles without any statements in Wikidata
null
USE wikidatawiki_p; SELECT * FROM wb_items_per_site, page_props, page WHERE ips_site_id IN ('etwiki') AND page_namespace=0 AND ips_item_id=substr(page_title,2)*1 AND page_id=pp_page AND pp_propname='wb-claims' AND pp_sortkey=0 LIMIT 10;
{"resultsets": [{"headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"], "rowcount": 0}], "runningtime": "0.11"}
null
xx可怜
null
select * from zhwiki_p.page where page_namespace=0 and (page_title like '%可憐' or page_title like '%可怜');
{"resultsets": [{"headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"], "rowcount": 10}], "runningtime": "0.26"}
null
A magyar Wikipédia mérete
https://hu.wikipedia.org/wiki/Szerkesztő:Samat/A_magyar_Wikipédia_mérete
USE huwiki_p; /* Real data */ SELECT NOW() AS date, SUM(page_len)/(1024*1024) AS 'total (MiB)', COUNT(page_id) AS articles, AVG(page_len) AS 'average (B)' FROM page WHERE page_namespace = 0 AND page_is_redirect = 0; /* With redirects */ SELECT NOW() AS date, SUM(page_len)/(1024*1024) AS 'total (MiB)', COUNT(page...
{"resultsets": [{"headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"], "rowcount": 289}], "runningtime": "1.47"}
null
A magyar Wikipédia mérete
https://hu.wikipedia.org/wiki/Szerkesztő:Samat/A_magyar_Wikipédia_mérete
USE huwiki_p; /* Real data */ SELECT NOW() AS date, SUM(page_len)/(1024*1024) AS 'total (MiB)', COUNT(page_id) AS articles, AVG(page_len) AS 'average (B)' FROM page WHERE page_namespace = 0 AND page_is_redirect = 0; /* With redirects */ SELECT NOW() AS date, SUM(page_len)/(1024*1024) AS 'total (MiB)', COUNT(page...
{"resultsets": [{"headers": ["replace(page_title, '_', ' ')", "page_namespace"], "rowcount": 10}], "runningtime": "0.19"}
null
Validated-Kaleeswari-இலக்கியத்_தூதர்கள்
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": ["\u0633\u0631\u062e \u0631\u0648\u0627\u0628\u0637", "pl_from"], "rowcount": 5}], "runningtime": "0.47"}
null
Proofread-DeepaArul-ஹெர்க்குலிஸ்
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where (comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") #...
{"resultsets": [{"headers": ["page_title", "pl_title", "page_latest"], "rowcount": 114}], "runningtime": "1.60"}
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": ["ar_title", "actor_name", "ar_timestamp"], "rowcount": 482}], "runningtime": "14.86"}
null
test-ukwiki
null
select user_name,user_editcount from ukwiki_p.user u where u.user_editcount > 100000 and (u.user_name not like "%bot%" and u.user_name not like "%Bot" and u.user_name not like "%boT%" and u.user_name != "Automatic welcomer" ) order by u.user_editcount desc limit 20
{"resultsets": [{"headers": ["pp_value", "page_title", "tl_namespace", "tl_title"], "rowcount": 15596}], "runningtime": "736.53"}
null
বাংলা উইকিতে সবচেয়ে বেশী নিবন্ধ তৈরি করা ব্যবহারকারী
অনুসারে
USE bnwiki_p; SELECT CONCAT("[[ব্যবহারকারী:",user_name,"|",user_name,"]]") AS user_name, COUNT(rev_id) AS মোট_নিবন্ধ FROM user INNER JOIN revision ON revision.rev_user = user.user_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_timestamp <...
{"resultsets": [{"headers": ["date", "images"], "rowcount": 57}], "runningtime": "0.85"}
null
Fawiki 2019 elections eligible voters
null
use fawiki_p; select concat('[[User:', user_name, '|]]'), concat(left(log_timestamp, 4), '-', mid(log_timestamp, 5, 2), '-', mid(log_timestamp, 7, 2)) as acct_created, concat(left(first_timestamp, 4), '-', mid(first_timestamp, 5, 2), '-', mid(first_timestamp, 7, 2)) as first_edit, concat('{{formatnum:', onefifty.cnt, '...
{"resultsets": [{"headers": ["cl_to", "count_cl_to"], "rowcount": 294}], "runningtime": "7.54"}
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": [{"headers": ["File name", "Date", "Size", "Uploader's name"], "rowcount": 23}], "runningtime": "770.82"}
null
Red links from Wikipedia:Projektkontoret/Vem är hon
Red links from Wikipedia:Projektkontoret/Vem är hon
USE svwiki_p; ( SELECT pl_title FROM pagelinks LEFT JOIN page ON pl_title=page_title AND page_namespace = 0 WHERE pl_from = 3900774 AND pl_namespace = 0)
{"resultsets": [{"headers": ["uploader"], "rowcount": 156}], "runningtime": "0.63"}
null
Proofread-Divya-அதிகமான்நெடுமான்அஞ்சி
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where (comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") #...
{"resultsets": [{"headers": ["page_title"], "rowcount": 54}], "runningtime": "0.86"}
null
Proofread-YasodhaGanesh-தமிழ்ப் பழமொழிகள்-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": [{"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": 115}], "runningtime": "1.01"}
null
#1 InvApl - Historia de Canarias
null
USE eswiki_p; SELECT cat_title, cat_pages, cat_subcats FROM category WHERE cat_title IN ( "Historia_de_Canarias", "Historia_de_la_provincia_de_Las_Palmas", "Museos_de_la_provincia_de_Las_Palmas", "Museos_de_Gran_Canaria", "Museos_de_Las_Palmas_de_Gran_Canaria" "Museos_de_Lanzarote", ...
{"resultsets": [{"headers": ["Field", "Type", "Null", "Key", "Default", "Extra"], "rowcount": 3}, {"headers": ["rc_id", "rc_timestamp", "rc_actor", "rc_namespace", "rc_title", "rc_comment_id", "rc_minor", "rc_bot", "rc_new", "rc_cur_id", "rc_this_oldid", "rc_last_oldid", "rc_type", "rc_source", "rc_patrolled", "rc_ip",...
null
Proofread-Muthulakshmi-சமுதாயமறுமலர்ச்சிஇலக்கியங்கள்
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"], "rowcount": 563}], "runningtime": "9.65"}
null
#1 InvApl - Cultura de Canarias
null
USE eswiki_p; SELECT cat_title, cat_pages, cat_subcats FROM category WHERE cat_title IN ( "Cultura_de_Canarias", "Cultura_de_la_provincia_de_Las_Palmas", "Cultura_de_Las_Palmas_de_Gran_Canaria", "Carnaval_de_Las_Palmas_de_Gran_Canaria", "Museos_de_Las_Palmas_de_Gran_Canaria", "Puerto_...
{"resultsets": [{"headers": ["page_title"], "rowcount": 560}], "runningtime": "5.69"}
null