title
stringlengths
1
212
description
stringlengths
1
4.39k
query
stringlengths
1
65.5k
extra_info
stringlengths
18
31.6k
wikidb
stringlengths
4
26
Validated-Ramesh-சிரிக்க_சிந்திக்க_சிறுவர்_கதைகள்
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where #(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") ...
{"resultsets": [{"rowcount": 10, "headers": ["tl_from", "tl_namespace", "tl_title", "tl_from_namespace"]}], "runningtime": "0.11"}
null
Proofread-Ramesh-சிந்தனை_துளிகள்
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where (comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") #...
{"resultsets": [{"rowcount": 442, "headers": ["fr_flags", "log_page", "log_timestamp", "user_name", "ug_group", "revid", "newtitle"]}], "runningtime": "12.00"}
null
Proofread-Ramesh-சிந்தனை_துளிகள்
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where (comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") #...
{"resultsets": [{"rowcount": 442, "headers": ["fr_flags", "log_page", "log_namespace", "log_timestamp", "user_name", "ug_group", "revid", "newtitle"]}], "runningtime": "3.15"}
null
Proofread-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": [{"rowcount": 1, "headers": ["now()", "@w", "@pr", "@l"]}, {"rowcount": 1000, "headers": ["wikipage"]}], "runningtime": "186.65"}
null
Proofread-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%") #...
{"connection_id": 8704785}
null
Proofread-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": ["log_title"], "rowcount": 145}], "runningtime": "1.60"}
null
Proofread-Ramesh-சிந்தனை_துளிகள்
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where #(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") ...
{"resultsets": [{"rowcount": 12, "headers": ["log_title"]}], "runningtime": "6.95"}
null
Proofread-Ramesh-சிந்தனை_துளிகள்
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SELECT distinct page_title as Title, actor_name as user, comment_text as comment FROM revision join page ON page_id = rev_page join comment on comment_id = rev_comment_id join actor ON rev_actor = actor_id where #(comment_text like "%மெய்ப்புப் பார்க்கப்பட்டவை%" or comment_text like "%Proofread%") ...
{"resultsets": [{"rowcount": 1, "headers": ["now()", "@w", "@pr", "@l"]}, {"rowcount": 1000, "headers": ["wikipage"]}], "runningtime": "180.62"}
null
fix
2417
use arwiki_p; SELECT DISTINCT p1.page_title FROM page p1 , categorylinks cla WHERE p1.page_namespace = 1 and cla.cl_from = p1.page_id and (p1.page_title like "%لاعب_كرة_قدم_أمريكية%" or p1.page_title like "%لاعب_كرة_قدم_أسترالية%") and cla.cl_to = "مقالات_مشروع_ويكي_كرة_القدم" GROUP by p1.page_title
{"resultsets": [{"headers": ["now()", "@w", "@pr", "@l"], "rowcount": 1}, {"headers": ["wikipage"], "rowcount": 1142}], "runningtime": "566.80"}
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": ["actor_name", "c"], "rowcount": 49}], "runningtime": "497.89"}
null
Last author of page is IP
null
USE itwikisource_p; select concat('[[', page_title, ']]') page, comment_text, concat('[[Speciale:Contributi/', actor_name, ']]') author from page join revision on page_latest = rev_id join comment on rev_comment_id = comment_id join actor on rev_actor = actor_id where page_namespace = 0 and actor_user is null;
{"resultsets": [{"rowcount": 1, "headers": ["now()"]}, {"rowcount": 3, "headers": ["result"]}], "runningtime": "0.22"}
null
words ending in –us
null
SELECT page_title FROM page WHERE page_title LIKE '%us' ORDER BY 1
{"resultsets": [{"rowcount": 983, "headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_page_id"]}, {"rowcount": 1, "headers": ["actor_id", "actor_user", "actor_name"]}], "runningtime": "5.98"}
null
counting words ending in –us
null
SELECT COUNT(1) FROM page WHERE page_title LIKE '%us'
{"resultsets": [{"rowcount": 10, "headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_page_id"]}], "runningtime": "0.21"}
null
List by camera metadata DMC-TZ18
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, "Software") + 15, 10) AS Software FROM image JOIN actor_image ON img_actor = actor_id WHERE img_timestamp>20190100000000 AND img_minor_mime="jpeg" AND img_metadata LIKE "%DMC-TZ18%" GROUP BY actor_name LIMIT 90;
{"resultsets": [{"rowcount": 9, "headers": ["page_title"]}], "runningtime": "43.88"}
null
Most used templates in enwiki
null
USE enwiki_p; SELECT tl_title, COUNT(1) FROM templatelinks WHERE -- tl_title = 304821 tl_namespace = 10 AND tl_from_namespace = 0 AND tl_title = 'Failed_verification' GROUP BY 1 ORDER BY 2 DESC LIMIT 100
{"connection_id": 2093023}
null
مقالات لا تحتوي تصنيفا معينا حسب مدخلات ويكي بيانات
null
use wikidatawiki_p; select term_text from page inner join pagelinks on pl_from = page_id inner join wb_terms on term_full_entity_id = page_title where pl_title = "Q21328581" and page_is_redirect = 0 and page_namespace = 0 and pl_namespace = 0 and pl_from_namespace =0 and term_entity_type = "item" and term_type = "labe...
{"connection_id": 9418872}
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": ["user_name", "user_id", "actor_id", "rc_id"], "rowcount": 91}], "runningtime": "0.75"}
null
ćwierćmilionowa zielona
null
use plwikisource_p; SELECT cat_title, COUNT(*) AS ilosc FROM category JOIN categorylinks ON cat_title=cl_to WHERE cl_to = 'Uwierzytelniona' AND cl_type='page'; select rev_id, rev_page, rev_timestamp, rev_actor, page_title from revision join page on rev_page=page_id join comment_revision on rev_comment_id=commen...
{"resultsets": [{"headers": ["user_name", "user_id", "actor_id", "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", "comment_id", "comment_hash", "comment_text", "comment...
null
Cascade-protected pages on dewiki by namespace
Cascade-protected pages that aren’t already protected directly. For T235154.
USE `dewiki_p`; SELECT `page_namespace`, COUNT(*) AS `count` FROM `page` JOIN `templatelinks` ON `page_title` = `tl_title` AND `page_namespace` = `tl_namespace` JOIN `page_restrictions` ON `tl_from` = `pr_page` WHERE `pr_cascade` = 1 AND NOT EXISTS ( SELECT * FROM `page_restrictions` WHERE `pr_page` = `page_id` ...
{"resultsets": [{"headers": ["revactor_actor", "edit_count", "actor_name"], "rowcount": 50}], "runningtime": "1.62"}
null
Jack's Artikel
null
USE dewiki_p; SELECT SQL_BIG_RESULT STRAIGHT_JOIN DISTINCT page_title, IF(page_is_redirect = 1, "Weiterleitung", IF(tl_from IS NOT NULL, "Begriffsklärung", "–")) AS Typ, CONCAT(SUBSTR(rev_timestamp, 1, 4), "-", SUBSTR(rev_timestam...
{"resultsets": [{"headers": ["count(*)"], "rowcount": 1}], "runningtime": "407.82"}
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": 1, "headers": ["timestamp"]}, {"rowcount": 0, "headers": ["wpage"]}], "runningtime": "0.22"}
null
Africa
null
SELECT FROM commonswiki_p.page p INNER JOIN commonswiki_p.categorylinks cl ON p.page_id = cl.cl_from INNER JOIN commonswiki_p.revision r ON p.page_id = r.rev_page WHERE cl.cl_to IN ( "Images_from_Wiki_Loves_Africa_2014", "Images_from_Wiki_Loves_Africa_2015", "Images_from_Wiki_Loves_Africa_2016", "Images_fro...
{"resultsets": [{"rowcount": 1, "headers": ["timestamp"]}, {"rowcount": 0, "headers": ["wpage"]}], "runningtime": "3.93"}
null
Incoming link count for pages with similar titles
Rows with second column 0 are link count to the base name [[100]]. Rows with second column 1 are total link count to qualified titles such as [[100 (number)]].
SET STATEMENT max_statement_time = 120 FOR SELECT pl_title, COUNT(*) FROM pagelinks WHERE pl_from_namespace=0 AND pl_namespace=0 AND pl_title LIKE "2112%" GROUP BY pl_title
{"resultsets": [{"rowcount": 6, "headers": ["Field", "Type", "Null", "Key", "Default", "Extra"]}, {"rowcount": 10, "headers": ["gil_wiki", "gil_page", "gil_page_namespace_id", "gil_page_namespace", "gil_page_title", "gil_to"]}], "runningtime": "0.20"}
null
Bengali Wikipedia editors sorted by number of edits registered in 2019-10
null
use bnwiki_p; select rev_actor, actor_name, count(rev_id) as edit_count, substr(user_registration, 1, 8) as registration_date from revision, actor, user where actor_user = user_id and user_registration between 20191000000000 and 20191100000000 and rev_timestamp > 20190300000000 and rev_act...
{"resultsets": [{"headers": ["pr_page", "pr_type", "pr_level", "pr_cascade", "pr_user", "pr_expiry", "pr_id"], "rowcount": 100}], "runningtime": "0.40"}
null
تخصيص البذور حسب المقالات المشابهة حسب التصنيف
null
use arwiki_p; select concat("#[[", p1.page_title,"]]--->", group_concat(DISTINCT concat("<div class = \"stub-value ",cl4.cl_to,"\">", cl4.cl_to, "</div>") SEPARATOR ' '),"</br>") from page p1 inner join categorylinks cl1 on cl1.cl_from = p1.page_id inner join categorylinks cl2 on p1.page_id = cl2.cl_from inn...
{"resultsets": [{"headers": ["tl_from", "tl_namespace", "tl_title", "tl_from_namespace"], "rowcount": 100}], "runningtime": "0.45"}
null
Plain titled redirects to the respective disambiguation pages with parenthetical titles in ruwiki
null
USE ruwiki_p; SELECT page_title, rd_title FROM redirect JOIN page ON rd_from = page_id WHERE page_namespace = 0 AND rd_title LIKE CONCAT(page_title,"_(значения)")
{"resultsets": [{"headers": ["Tables_in_enwiki_p"], "rowcount": 110}], "runningtime": "0.48"}
null
Commons sub-cats with no Wikidata sitelinks
Sub-categories of a Commons category, with Wikidata sitelinks, but with no Wikidata infobox template
use commonswiki_p; SELECT DISTINCT p2.page_title #, GROUP_CONCAT(c_up.cl_to SEPARATOR ' / ') FROM categorylinks AS c1 JOIN page AS p1 ON c1.cl_from=p1.page_id AND p1.page_namespace=14 AND p1.page_is_redirect=0 JOIN categorylinks AS c2 ON c2.cl_to = p1.page_title JOIN page AS p2 ON c2.cl_from=p2.page_id AND p2.page_name...
{"resultsets": [{"rowcount": 10, "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": "0.12"}
null
عناوين مقالات تحتوي مدة (مثل هـ)
null
use arwiki_p; select page_title from page where page_title like "%ـ%" and page_title not like "%هـ%" and page_namespace = 0 and page_is_redirect = 0;
{"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": 1}], "runningtime": "0.14"}
null
Bengali Wikipedia editors sorted by number of edits registered in 2019-10 and sorted by gender
null
use bnwiki_p; select rev_actor, actor_name, count(rev_id) as edit_count, substr(user_registration, 1, 8) as registration_date, user_properties.up_value as gender from revision, actor, user left join user_properties on ( user.user_id = user_properties.up_user and user_properties.up_prop...
{"resultsets": [{"headers": ["gil_wiki", "gil_page", "gil_page_namespace_id", "gil_page_namespace", "gil_page_title", "gil_to"], "rowcount": 10}], "runningtime": "0.40"}
null
Scratch test gender
null
use hewiki_p; select user_name, user_properties.up_value as gender from user left join user_properties on ( user.user_id = user_properties.up_user and user_properties.up_property = 'gender' ) where user_properties.up_value is not null and user_properties.up_value <> 'male' and user_pro...
{"resultsets": [], "runningtime": "0.03"}
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": 1, "headers": ["rev_timestamp"]}], "runningtime": "0.14"}
null
SDC item IDs for files in a category
null
USE commonswiki_p; SELECT concat("sdc:M",page_id) FROM page INNER JOIN categorylinks on page_id = cl_from and cl_to='Artworks_with_mismatching_structured_data_P6243_property' where page_namespace = 6
{"resultsets": [{"headers": ["rev_timestamp"], "rowcount": 1}], "runningtime": "0.11"}
null
أكثر المستخدمين تعديلًا في مشروع ويكي طب
null
use arwiki_p; select actor_name, count(rev_id) from revision inner join actor on actor_id = rev_actor inner join page p1 on p1.page_id = rev_page where (select p2.page_id from page p2 where p2.page_title = p1.page_title and p2.page_namespace = (p1.page_namespace+1) and p2.page_is_redirect = 0) ...
{"resultsets": [{"headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"], "rowcount": 18}, {"headers": ["log_id", "log_type", "log_action", "user_name", "user_editcount", "user_registration", "log_params"], "rowcount": 173}, {"headers": ["user_name", "user_editc...
null
Temporary sandbox 2
null
USE ruwiki_p; SELECT eu_entity_id, COUNT(eu_page_id) AS cnt FROM wbc_entity_usage WHERE eu_entity_id LIKE 'Q%' GROUP BY eu_entity_id HAVING cnt >= 1000 ORDER BY cnt DESC LIMIT 5000;
{"resultsets": [{"headers": ["page_title"], "rowcount": 38022}], "runningtime": "141.21"}
null
Random sample of 10k revisions from jawiki.
null
USE jawiki_p; SELECT rev_id FROM revision WHERE rev_timestamp BETWEEN "20181216" and "20191216" LIMIT 10000;
{"resultsets": [{"rowcount": 1, "headers": ["rev_timestamp"]}], "runningtime": "0.15"}
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": ["rev_timestamp"], "rowcount": 1}], "runningtime": "0.11"}
null
تخصيص البذور حسب المقالات المشابهة حسب التصنيف
null
use arwiki_p; select concat("#[[", p1.page_title,"]]--->", group_concat(DISTINCT concat("<div class = \"stub-value ",cl4.cl_to,"\">", cl4.cl_to, "</div>") SEPARATOR ' '),"</br>") from page p1 inner join categorylinks cl1 on cl1.cl_from = p1.page_id inner join categorylinks cl2 on p1.page_id = cl2.cl_from inn...
{"resultsets": [{"rowcount": 100, "headers": ["cat_id", "cat_title", "cat_pages", "cat_subcats", "cat_files"]}], "runningtime": "0.46"}
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": 0, "headers": ["cat_id", "cat_title", "cat_pages", "cat_subcats", "cat_files"]}], "runningtime": "0.09"}
null
المقالات الجديدة لبوابة الجزائر
جلب قائمة المقالات المرتبطة ببوابة الجزائر والتي استحدثت سنة 2019
use arwiki_p; select page.page_title , revision.rev_timestamp as ts from page join revision on revision.rev_page = page.page_id join categorylinks on categorylinks.cl_from = page.page_id Where (revision.rev_timestamp >= 20190000000000 and revision.rev_timestamp <= 20191231235959) and revision.rev_parent_id = 0 ...
{"resultsets": [{"headers": ["page_id", "page_title", "page_namespace", "pp_value"], "rowcount": 0}, {"headers": ["ips_row_id", "ips_item_id", "ips_site_id", "ips_site_page"], "rowcount": 2}], "runningtime": "0.25"}
null
redirects to pages
null
SELECT /* SLOW */ page.page_title AS source, redirect.rd_title AS destination FROM redirect, page WHERE redirect.rd_namespace = 0 AND page.page_id = redirect.rd_from;
{"resultsets": [{"headers": ["actor_name", "antal"], "rowcount": 1656}], "runningtime": "5.90"}
null
تخصيص البذور حسب المقالات المشابهة حسب التصنيف
null
use arwiki_p; select concat("#[[", p1.page_title,"]]--->", group_concat(DISTINCT concat("<div class = \"stub-value ",cl4.cl_to,"\">", cl4.cl_to, "</div>") SEPARATOR ' '),"</br>") from page p1 inner join categorylinks cl1 on cl1.cl_from = p1.page_id inner join categorylinks cl2 on p1.page_id = cl2.cl_from inn...
{"resultsets": [{"rowcount": 5, "headers": ["img_name", "img_timestamp", "user_name"]}], "runningtime": "0.20"}
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": ["COUNT(*)"], "rowcount": 1}], "runningtime": "14.97"}
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": ["COUNT(*)"], "rowcount": 1}], "runningtime": "12.87"}
null
Deep links to American FactFinder
null
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://factfinder.census.gov/_%") OR (externallinks.el_to LIKE "http://factfinder.census.gov/_%")) AND page.page_namespace = 0
{"resultsets": [{"headers": ["COUNT(*)"], "rowcount": 1}], "runningtime": "21.20"}
null
Recent geolocated files from Ukraine
Recent geolocated files from Finland based on simple approximate rectangle.
USE commonswiki_p; SELECT page_title FROM geo_tags INNER JOIN page ON page_id = gt_page_id JOIN ( SELECT rev_timestamp, rev_page FROM revision WHERE rev_timestamp >= replace(current_date-1, '-', '')) as rev ON rev.rev_page=page_id AND rev.rev_timestamp=(SELECT MIN(rev_timestamp) FRO...
{"resultsets": [{"headers": ["rev_id", "rev_timestamp", "rev_len", "rev_parent_id"], "rowcount": 64}], "runningtime": "0.30"}
null
মোট সম্পাদনার সংখ্যা
০২-০৯-২০১৮
USE bnwiki_p; SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount FROM user WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)" ORDER BY user_editcount DESC...
{"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", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_...
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": ["ips_row_id", "ips_item_id", "ips_site_id", "ips_site_page", "pp_page", "pp_propname", "pp_value", "pp_sortkey", "page_id", "page_namespace", "page_title", "page_restrictions", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len",...
null
Capture QuickStatement external links of {{Artwork}} templates
null
use commonswiki_p; SELECT concat(REPLACE(REPLACE(REPLACE(el_to, 'https://tools.wmflabs.org/quickstatements/index_old.html#v1=',''),'%09','|'),'%0A','|'),'S4656|\'"https://commons.wikimedia.org/wiki/Category:',page_title,'"') FROM externallinks JOIN page ON page_id = el_from JOIN categorylinks ON cl_from = page_id WHERE...
{"resultsets": [{"rowcount": 1, "headers": ["ss_total_edits"]}, {"rowcount": 1, "headers": ["SUM(user_editcount)"]}, {"rowcount": 807, "headers": ["userid", "name", "editcount", "admin", "bot"]}], "runningtime": "4.62"}
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": ["img_name"], "rowcount": 50}], "runningtime": "1.94"}
null
metawiki inactive admin users
null
use test2wiki_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 ('bureaucrat', 'sysop') JOIN actor ON actor_user = user_id JOIN revision_us...
{"resultsets": [{"headers": ["img_name", "img_timestamp", "user_name"], "rowcount": 5}], "runningtime": "0.30"}
null
Records in table revision without corresponding record in table page
null
USE dewiki_p; SELECT DISTINCT rev_page FROM revision LEFT JOIN page ON rev_page=page_id WHERE page_id IS NULL;
{"resultsets": [{"rowcount": 35, "headers": ["user", "img_count", "user_registration"]}, {"rowcount": 1, "headers": ["Summe_Bilder_neuer_User"]}], "runningtime": "3.83"}
null
Records in table revision without corresponding record in table page
null
USE enwiki_p; SELECT DISTINCT rev_page FROM revision LEFT JOIN page ON rev_page=page_id WHERE page_id IS NULL;
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 23}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 4}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 12}], "runningtime": "2.15"}
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": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 23}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 4}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 12}], "runningtime": "0.90"}
null
External link search
null
SET STATEMENT max_statement_time = 120 FOR SELECT page_namespace, page_title, el_to FROM externallinks JOIN page ON page_id=el_from WHERE el_index_60 LIKE "http://xyz.%" /*AND el_to REGEXP "^http://[a-z]+id\\.xyz"*/ LIMIT 100;
{"resultsets": [{"headers": ["now()"], "rowcount": 1}, {"headers": ["result"], "rowcount": 1000}], "runningtime": "148.95"}
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": 1, "headers": ["now()"]}, {"rowcount": 525, "headers": ["result"]}], "runningtime": "230.34"}
null
zhwiki: title contains 台灣/臺灣
null
USE zhwiki_p; SELECT page_id, page_title FROM page WHERE page_namespace = 0 AND page_is_redirect = 0 AND page_title LIKE "%台灣%"; SELECT page_id, page_title FROM page WHERE page_namespace = 0 AND page_is_redirect = 0 AND page_title LIKE "%臺灣%";
{"resultsets": [{"headers": ["user_name"], "rowcount": 86}], "runningtime": "0.57"}
null
أكثر المستخدمين تعديلًا في مشروع ويكي طب
null
use arwiki_p; select actor_name, count(rev_id) from revision inner join actor on actor_id = rev_actor inner join page p1 on p1.page_id = rev_page where (select p2.page_id from page p2 where p2.page_title = p1.page_title and p2.page_namespace = (p1.page_namespace+1) and p2.page_is_redirect = 0) ...
{"resultsets": [{"rowcount": 8, "headers": ["CONCAT('[[', page_title, ']]')"]}], "runningtime": "376.31"}
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": ["result"], "rowcount": 305}], "runningtime": "170.24"}
null
enwiki:TemplateStyles in the Project namespace
null
use enwiki_p; select page_title, page_namespace, page_is_redirect from page where page_namespace = 4 and page_title like '%styles.css' order by page_namespace, page_is_redirect
{"resultsets": [{"rowcount": 206, "headers": ["page_title", "tl_from"]}], "runningtime": "0.74"}
null
ruwiki:TemplateStyles in the Project namespace
null
use ruwiki_p; select page_title, page_namespace, page_is_redirect from page where page_namespace = 4 and page_title like '%styles.css' order by page_namespace, page_is_redirect
{"resultsets": [{"headers": ["CONCAT('# [[Vorlage:', page_title)"], "rowcount": 204}], "runningtime": "1.04"}
null
enwiki:TemplateStyles in the main namespace
null
use enwiki_p; select page_title, page_namespace, page_is_redirect from page where page_namespace = 0 and page_title like '%styles.css' order by page_namespace, page_is_redirect
{"resultsets": [{"rowcount": 1, "headers": ["@lat := 49.198333", "@lon := 19.51666", "@radius := 10000"]}, {"rowcount": 22, "headers": ["page_title", "distance", "gt_id", "gt_page_id", "gt_globe", "gt_primary", "gt_lat", "gt_lon", "gt_dim", "gt_type", "gt_name", "gt_country", "gt_region"]}, {"rowcount": 1, "headers": [...
null
WLM Puglia 2019 Participants
WLM-UK competition participants 2013-14 & 2016-18, not active so far in 2019
use commonswiki_p; SELECT CONCAT("# {{target| user = ", actor_name, "|site = 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...
{"resultsets": [{"rowcount": 13, "headers": ["rd_from", "rd_namespace", "rd_title", "rd_interwiki", "rd_fragment"]}], "runningtime": "0.13"}
null
تخصيص البذور حسب المقالات المشابهة حسب التصنيف
null
use arwiki_p; select concat("#[[", p1.page_title,"]]--->", group_concat(DISTINCT concat("<div class = \"stub-value ",cl4.cl_to,"\">", cl4.cl_to, "</div>") SEPARATOR ' '),"</br>") from page p1 inner join categorylinks cl1 on cl1.cl_from = p1.page_id inner join categorylinks cl2 on p1.page_id = cl2.cl_from inn...
{"resultsets": [{"rowcount": 24, "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": "0.16"}
null
Commons second-level sub-cats
Sub-categories of a Commons category, with Wikidata sitelinks, but with no Wikidata infobox template
use commonswiki_p; SELECT DISTINCT p2.page_title, p1.page_title FROM categorylinks AS c1 JOIN page AS p1 ON c1.cl_from=p1.page_id AND p1.page_namespace=14 AND p1.page_is_redirect=0 JOIN categorylinks AS c2 ON c2.cl_to = p1.page_title JOIN page AS p2 ON c2.cl_from=p2.page_id AND p2.page_namespace=14 AND p2.page_is_redir...
{"connection_id": 5899958}
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": 1, "headers": ["now()"]}, {"rowcount": 1000, "headers": ["result"]}], "runningtime": "116.01"}
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": 20, "headers": ["title", "actor_name", "edits"]}], "runningtime": "13.32"}
null
Využití neexistujících podšablon šablony Data státu
null
use cswiki_p; select pl_title, count(*) from pagelinks where pl_from_namespace%2 like 0 and pl_from_namespace not like 2 and pl_from not like 661530 and pl_namespace like 10 and pl_title like 'Data_státu/%' and pl_title not in (select page_title from page where page_namespace like 10) and pl_title not like 'Data_státu/...
{"resultsets": [{"headers": ["page_title", "pl_title"], "rowcount": 10}], "runningtime": "0.62"}
null
Enwiki articles in "Category:People with multiple sclerosis" with an interwiki to simplewiki
Per [[:w:simple:Special:PermaLink/6754353#How to compare same category vs. en.wp]]
use enwiki_p; select distinct page_title as English, ll_title as Simple from langlinks join page on ll_from = page_id where ll_lang = "simple" and page_title in ( select page_title from page join categorylinks on cl_from = page_id where cl_to = "People_with_multiple_sclerosis" ) order by English asc;
{"resultsets": [{"rowcount": 100, "headers": ["page_title"]}], "runningtime": "0.48"}
null
Využití neexistujících podšablon šablony Data státu
null
use cswiki_p; select pl_title, count(*) from pagelinks where pl_from_namespace%2 like 0 and pl_from_namespace not like 2 and pl_from not like 661530 and pl_namespace like 10 and pl_title like 'Data_státu/%' and pl_title not in (select page_title from page where page_namespace like 10) and pl_title not like 'Data_státu/...
{"resultsets": [{"rowcount": 74, "headers": ["ct_log_id", "ctd_name"]}], "runningtime": "0.38"}
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": ["ct_id", "ctd_name", "rev_id", "page_namespace", "page_title", "comment_text", "rev_timestamp", "actor_name"], "rowcount": 1}], "runningtime": "171.09"}
null
count {{Information/author processing}} templates
null
use commonswiki_p; SELECT count(*) FROM page join templatelinks tl1 on page_id = tl1.tl_from and tl1.tl_namespace = 10 AND tl1.tl_title="Information/author_processing" WHERE page_namespace = 6
{"resultsets": [{"headers": ["tl_title", "backlinks", "from_main", "page_exists", "page_is_redirect"], "rowcount": 75}], "runningtime": "1.52"}
null
Využití neexistujících podšablon šablony Data státu
null
use cswiki_p; select pl_title, count(*) from pagelinks where pl_from_namespace%2 like 0 and pl_from_namespace not like 2 and pl_from not like 661530 and pl_namespace like 10 and pl_title like 'Data_státu/%' and pl_title not in (select page_title from page where page_namespace like 10) and pl_title not like 'Data_státu/...
{"resultsets": [{"rowcount": 1, "headers": ["user_editcount"]}, {"rowcount": 15, "headers": ["Field", "Type", "Null", "Key", "Default", "Extra"]}, {"rowcount": 15, "headers": ["Field", "Type", "Null", "Key", "Default", "Extra"]}], "runningtime": "1.03"}
null
Ruwiki IWRM.js usage → wikitable
null
USE ruwiki_p; SELECT CONCAT('[[User:', user_name, '|]]') AS User, COUNT(rev_id) AS Edits FROM revision JOIN change_tag ON ct_rev_id = rev_id JOIN user ON rev_user = user_id WHERE ct_tag = 'iwrm' GROUP BY rev_user ORDER BY edits DESC;
{"resultsets": [{"rowcount": 100, "headers": ["log_id", "log_type", "log_action", "log_timestamp", "log_actor", "log_namespace", "log_title", "log_comment_id", "log_params", "log_deleted", "log_page"]}], "runningtime": "0.38"}
null
fix bot assessments
2417
use arwiki_p; select DISTINCT p1.page_title FROM categorylinks , page as p1, page as p2, page_props as pp, wikidatawiki_p.page as wdp where cl_from = p1.page_id and p1.page_namespace = 0 AND pp_page = p1.page_id AND pp_propname = 'wikibase_item' AND wdp.page_title = pp_value AND wdp.page_namespace = 0 and not exists ...
{"resultsets": [{"rowcount": 0, "headers": ["actor_name", "recent_user_editcount"]}], "runningtime": "20.68"}
null
empty
null
null
{"resultsets": [{"headers": ["Title", "user", "comment"], "rowcount": 0}], "runningtime": "0.78"}
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": 1, "headers": ["CURRENT_DATE"]}, {"rowcount": 38, "headers": ["term_entity_type", "term_language", "labels", "descriptions", "aliases"]}], "runningtime": "37.67"}
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": 9, "headers": ["totale", "page_count_error", "weight"]}, {"rowcount": 402, "headers": ["page_id", "page_title", "totale", "linter_params", "ptotale"]}], "runningtime": "7.23"}
null
Find subcategories of Canada
null
select page_namespace, page_title from categorylinks inner join page on page_id = cl_from where cl_to = 'Turkey' and cl_type = 'subcat'
{"resultsets": [{"headers": ["page_title"], "rowcount": 0}], "runningtime": "0.08"}
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_text", "ar_comment", "ar_comment_id", "ar_user", "ar_user_text", "ar_actor", "ar_timestamp", "ar_minor_edit", "ar_flags", "ar_rev_id", "ar_text_id", "ar_deleted", "ar_len", "ar_page_id", "ar_parent_id", "ar_sha1", "ar_content_model", "ar_content_form...
null
Assessments categorirs
null
USE arwiki_p; SELECT CONCAT('# [[:تصنيف:',cl_to,']]') AS cl_to, COUNT(*) AS count_cl_to FROM page, categorylinks WHERE page_id = cl_from AND cl_to REGEXP 'مقالات_(.*)' #AND cl_to NOT REGEXP 'مقالات_(.*)_ذات_صنف_(.*)_الأهمية' #AND cl_to NOT REGEXP 'مقالات_(.*)_غير_مقيمة_(.*)_الأهمية' AND NOT EXISTS (SELECT * FROM page A...
{"resultsets": [{"rowcount": 0, "headers": ["concat(\"* [[{{subst:ns:\", tl_namespace, \"}}:\", tl_title, \"]]\")"]}], "runningtime": "4.45"}
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": ["concat (\"\u0646\u0642\u0627\u0634:\",page_title)"], "rowcount": 0}], "runningtime": "10.64"}
null
Words missing from simple wiktionary
null
USE enwiktionary_p; SELECT e.page_title FROM page AS e WHERE e.page_namespace = 0 AND EXISTS ( SELECT 1 FROM categorylinks c WHERE c.cl_from = e.page_id AND c.cl_to = 'English_basic_words' LIMIT 1 ) AND NOT EXISTS ( SELECT 1 FROM simplewiktionary_p.page AS s WHERE s.page_namespace = 0 AND s.page_title...
{"resultsets": [{"rowcount": 19, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 5, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 12, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "4.88"}
null
Cross-wiki categorization
null
use enwiki_p; select REPLACE(l.ll_title, '_', ' ') from langlinks l #join page p on p.page_id=l.ll_from #where l.ll_from in (select tl.tl_from from templatelinks tl # where tl.tl_title="Portail_Lettonie" and tl_namespace=10 and tl.tl_from_namespace=0) join page p on p.page...
{"resultsets": [{"rowcount": 65, "headers": ["page_title", "page_len", "cat_pages", "rev_timestamp", "rev_actor"]}], "runningtime": "1221.43"}
null
মোট সম্পাদনার সংখ্যা
০২-০৯-২০১৮
USE bnwiki_p; SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",user_name,"|") AS user_name, user_editcount FROM user WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT RLIKE "(.*)([Bb][Oo][Tt])(.*)" ORDER BY user_editcount DESC...
{"resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_page_id"], "rowcount": 1022}], "runningtime": "22.64"}
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": ["page_title"], "rowcount": 631}], "runningtime": "16.70"}
null
fix template
null
use arwiki_p; SELECT p.page_title , tl_title FROM page p , templatelinks WHERE tl_from = p.page_id and tl_title like 'مشروع_ويكي%' #and p.page_namespace = 1 and NOT EXISTS (SELECT page_title FROM page WHERE page_namespace = 10 AND page_title = tl_title )
{"resultsets": [{"rowcount": 98, "headers": ["CONCAT('*{{lf|', REPLACE(REPLACE(p.page_title, '\"', '**DOUBLEQUOTE**'), '_', ' '), '}}')"]}], "runningtime": "58.33"}
null
Proofread-shobia-நெஞ்சக்கனல்
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": 16, "headers": ["Field", "Type", "Null", "Key", "Default", "Extra"]}], "runningtime": "0.19"}
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": 2, "headers": ["concat (\"\u0646\u0642\u0627\u0634:\",page_title)"]}], "runningtime": "11.10"}
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": 44, "headers": ["user_name", "user_registration"]}], "runningtime": "0.31"}
null
Category:Yoruba-language writers (en vs yo)
Compare pages in this en.wp category with pages in yo.wp
use enwiki_p; select distinct page_title as English, ll_title as Yoruba from langlinks join page on ll_from = page_id where ll_lang = "yo" and page_title in ( select page_title from page join categorylinks on cl_from = page_id where cl_to = "Yoruba-language writers" ) order by English asc;
{"connection_id": 15749048}
null
Temporary sandbox 2
null
USE ruwiki_p; SELECT page_title, ( SELECT COUNT(*) FROM templatelinks WHERE page_title = tl_title AND page_namespace = tl_namespace ) AS translusions FROM page WHERE page_namespace = 10 and translusions = 0 AND page_title LIKE "Население/%" LIMIT 1000;
{"resultsets": [{"rowcount": 34, "headers": ["page_title"]}], "runningtime": "5.97"}
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_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": 10}], "runningtime": "0.13"}
null
981001 mp1 # of DAB pages with direct link (pages)
null
USE fawiki_p; SELECT COUNT(DISTINCT(page_title)) FROM pagelinks JOIN page WHERE page_is_redirect=0 AND page_namespace=0 AND page_id IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation') AND pl_from IN ( SELECT page_id FROM page WHERE page_is_redirect=0) AND pl_title=page_title AND pl_nam...
{"resultsets": [{"headers": ["page_title"], "rowcount": 324}], "runningtime": "1.11"}
null
981001 mp1 # of direct links to DAB pages (pages)
null
USE fawiki_p; SELECT COUNT(page_id) FROM pagelinks JOIN page WHERE page_is_redirect=0 AND page_namespace=0 AND page_id IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation' ) AND pl_from IN ( SELECT page_id FROM page WHERE page_is_redirect=0 ) AND pl_title=page_title AND pl_namespace ...
{"connection_id": 7659371}
null
981001 mp1 # of DAB pages
null
USE fawiki_p; SELECT COUNT(page_title) FROM page WHERE page_id IN ( SELECT pp_page FROM page_props WHERE pp_propname = 'disambiguation');
{"resultsets": [{"rowcount": 17, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 4, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 11, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "11.03"}
null
981001 mp1 # of redirected links to DAB pages (pages)
null
USE fawiki_p; SELECT COUNT(pl_title) FROM pagelinks LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title LEFT JOIN redirect ON page_id = rd_from WHERE page_is_redirect = 1 AND page_namespace = 0 AND rd_namespace = 0 AND pl_from IN ( SELECT page_id FROM page WHERE page_is_redirect=0 AND ...
{"resultsets": [{"rowcount": 17, "headers": ["linter_cat", "page_namespace", "count(*)"]}, {"rowcount": 4, "headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"]}, {"rowcount": 11, "headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"]}], "runningtime": "20.12"}
null
981001 mp1 # of DAB pages with redirected link (pages)
null
USE fawiki_p; SELECT COUNT(DISTINCT(page_title)) FROM pagelinks LEFT JOIN page ON pl_namespace = page_namespace AND pl_title = page_title LEFT JOIN redirect ON page_id = rd_from WHERE page_is_redirect = 1 AND page_namespace = 0 AND rd_namespace = 0 AND pl_from IN ( SELECT page_id FROM page WHERE page_is_redir...
{"resultsets": [{"headers": ["page_title"], "rowcount": 949}], "runningtime": "11.83"}
null
981001 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": ["page_title", "page_len", "cat_pages", "rev_timestamp", "rev_actor"], "rowcount": 61}], "runningtime": "1172.82"}
null
981001 # of fa articles
null
USE fawiki_p; SELECT COUNT(page_id) FROM page WHERE page_is_redirect = 0 AND page_namespace = 0;
{"resultsets": [{"headers": ["linter_cat", "page_namespace", "count(*)"], "rowcount": 17}, {"headers": ["linter_cat", "count(*)", "count(distinct page_namespace)"], "rowcount": 5}, {"headers": ["page_namespace", "count(*)", "count(distinct linter_cat)"], "rowcount": 10}], "runningtime": "3.73"}
null
Využití neexistujících podšablon šablony Data státu
null
use cswiki_p; select pl_title, count(*) from pagelinks where pl_from_namespace%2 like 0 and pl_from_namespace not like 2 and pl_from not like 661530 and pl_namespace like 10 and pl_title like 'Data_státu/%' and pl_title not in (select page_title from page where page_namespace like 10) and pl_title not like 'Data_státu/...
{"resultsets": [{"rowcount": 178, "headers": ["page_title"]}], "runningtime": "1.53"}
null