title
stringlengths
1
212
description
stringlengths
1
4.39k
query
stringlengths
1
65.5k
extra_info
stringlengths
18
31.6k
wikidb
stringlengths
4
26
بازداشت
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%بازداشت%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title"], "rowcount": 40}], "runningtime": "0.19"}
fawiki_p
Vandalismebestrijding nlwiki (IP-patrolling / vandal fighting)
Vandalismebestrijding / IP-controle, 6435 open.
# anonymous edits totals SELECT CASE rc_patrolled WHEN 0 THEN 'unpatrolled' WHEN 1 THEN 'manually patrolled' WHEN 2 THEN 'autopatrolled' END AS rc_patrolled, COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY rc_patrolled UNION SELECT 'total...
{"resultsets": [{"headers": ["tl_title"], "rowcount": 82}], "runningtime": "5696.48"}
nlwiki_p
Global proxy blocks by month
null
SELECT LEFT(log_timestamp, 6), COUNT(*) FROM logging_logindex JOIN comment_logging ON log_comment_id = comment_id WHERE log_type = "gblblock" AND log_action LIKE "gblock%" AND comment_text LIKE "%Open proxy%" GROUP BY 1
{"resultsets": [{"headers": ["gu_id", "gu_name", "gu_home_db", "gu_email", "gu_email_authenticated", "gu_salt", "gu_password", "gu_locked", "gu_hidden_level", "gu_registration", "gu_password_reset_key", "gu_password_reset_expiration", "gu_auth_token"], "rowcount": 1}], "runningtime": "0.07"}
metawiki_p
সম্পাদনার সংখ্যা অনুযায়ী উইকিভ্রমণের সম্পাদকগণ/১-১০০
উপাত্ত ডাউনলোড করতে, উপাত্ত ডাউনলোড থেকে HTML ক্লিক করুন।
USE bnwikivoyajes_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_editcou...
{"resultsets": [{"headers": ["page_title"], "rowcount": 482}], "runningtime": "0.70"}
bnwikivoyajes_p
১ মাসে আইপি সম্পদনা পুনর্বহালের পরিমাণ
Reverted and total # of IP edits in a month
/*IP edits in a month: reverted and total*/ /*ct_tag_id in (58,59) = revert and manual revert*/ SET @from = "20220620"; SET @to = DATE_FORMAT(@from + INTERVAL 1 MONTH, "%Y%m%d"); /*SELECT @from, @to;*/ SELECT count(DISTINCT rev_id) FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON actor_id = rev_ac...
{"resultsets": [{"headers": ["@t := now()"], "rowcount": 1}, {"headers": ["user_name", "user_registration", "user_editcount"], "rowcount": 45}], "runningtime": "31.47"}
bnwiki_p
বাংলা উইকপিডিয়ার বিশেষ ব্যবহারকারীগণ
enwiki inactive special users
SELECT user_name, user_editcount, user_registration, rev_timestamp AS 'Last edit', GROUP_CONCAT(ug1.ug_group) AS 'user_groups' FROM `user` LEFT JOIN user_groups ug1 ON user_id = ug1.ug_user AND ug1.ug_group IN ('প্রশাসক', 'ব্যবহারকারী পরীক্ষক', 'পর্যবেক্ষক', 'নিরীক্ষক', 'ফাইল স্থানান্তরকারী') JOIN actor ON actor_user...
{"resultsets": [{"headers": ["page", "redirection"], "rowcount": 391}], "runningtime": "0.49"}
bnwiki_p
গত এক বছরের শীর্ষ সম্পাদক
১ জুন ২০২১ - ১ জুন ২০২২ পর্যন্ত
SELECT CONCAT("#") AS number, actor_user, CONCAT("[[ব্যবহারকারী:",actor_name,"|",actor_name,"]]") AS rev_user_text, COUNT(actor_id) AS recent_user_editcount/*, user_editcount*/ FROM revision JOIN actor ON rev_actor=actor_id JOIN page ON rev_page=page_id WHERE page_namespace = 0 AND actor_user IS NOT NULL AND rev_time...
{"resultsets": [{"headers": ["ss_total_edits"], "rowcount": 1}, {"headers": ["SUM(user_editcount)"], "rowcount": 1}, {"headers": ["user_id", "user_name", "user_editcount", "user_admin", "user_bot"], "rowcount": 818}], "runningtime": "6.43"}
bnwiki_p
বাংলা উইকির জাভাস্ক্রিপ্ট ও সিএসএস ফাইলগুলি
Bnwiki Javascript and CSS files - বাংলা উইকির জাভাস্ক্রিপ্ট ও সিএসএস ফাইলগুলি
use bnwiki_p; select * from page where (page_content_model in ("javascript", "css") or page_title like "%.js" or page_title like "%.css") and not page_namespace in (2, 3, 9) order by page_namespace, page_title
{"resultsets": [{"headers": ["concat(\"[[Sp\u00e9cial:Pages li\u00e9es/Mod\u00e8le:\", t.tl_title, \"]]\")"], "rowcount": 119}], "runningtime": "21.57"}
bnwiki_p
সম্পাদনার সংখ্যা অনুযায়ী ব্যবহারকারী (বটসহ)
গত ১২ মাসে
USE bnwiki_p; SELECT CONCAT("#") AS number, CONCAT("[[ব্যবহারকারী:",user_name,"|",user_name,"]]") AS user_name, SUM(CASE WHEN rev_timestamp BETWEEN 20170101000000 AND 20171030235959 THEN 1 ELSE 0 END) AS goto12mas_user_editcount, CONCAT("{{subst:formatnum:",COUNT(rev_id),"}}") AS user_editcount FROM user INNER JOIN rev...
{"resultsets": [{"headers": ["url", "pagename", "page_id", "reason"], "rowcount": 1}], "runningtime": "33.62"}
bnwiki_p
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["page_namespace", "page_id", "page_title", "page_is_redirect", "page_len"], "rowcount": 1}], "runningtime": "95.66"}
metawiki_p
enwiki orphaned non-archive usertalk subpages
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["page_namespace", "page_title"], "rowcount": 40}], "runningtime": "1.02"}
enwiki_p
~
null
null
{"resultsets": [{"headers": ["user_name", "admin_edits", "latest_admin_edit_date"], "rowcount": 7}], "runningtime": "0.91"}
cswiki_p
Get nlwiki page schema
null
DESCRIBE enwiki_p.templatelinks;
{"resultsets": [{"headers": ["rev_timestamp", "yearmonth", "rev_actor"], "rowcount": 10}], "runningtime": "0.06"}
enwiki_p
Draft talk pages with multiple WikiProjects without WikiProject banner shell
Unfortunately, one WikiProject banner can generate multiple WikiProject categories
SELECT CONCAT("Draft talk:", page_title) FROM page JOIN categorylinks cl ON cl.cl_from = page_id AND cl_to like "WikiProject%" LEFT OUTER JOIN templatelinks tl ON tl.tl_from = page_id AND tl_namespace = 10 AND tl_title = "WikiProject_banner_shell" WHERE page_namespace = 119 AND tl_title is null GROUP BY page_...
{"resultsets": [{"headers": ["page_title", "actor_name", "rev_timestamp"], "rowcount": 4}], "runningtime": "0.07"}
enwiki_p
Category talk pages with multiple WikiProjects without WikiProject banner shell
Unfortunately, one WikiProject banner can generate multiple WikiProject categories
SELECT CONCAT("Category talk:", page_title) FROM page JOIN categorylinks cl ON cl.cl_from = page_id AND cl_to like "WikiProject%" LEFT OUTER JOIN templatelinks tl ON tl.tl_from = page_id AND tl_namespace = 10 AND tl_title = "WikiProject_banner_shell" WHERE page_namespace = 15 AND tl_title is null GROUP BY pag...
{"resultsets": [{"headers": ["tl_title"], "rowcount": 101}], "runningtime": "3108.70"}
enwiki_p
نورسلطان
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%نورسلطان%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["ss_total_edits"], "rowcount": 1}, {"headers": ["SUM(user_editcount)"], "rowcount": 1}, {"headers": ["user_id", "user_name", "user_editcount", "user_admin", "user_bot"], "rowcount": 818}], "runningtime": "7.54"}
fawiki_p
رده:نورسلطان
null
select concat ('*[[:رده:',page_title,']]>[[:رده:',REPLACE (page_title,"نورسلطان","آستانه"),']]') from page where page_namespace = 14 and page_title like '%نورسلطان%' and page_is_redirect = 0
{"resultsets": [{"headers": ["user_name", "user_registration", "user_editcount", "ipb_address", "ipb_expiry", "ipb_sitewide"], "rowcount": 14}], "runningtime": "24.57"}
fawiki_p
Get nlwiki page schema
null
DESCRIBE wikidatawiki_p.externallinks;
{"resultsets": [{"headers": ["user_name"], "rowcount": 161}], "runningtime": "16.44"}
wikidatawiki_p
Incubator, avg monthly editors
null
WITH base_table AS ( SELECT DISTINCT rev_id, rev_actor, rev_timestamp, rev_len, rev_parent_id, page_namespace, page_id, actor_id, REGEXP_SUBSTR(page_title, 'W[a-z]/[a-z]+') AS prefix, rc_new_len - rc_old_len AS byte_diff, ...
{"resultsets": [{"headers": ["page_namespace", "page_id", "page_title", "page_is_redirect", "page_len"], "rowcount": 2}], "runningtime": "101.07"}
incubatorwiki
Collect images and uploaders for Wiki Loves Monuments 2021 in 2022
Adapted version of earlier query, now limited to a timeframe.
SELECT maincat.page_title AS maincat_title, img_img.img_name AS img_name, catlink1.cl_from AS file_id, img_img.img_timestamp, actor.actor_name AS uploader, oldimage_uploader.actor_name AS uploader_old FROM page AS maincat INNER JOIN categorylinks AS catlink0 ON catlink0.cl_from = maincat.page_i...
{"resultsets": [{"headers": ["substr(ar_timestamp,1,8)", "All_NS_deletions"], "rowcount": 323}], "runningtime": "0.66"}
commonswiki_p
top rollbacker
null
SELECT actor_name as user, COUNT(*) as cnt FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON actor_id = rev_actor WHERE ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'mw-rollback') GROUP BY user ORDER BY cnt DESC LIMIT 100;
{"resultsets": [{"headers": ["actor_name", "total_contribs", "userspace_contribs", "contrib_ratio"], "rowcount": 10}], "runningtime": "122.01"}
bnwiki
avg monthy editors for projects that have graduated Incubator
example using acewiki
WITH base_table AS ( SELECT DISTINCT rev_id, rev_actor, rev_timestamp, rev_len, rev_parent_id, page_namespace, page_id, actor_id FROM revision rev JOIN page ON rev.rev_page = page.page_id JOIN actor ON rev.rev_actor = actor.actor_id WHERE page_namespace IN (0, 1, 10, 11, 14, 15, 828, 829) ), year_...
{"resultsets": [{"headers": ["dated", "All_NS_new_pages"], "rowcount": 227}], "runningtime": "5.27"}
acewiki
Incubator, 2 or fewer avg monthly editors since 2019
null
WITH base_table AS ( SELECT DISTINCT rev_id, rev_actor, rev_timestamp, rev_len, rev_parent_id, page_namespace, page_id, actor_id, REGEXP_SUBSTR(page_title, 'W[a-z]/[a-z]+') AS prefix, rc_new_len - rc_old_len AS byte_diff FROM revision rev JOIN page ON rev.rev_page = page.page_id JOIN actor ON rev.r...
{"resultsets": [{"headers": ["pagename", "page_title", "page_namespace"], "rowcount": 209}], "runningtime": "0.27"}
incubatorwiki
New active users in X Wikipedia
From http://quarry.wmflabs.org/query/2929
SELECT user_name, user_registration, user_editcount FROM user WHERE #user_registration > DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 DAY),'20000101000000') #AND user_editcount > 10 #AND user_id NOT IN (SELECT ug_user FROM lvwiki_p.user_groups WHERE ug_group = 'bot') order by user_editcount desc limit 1000; ...
{"resultsets": [{"headers": ["cat_title", "cat_pages", "cat_subcats", "cat_files"], "rowcount": 0}, {"headers": ["cat"], "rowcount": 0}], "runningtime": "4.27"}
trwiki_p
current ST47ProxyBot enwiki proxy blocks
null
SELECT * FROM ipblocks_ipindex JOIN comment_ipblocks ON ipb_reason_id = comment_id JOIN actor_ipblocks ON ipb_by_actor = actor_id WHERE ipb_user = 0 AND ipb_auto = 0 AND actor_name = "ST47ProxyBot"
{"resultsets": [{"headers": ["page_title"], "rowcount": 392}], "runningtime": "0.81"}
enwiki_p
current ST47ProxyBot enwiki proxy blocks
null
SELECT ipb_anon_only, COUNT(*) FROM ipblocks_ipindex JOIN comment_ipblocks ON ipb_reason_id = comment_id JOIN actor_ipblocks ON ipb_by_actor = actor_id WHERE ipb_user = 0 AND ipb_auto = 0 AND actor_name = "ST47ProxyBot" GROUP BY 1 WITH ROLLUP
{"resultsets": [{"headers": ["page_title"], "rowcount": 390}], "runningtime": "0.85"}
enwiki_p
WSta கனிச்சாறு1
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select p...
{"resultsets": [{"headers": ["Page title", "Namespace", "Redirect?"], "rowcount": 1305}], "runningtime": "1.55"}
tawikisource_p
WSta கனிச்சாறு7
This Query will provide the list of users who did edit on given book with its all pages.
Use tawikisource_p; SET @w:=0; select Concat("[[user:",actor_name,"|",actor_name, "]](", edits,")") as "இந்நூலின் மெய்ப்புப்பணியில் ஈடுபட்டோர்:<br/>" from (SELECT actor_name, count(*) as edits FROM revision join actor ON rev_actor = actor_id#total number of users edited in a book WHERE rev_page IN (select p...
{"resultsets": [{"headers": ["Page title", "Namespace", "Redirect?"], "rowcount": 1305}], "runningtime": "1.44"}
tawikisource_p
Proofread-Fathima-கனிச்சாறு1
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": ["rc_title", "rc_actor", "actor_name", "abs_diff_size", "in_userspace", "in_sandbox"], "rowcount": 500}], "runningtime": "7.19"}
tawikisource_p
proofread-rathai-கனிச்சாறு1
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["page_title"], "rowcount": 1}], "runningtime": "47.16"}
tawikisource_p
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["ss_total_edits"], "rowcount": 1}, {"headers": ["SUM(user_editcount)"], "rowcount": 1}, {"headers": ["user_id", "user_name", "user_editcount", "user_admin", "user_bot"], "rowcount": 818}], "runningtime": "6.51"}
tawikisource_p
proofread-rathai-கனிச்சாறு3
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["page_title"], "rowcount": 65450}], "runningtime": "65.67"}
tawikisource_p
proofread-rathai-கனிச்சாறு1
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["rc_namespace", "rc_title", "rc_actor", "actor_name", "abs_diff_size", "in_userspace", "in_own_userspace", "in_subpage", "in_sandbox"], "rowcount": 100}], "runningtime": "0.20"}
tawikisource_p
proofread-rathai-கனிச்சாறு1
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["url", "pagename", "page_id", "reason"], "rowcount": 0}], "runningtime": "49.44"}
tawikisource_p
Vandalismebestrijding (IP-patrolling) nlwiki
6445 open
# anonymous edits totals SELECT CASE rc_patrolled WHEN 0 THEN 'unpatrolled' WHEN 1 THEN 'manually patrolled' WHEN 2 THEN 'autopatrolled' END AS rc_patrolled, COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY rc_patrolled UNION SELECT 'total...
{"resultsets": [{"headers": ["actor_name", "recent_contribs", "recent_abs_diff", "userspace_contribs", "own_userspace_contribs", "subpage_contribs", "sandbox_contribs", "contrib_ratio"], "rowcount": 6}], "runningtime": "229.90"}
nlwiki_p
Bnwiki:Admins w/o actions in 1 years
Administrators without any (un)deletions, (un)protections, or (un)blocks performed in the last five years. For [[WT:ADMIN#Floater for simple inactively policy change]] circa 2 June 2021.
SELECTSELECTSELECTSELECT actor_name, DATE_FORMAT(MAX(log_timestamp), '%Y-%m-%d %H:%i:%s') AS 'last action' FROM actor LEFT JOIN user_groups ON ug_user = actor_user LEFT JOIN logging_userindex ON log_actor = actor_id AND log_type IN ('delete', 'protect', 'block') WHERE ug_group = 'sysop' GROUP BY actor_name HAVIN...
{"resultsets": [{"headers": ["up_property"], "rowcount": 4}, {"headers": ["up_user", "up_property", "up_value"], "rowcount": 1}], "runningtime": "0.10"}
bnwiki_p
List of DPLA bot uploads and byte size after May 2022
null
SELECT CONCAT("File:", img_name) FROM image JOIN actor_image ON actor_id = img_actor WHERE actor_name = "DPLA bot" AND "20200620999999" < img_timestamp < "20201220999999"
{"resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_minor_edit", "ar_page_id"], "rowcount": 2938}], "runningtime": "27.63"}
commonswiki_p
Talk pages with multiple WikiProjects without WikiProject banner shell
Unfortunately, one WikiProject banner can generate multiple WikiProject categories
SELECT page_title FROM page JOIN categorylinks cl ON cl.cl_from = page_id AND cl_to like "WikiProject%" LEFT OUTER JOIN templatelinks tl ON tl.tl_from = page_id AND tl_namespace = 10 AND tl_title = "WikiProject_banner_shell" WHERE page_namespace = 1 AND tl_title is null GROUP BY page_title HAVING COUNT(cl.cl_...
{"resultsets": [{"headers": ["Benutzerseite", "ist in Kategorie"], "rowcount": 0}], "runningtime": "2.40"}
enwiki_p
List of crat chats
Ready for copying using Download Data -> Wikitable
SELECT REPLACE(CONCAT('[[Wikipedia:', page_title, ']]'), '_', ' ') AS page_name, LEFT(( SELECT rev_timestamp FROM revision WHERE rev_page = page_id ORDER BY rev_id ASC LIMIT 1 ), 8) AS date, "" AS outcome FROM page WHERE ( page_title LIKE 'Requests_for_%rat_chat' OR page_title LIKE...
{"resultsets": [{"headers": ["Page title", "Namespace", "Redirect?"], "rowcount": 1307}], "runningtime": "1.54"}
enwiki
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["user_name", "user_registration", "COUNT(rev_timestamp)", "yearmonth", "month"], "rowcount": 7490}], "runningtime": "15.15"}
tawikisource_p
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["page_title"], "rowcount": 47}], "runningtime": "0.36"}
tawikisource_p
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["user_id", "user_name", "user_real_name", "user_password", "user_newpassword", "user_email", "user_touched", "user_token", "user_email_authenticated", "user_email_token", "user_email_token_expires", "user_registration", "user_newpass_time", "user_editcount", "user_password_expires"], "rowco...
tawikisource_p
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["concat(\"\u09aa\u09be\u09a4\u09be:\", page_title)", "page_len"], "rowcount": 7579}], "runningtime": "9.28"}
tawikisource_p
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["Actor", "Edits", "Uploaded images", "Images KiB", "Images MiB", "Images GiB", "Images TiB"], "rowcount": 3}], "runningtime": "28.51"}
tawikisource_p
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["page_title"], "rowcount": 2}], "runningtime": "81.21"}
tawikisource_p
proofread-Fathima-கனிச்சாறு2
Change the actor_name and page_title for your search. Choose either validated or proofread line and comment another
use tawikisource_p; SET @w:=0; 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 "%Pro...
{"resultsets": [{"headers": ["output"], "rowcount": 4410}], "runningtime": "487.57"}
tawikisource_p
نفط
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%نفط%' and page_title like '%نادي%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["actor_name", "COUNT(*)"], "rowcount": 5738}], "runningtime": "26.59"}
arwiki_p
Total bytes changed by a specific user
null
set @start_timestamp = 20220101000000; set @username = "Peter Bowman"; select sum(rev_len) as total_bytes from revision inner join actor on rev_actor = actor_id inner join page on rev_page = page_id where page_namespace = 0 and rev_timestamp >= @start_timestamp and actor_name = @username group by ac...
{"connection_id": 39020384}
plwiki_p
Edit ranking by total bytes edited
null
set @start_timestamp = 20220101000000; select actor_name, sum(rev_len) as total_bytes from revision inner join actor on rev_actor = actor_id inner join page on rev_page = page_id where page_namespace = 0 and rev_timestamp >= @start_timestamp group by actor_id order by total_bytes desc;
{"resultsets": [{"headers": ["rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "actor_id", "actor_user", "actor_name", "page_id", "page_namespace", "page_title", "page_is_redirect", "page_is_new", "page_random", "page_touched",...
plwiki_p
Experienced users and newcomers
null
SET @minEdits = 25; -- 1) number of edits the user has to have to be considered experienced SET @minTenureDays = 365; -- 2) if the user registered @minTenureDays days prior to the event (@eventDate), they're experienced SET @eventDate = '20220601000000'; -- 3) see @minTenureDays SELECT user_name, user_editcount, ...
{"resultsets": [{"headers": ["rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "actor_id", "actor_user", "actor_name", "page_id", "page_namespace", "page_title", "page_is_redirect", "page_is_new", "page_random", "page_touched",...
cswiki_p
Top Wikipedia Page by Bytecounts (This Month)
Verify each user's contribution here : https://quarry.wmflabs.org/query/54879
select * from (select rc_title, sum( cast(rc_new_len as int) - cast(rc_old_len as int)) tdif from recentchanges_userindex where rc_timestamp >= 20220901000000 and rc_timestamp <= 20220922055800 and rc_bot = 0 and (rc_source = 'mw.new' or rc_source='mw.edit') group by rc_title) a where tdif > 3000 order by tdif des...
{"resultsets": [{"headers": ["rev_id", "rev_page", "rev_comment_id", "rev_actor", "rev_timestamp", "rev_minor_edit", "rev_deleted", "rev_len", "rev_parent_id", "rev_sha1", "actor_id", "actor_user", "actor_name", "page_id", "page_namespace", "page_title", "page_is_redirect", "page_is_new", "page_random", "page_touched",...
idwiki
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["articles", "smallCreations", "smallCurrent", "month"], "rowcount": 98}], "runningtime": "6.27"}
enwiki_p
Users on trwiki editing most unique days in 2021
Users editing in the main namespace more than 300 unique days in 2021 on svwiki.
SELECT actor_name, COUNT(DISTINCT substring(rev_timestamp, 1, 8)) as days FROM revision JOIN page ON rev_page = page_id JOIN actor ON rev_actor = actor_id WHERE rev_timestamp like '2021%' # AND page_namespace= 0 -- wanna limit it with mainspace or not? GROUP BY actor_name HAVING COUNT(DISTINCT substring(rev_t...
{"connection_id": 39307606}
trwiki_p
Catalan labels
null
USE wikidatawiki_p; DESCRIBE wb_terms; SELECT COUNT(*) FROM wb_terms WHERE term_type = 'label' AND term_language = "hr";
{"resultsets": [{"headers": ["page_title"], "rowcount": 163}], "runningtime": "0.32"}
wikidatawiki
Vandalismebestrijding (IP-patrolling) nlwiki
null
# anonymous edits totals SELECT CASE rc_patrolled WHEN 0 THEN 'unpatrolled' WHEN 1 THEN 'manually patrolled' WHEN 2 THEN 'autopatrolled' END AS rc_patrolled, COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND actor_user IS NULL GROUP BY rc_patrolled UNION SELECT 'total...
{"resultsets": [{"headers": ["page_title"], "rowcount": 1968}], "runningtime": "2.25"}
nlwiki_p
orphaned talks
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["Vikipeedia", "Commons", "page_id"], "rowcount": 0}], "runningtime": "0.05"}
enwiki_p
New Page Reviewers eligible for barnstars - 2022(redirects)
null
SELECT actor_name AS `Reviewer`, COUNT(IF(logtemp.page_is_redirect = 1, 1, NULL)) as `Redirect Reviews` FROM ( SELECT distinct log_actor, log_page, page_is_redirect FROM logging_userindex JOIN page ON page_title = log_title AND page_namespace = log_namespace WHERE log_timestamp BET...
{"connection_id": 26182097}
enwiki_p
Top Wikipedia User by Bytecounts (This month)
Verify each user's contribution here : https://quarry.wmflabs.org/query/54879
select * /*sum(tdif)*/ from (select actor_name, sum( cast(rc_new_len as int) - cast(rc_old_len as int)) tdif from recentchanges_userindex left join actor on rc_actor = actor_id where rc_timestamp >= 20220901000000 and rc_timestamp <= 20220923155900 and rc_bot = 0 and (rc_source = 'mw.new' or rc_source='mw.edit') ...
{"resultsets": [{"headers": ["actor_name", "COUNT(*)"], "rowcount": 10}], "runningtime": "14.85"}
idwiki
Top Wikipedia Page by Bytecounts (This Month)
Verify each user's contribution here : https://quarry.wmflabs.org/query/54879
select * from (select rc_title, sum( cast(rc_new_len as int) - cast(rc_old_len as int)) tdif from recentchanges_userindex where rc_timestamp >= 20220901000000 and rc_timestamp <= 20220923160000 and rc_bot = 0 and (rc_source = 'mw.new' or rc_source='mw.edit') group by rc_title) a where tdif > 3000 order by tdif des...
{"resultsets": [{"headers": ["page_title"], "rowcount": 100}], "runningtime": "207.95"}
idwiki
Biografien mit Klammerlemma am 5. September 2020 in der deWP
null
USE dewiki_p; SELECT page_title FROM page, templatelinks WHERE page_namespace = 0 AND page_title like '%\_(%)' AND tl_from = page_id AND tl_namespace = 10 AND tl_title = 'Personendaten'
{"resultsets": [{"headers": ["pl_title", "COUNT(*)"], "rowcount": 0}], "runningtime": "0.09"}
dewiki_p
Biografien mit Klammerlemma am 5. September 2020 in der deWP
null
USE dewiki_p; SELECT page_title FROM page, templatelinks WHERE page_namespace = 0 AND page_title like '%\_(%)' AND tl_from = page_id AND tl_namespace = 10 AND tl_title = 'Personendaten'
{"resultsets": [{"headers": ["pl_title", "COUNT(*)"], "rowcount": 5}], "runningtime": "0.25"}
dewiki_p
اعتراض
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%اعتراض%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["title_length", "size", "ns", "title"], "rowcount": 431}], "runningtime": "3.06"}
fawiki_p
তালিকা যুক্ত নিবন্ধ
For [[WP:VPT#articles with curly quotes in title]] circa 3 July 2020.
SELECT page_title FROM page WHERE page_namespace = 0 -- article namespace only AND page_is_redirect = 0 -- non-redirects AND page_title RLIKE "তালিকা";
{"resultsets": [{"headers": ["title_length", "size", "ns", "title"], "rowcount": 3}], "runningtime": "3.88"}
bnwiki
হাইফেন যুক্ত নিবন্ধ
For [[WP:VPT#articles with curly quotes in title]] circa 3 July 2020.
SELECT page_title FROM page WHERE page_namespace = 0 -- article namespace only AND page_is_redirect = 0 -- non-redirects AND page_title RLIKE "-"; AND page_title NOT RLIKE "(.*)([এর])(.*)"
{"resultsets": [{"headers": ["page_id", "page_namespace", "page_title", "page_is_redirect", "page_is_new", "page_random", "page_touched", "page_links_updated", "page_latest", "page_len", "page_content_model", "page_lang", "cl_from", "cl_to", "cl_sortkey", "cl_timestamp", "cl_sortkey_prefix", "cl_collation", "cl_type"],...
bnwiki
Bad disambiguation page titles (eswiki)
Disambiguation pages with a superfluous " (desambiguación)" suffix (eswiki).
use eswiki_p; select page_title as main_title from (page join redirect on page_id = rd_from) where page_namespace = 0 and rd_title = concat(page_title, '_(desambiguación)');
{"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": 32}, {"headers": ["img_name", "img_size", "img_width", "img_height", "img_metadat...
eswiki
সম্পাদনার সংখ্যা অনুযায়ী ব্যবহারকারী
null
SET @counter:=0; SELECT CONCAT("{{subst:formatnum:",@counter:=@counter+1,"}}") AS নং, CONCAT("{{u|",user_name,"}}") AS ব্যবহারকারী_নাম, CONCAT("{{subst:formatnum:",user_editcount,"}}") AS সম্পাদনার_সংখ্যা FROM user WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT RLIKE "...
{"resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 11}], "runningtime": "389.41"}
bnwiki
নিবন্ধের সংখ্যা অনুযায়ী উইকিপিডিয়ানদের তালিকা (১-৫০০০)
null
USE bnwiki_p; SET @counter:=0; SELECT CONCAT("}}{{subst:সসংঅউতা|",@counter:=@counter+1,"") AS rank, CONCAT("|",actor_name,"|") AS user_name, COUNT(rev_id) AS মোট_নিবন্ধ FROM actor INNER JOIN revision ON revision.rev_actor = actor.actor_id JOIN page ON page.page_id = revision.rev_page WHERE page_is_redirect = 0 AND rev...
{"resultsets": [{"headers": ["\uc81c\ubaa9", "\ud06c\uae30", "\ub9c8\uc9c0\ub9c9\ud3b8\uc9d1\uc2dc\uac01", "\ub9c8\uc9c0\ub9c9\ud3b8\uc9d1\uc790"], "rowcount": 971}], "runningtime": "1.44"}
bnwiki
TopEditors_WN
null
select actor_name, count(*) c from revision join page on rev_page=page_id join actor on rev_actor=actor_id where page_namespace = 0 and rev_timestamp >= "20210101000000" and rev_timestamp < "20220101000000" group by actor_name order by c desc;
{"resultsets": [{"headers": ["log_id", "log_timestamp", "user", "log_title", "log_params", "summary"], "rowcount": 100}], "runningtime": "7.38"}
ruwikinews_p
Commons main pages without page language set
Commons main pages are manually translated. Without page language set, magic words return English results, the editing interface doesn’t specifically support non-Latin scripts etc.
SELECT page_title FROM pagelinks INNER JOIN page ON (page_namespace = pl_namespace AND page_title = pl_title) WHERE pl_from = 1615 AND pl_namespace = 0 AND page_lang IS NULL;
{"resultsets": [{"headers": ["type", "img_name", "img_timestamp", "img_minor_mime"], "rowcount": 5}], "runningtime": "0.12"}
commonswiki_p
উইকিপিডিয়ার শীর্ষ সম্পাদকগণ
১৫-০৫-২০২২। উপাত্ত ডাউনলোড করতে, উপাত্ত ডাউনলোড থেকে wikitable ক্লিক করুন।
SET @counter:=0; SELECT CONCAT("{{subst:formatnum:",@counter:=@counter+1,"}}") AS নং, CONCAT("{{u|",user_name,"}}") AS ব্যবহারকারী_নাম, CONCAT("{{subst:formatnum:",user_editcount,"}}") AS সম্পাদনার_সংখ্যা FROM user WHERE user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT RLIKE "...
{"resultsets": [{"headers": ["page_title"], "rowcount": 49}], "runningtime": "0.12"}
bnwiki
enwiki: Stub-class redirects
null
SELECT DISTINCT mainpage.page_title FROM categorylinks outercat INNER JOIN page outerpage ON outerpage.page_id = outercat.cl_from INNER JOIN categorylinks innercat ON outerpage.page_title = innercat.cl_to INNER JOIN page talkpage ON talkpage.page_id = innercat.cl_from INNER JOIN page mainpage ON mainpage.page_title = t...
{"resultsets": [{"headers": ["page_title"], "rowcount": 10}], "runningtime": "0.12"}
enwiki_p
active enwiki editors with "editor" in their name
null
SELECT DISTINCT actor_name FROM recentchanges JOIN actor on actor_id = rc_actor WHERE LOWER(actor_name) LIKE "%editor%"
{"resultsets": [{"headers": ["user", "edit_count"], "rowcount": 6}], "runningtime": "0.09"}
enwiki_p
enwiki: Stub-class redirects
null
SELECT DISTINCT mainpage.page_title FROM categorylinks outercat INNER JOIN page outerpage ON outerpage.page_id = outercat.cl_from INNER JOIN categorylinks innercat ON outerpage.page_title = innercat.cl_to INNER JOIN page talkpage ON talkpage.page_id = innercat.cl_from INNER JOIN page mainpage ON mainpage.page_title = t...
{"resultsets": [{"headers": ["\u09a8\u0982", "\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0\u0995\u09be\u09b0\u09c0_\u09a8\u09be\u09ae", "\u09ae\u09cb\u099f_\u09a8\u09bf\u09ac\u09a8\u09cd\u09a7"], "rowcount": 1000}], "runningtime": "17.37"}
enwiki_p
bnwiki orphaned non-archive usertalk subpages
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["page_title", "cl_to"], "rowcount": 11}], "runningtime": "141.91"}
bnwiki_p
killing of
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%killing_of%' or page_title like '%Killing_of%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title", "ips_site_id", "ips_site_page"], "rowcount": 100}], "runningtime": "0.22"}
enwiki_p
murder of
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%murder_of%' or page_title like '%Murder_of%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["url", "pagename", "page_id", "reason"], "rowcount": 1}], "runningtime": "58.40"}
enwiki_p
Pink slime journalism external links (sorted by latest)
null
SELECT page_title, el_to FROM page INNER JOIN externallinks ON page_id = el_from WHERE TRUE AND page_namespace = 0 AND el_to RLIKE '^https?://(?:[^/]*\\.)?(?:s(?:o(?:uth(?:c(?:o(?:lumbusnews\\.com|asttimes\\.com|oknews\\.com|times\\.com)|h(?:arlottetoday\\.com|estertoday\\.com)|u(?:mberlandnews\\.com|yahoga...
{"resultsets": [{"headers": ["reviews", "actor_name", "accept", "decline", "reject", "accept %", "decline %", "reject %", "Blocked"], "rowcount": 111}], "runningtime": "10.92"}
enwiki_p
Possible cut-paste moves
Pairs of edits (same actor, nearby timestamp) in which one creates a substantial mainspace page (or expands a small one) and the other removes text from a similarly sized other page leaving it small
SELECT RCa.rc_timestamp, actor_name, RCa.rc_title, RCd.rc_namespace, RCd.rc_title FROM recentchanges RCa JOIN recentchanges_userindex RCd ON RCd.rc_actor = RCa.rc_actor AND RCd.rc_timestamp BETWEEN RCa.rc_timestamp - 1000 AND RCa.rc_timestamp + 1000 /* ±10 minutes, or when the hour ticks over */ AND RCd.rc_type = 0 ...
{"resultsets": [{"headers": ["page_title"], "rowcount": 10}], "runningtime": "0.07"}
enwiki_p
Users with reverted edits per year
Number of active registered users with reverted edits per year.
SELECT year, COUNT(DISTINCT rev_actor) FROM ( SELECT YEAR(rev_timestamp) AS year, rev_actor FROM revision_userindex AS revision INNER JOIN change_tag ON revision.rev_id = change_tag.ct_rev_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNE...
{"resultsets": [{"headers": ["page_title", "user_name"], "rowcount": 10}], "runningtime": "0.07"}
enwiki_p
enwiki: Stub-class redirects
null
SELECT DISTINCT mainpage.page_title FROM categorylinks outercat INNER JOIN page outerpage ON outerpage.page_id = outercat.cl_from INNER JOIN categorylinks innercat ON outerpage.page_title = innercat.cl_to INNER JOIN page talkpage ON talkpage.page_id = innercat.cl_from INNER JOIN page mainpage ON mainpage.page_title = t...
{"resultsets": [{"headers": ["rd_interwiki"], "rowcount": 1}], "runningtime": "0.07"}
enwiki_p
Top edits thwiki (only bots)
null
SELECT u.user_name, u.user_editcount, ug.ug_group FROM `user` u JOIN user_groups ug ON u.user_id = ug.ug_user WHERE ug.ug_group = 'bot' ORDER BY user_editcount DESC LIMIT 500
{"resultsets": [{"headers": ["CONCAT('[[User:', page_title, ']]')", "rd_title"], "rowcount": 427}], "runningtime": "0.67"}
thwiki_p
Distribution of reverts per user
null
SELECT DISTINCT revert_factor, CUME_DIST() OVER ( ORDER BY revert_factor ) AS cume_dist FROM ( SELECT rev_actor, ROUND(COUNT(ctd_id) / COUNT(*), 1) AS revert_factor FROM revision_userindex AS revision INNER JOIN page ON rev_page = page_id INNER JOIN change_tag ON ...
{"resultsets": [{"headers": ["img_major_mime", "img_minor_mime", "img_name"], "rowcount": 0}], "runningtime": "0.27"}
enwiki_p
Talk pages
null
SELECT page_namespace, page_id, page_title, page_is_redirect, page_len ...
{"resultsets": [{"headers": ["cl_from", "cl_to", "cl_sortkey", "cl_timestamp", "cl_sortkey_prefix", "cl_collation", "cl_type"], "rowcount": 10}], "runningtime": "0.07"}
enwiki_p
Testi per numero di pagine
null
SELECT page_title FROM pagelinks, page WHERE pl_from = page_id AND page_namespace = 0 AND page_is_redirect = 0 AND pl_namespace = 108 AND pl_from IN (SELECT page_id FROM page, categorylinks WHERE page_namespace = 0 AND page_id = cl_from AND (cl_to LIKE 'Pagine_ns0_con_versione_cartacea_a_fronte')) GROUP BY page_title ...
{"resultsets": [{"headers": ["rev_timestamp", "page_name", "cmnt"], "rowcount": 784}], "runningtime": "4.08"}
itwikisource_p
trwiki_p Links to disambiguation pages
null
null
{"resultsets": [{"headers": ["Anzahl Artikel", "Anzahl Links", "[?&]utm_id=", "[?&]utm_source=", "[?&]utm_medium=", "[?&]utm_campaign=", "[?&]utm_term=", "[?&]utm_content=", "[?&]utm_referrer=", "[?&]utm_email=", "[?&]gclid=", "[?&]gclsrc=", "[?&]dclid=", "[?&]_r=", "[?&]fbclid=", "[?&]fbc=", "[?&]fbp=", "[?&]oly_enc_i...
trwiki_p
execution of
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%execution_of%' or page_title like '%Execution_of%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["ar_id", "ar_namespace", "ar_title", "ar_timestamp", "ar_minor_edit", "ar_page_id"], "rowcount": 2976}], "runningtime": "22.73"}
enwiki_p
death of
null
select concat ('#[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%death_of%' or page_title like '%Death_of%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_title", "comment_text"], "rowcount": 5}], "runningtime": "2.98"}
enwiki_p
shooting of
null
select concat ('#[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%shooting_of%' or page_title like '%Shooting_of%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["page_id", "title", "edits", "users", "score"], "rowcount": 1000}], "runningtime": "2.76"}
enwiki_p
assault of
null
select concat ('#[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%assault_of%' or page_title like '%Assault_of%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["rev_timestamp", "CONCAT(\"https://en.wikipedia.org/w/index.php?diff=prev&oldid=\", rev_id)"], "rowcount": 4}], "runningtime": "0.09"}
enwiki_p
stabbing of
null
select concat ('#[[',page_title,']]') from page where page_namespace = 0 and (page_title like '%stabbing_of%' or page_title like '%Stabbing_of%') AND page_is_redirect = 0;
{"resultsets": [{"headers": ["rev_timestamp", "CONCAT(\"https://ru.wikipedia.org/w/index.php?diff=prev&oldid=\", rev_id)"], "rowcount": 0}], "runningtime": "0.06"}
enwiki_p
Top #500 edits thwiki (exclude bots)
null
SELECT user_name, user_editcount FROM user ORDER BY user_editcount DESC LIMIT 700
{"resultsets": [{"headers": ["user", "edit_count"], "rowcount": 6}], "runningtime": "0.21"}
thwiki_p
colocationwebhost-soft
null
SELECT ipb_address, actor_name, ipb_timestamp, comment_text FROM ipblocks INNER JOIN actor ON ipblocks.ipb_by_actor = actor.actor_id INNER JOIN comment ON ipblocks.ipb_reason_id = comment.comment_id WHERE TRUE AND ipb_user = 0 AND actor_name IN ('Blablu...
{"resultsets": [{"headers": ["el_id", "el_from", "el_to", "el_index", "el_index_60"], "rowcount": 100}], "runningtime": "0.18"}
enwiki_p
Active editor gadget usage in enwiki
null
SELECT up_property, COUNT(*) FROM user_properties_anon WHERE up_value = 1 AND up_property LIKE "gadget%" AND upa_touched > SUBDATE(NOW(), INTERVAL 1 YEAR) GROUP BY 1 ORDER BY 2 DESC
{"connection_id": 42301578}
enwiki_p
Linux Libertine signatures
null
SELECT user_name, user_editcount, up_value FROM `user` JOIN user_properties ON up_user = user_id WHERE up_property = "nickname" AND up_user IN (SELECT up_user FROM user_properties WHERE up_property = "fancysig" AND up_value = 1) AND up_value LIKE "%Linux Libertine%"
{"connection_id": 42363842}
enwiki_p
Brouillons catégorisés (drafts in ns 0 related categories)
null
SELECT DISTINCT cl_to FROM categorylinks AS cl1 JOIN page AS pg1 ON cl1.cl_from = pg1.page_id WHERE page_namespace = 2 AND EXISTS (SELECT 1 FROM page AS pg2 JOIN categorylinks AS cl2 ON pg2.page_id = cl2.cl_from WHERE pg2.page_namespace = 0 AND cl1.cl_to = cl2...
{"resultsets": [{"headers": ["Table", "Non_unique", "Key_name", "Seq_in_index", "Column_name", "Collation", "Cardinality", "Sub_part", "Packed", "Null", "Index_type", "Comment", "Index_comment"], "rowcount": 0}], "runningtime": "0.05"}
frwiki
قتل
null
select concat ('*[[',page_title,']]') from page where page_namespace = 0 and page_title like '%قتل%' AND page_is_redirect = 0;
{"resultsets": [{"headers": ["actor_name", "user_touched", "user_editcount"], "rowcount": 0}], "runningtime": "0.66"}
fawiki_p
3-letter templates (enwiki)
null
select page_id,concat('Template:',page_title) from page where page_namespace=10 and length(page_title) = 3 and page_is_redirect = 0
{"resultsets": [{"headers": ["actor_name"], "rowcount": 0}], "runningtime": "0.15"}
enwiki_p
Pages deleted on some wiki that are linked to frwiki
null
SELECT comment.*, recentchanges.*, wb_items_per_site.* FROM recentchanges JOIN change_tag ON ct_rev_id = recentchanges.rc_this_oldid JOIN change_tag_def ON change_tag_def.ctd_id = change_tag.ct_tag_id JOIN comment on recentchanges.rc_comment_id = comment.comment_id JOIN wb_items_per_site ON ip...
{"resultsets": [{"headers": ["page_title"], "rowcount": 0}], "runningtime": "0.40"}
wikidatawiki_p
Top Wikipedia User by Bytecounts (This month)
Verify each user's contribution here : https://quarry.wmflabs.org/query/54879
select * /*sum(tdif)*/ from (select actor_name, sum( cast(rc_new_len as int) - cast(rc_old_len as int)) tdif from recentchanges_userindex left join actor on rc_actor = actor_id where rc_timestamp >= 20220901000000 and rc_timestamp <= 20220927220000 and rc_bot = 0 and (rc_source = 'mw.new' or rc_source='mw.edit') ...
{"resultsets": [{"headers": ["date", "count(*)", "avg(page_len)", "sum(page_len)"], "rowcount": 69}], "runningtime": "0.34"}
idwiki
Top Wikipedia Page by Bytecounts (This Month)
Verify each user's contribution here : https://quarry.wmflabs.org/query/54879
select * from (select rc_title, sum( cast(rc_new_len as int) - cast(rc_old_len as int)) tdif from recentchanges_userindex where rc_timestamp >= 20220901000000 and rc_timestamp <= 20220927220000 and rc_bot = 0 and (rc_source = 'mw.new' or rc_source='mw.edit') group by rc_title) a where tdif > 3000 order by tdif des...
{"resultsets": [{"headers": ["date", "count(*)", "avg(page_len)", "sum(page_len)"], "rowcount": 33}], "runningtime": "0.26"}
idwiki