Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
ReferenceExpander edits, 2022/4/18-2022/6/30 & 2023/4/1-
by
Cryptic
This query is marked as a draft
This query has been published
by
Cryptic
.
Edits in the main namespace either between 2020-5-13 and 2022-6-30 inclusive, or after 2023-4-1, with any of the edit summaries ever used by [[User:BrandonXLF/ReferenceExpander.js]]. This obsolesces query 75208, which has no results that are not also here. For [[WP:RAQ#ReferenceExpander QueryReduxer]] circa 14 July 2023.
Toggle Highlighting
SQL
SELECT * FROM ( SELECT r1.rev_id, r1.rev_timestamp, actor_name, page_namespace, page_title, r1.rev_len - COALESCE(r2.rev_len, 0) AS delta, comment_text FROM revision AS r1 JOIN comment_revision ON comment_id = r1.rev_comment_id JOIN actor_revision ON actor_id = r1.rev_actor JOIN page ON page_id = r1.rev_page LEFT JOIN revision AS r2 ON r2.rev_id = r1.rev_parent_id WHERE comment_text LIKE '%using [[en:w:User:BrandonXLF/ReferenceExpander%' AND r1.rev_timestamp BETWEEN '20200513' AND '202009' -- if this range is too wide, the query optimizer uses page_name_title instead of -- rev_timestamp; hence all the near-duplicate queries unioned together AND page_namespace = 0 UNION SELECT r1.rev_id, r1.rev_timestamp, actor_name, page_namespace, page_title, r1.rev_len - COALESCE(r2.rev_len, 0) AS delta, comment_text FROM revision AS r1 JOIN comment_revision ON comment_id = r1.rev_comment_id JOIN actor_revision ON actor_id = r1.rev_actor JOIN page ON page_id = r1.rev_page LEFT JOIN revision AS r2 ON r2.rev_id = r1.rev_parent_id WHERE comment_text LIKE '%using [[en:w:User:BrandonXLF/ReferenceExpander%' AND r1.rev_timestamp BETWEEN '202009' AND '202102' AND page_namespace = 0 UNION SELECT r1.rev_id, r1.rev_timestamp, actor_name, page_namespace, page_title, r1.rev_len - COALESCE(r2.rev_len, 0) AS delta, comment_text FROM revision AS r1 JOIN comment_revision ON comment_id = r1.rev_comment_id JOIN actor_revision ON actor_id = r1.rev_actor JOIN page ON page_id = r1.rev_page LEFT JOIN revision AS r2 ON r2.rev_id = r1.rev_parent_id WHERE comment_text LIKE '%using [[en:w:User:BrandonXLF/ReferenceExpander%' AND r1.rev_timestamp BETWEEN '202102' AND '202108' AND page_namespace = 0 UNION SELECT r1.rev_id, r1.rev_timestamp, actor_name, page_namespace, page_title, r1.rev_len - COALESCE(r2.rev_len, 0) AS delta, comment_text FROM revision AS r1 JOIN comment_revision ON comment_id = r1.rev_comment_id JOIN actor_revision ON actor_id = r1.rev_actor JOIN page ON page_id = r1.rev_page LEFT JOIN revision AS r2 ON r2.rev_id = r1.rev_parent_id WHERE comment_text LIKE '%using [[en:w:User:BrandonXLF/ReferenceExpander%' AND r1.rev_timestamp BETWEEN '202108' AND '202202' AND page_namespace = 0 UNION SELECT r1.rev_id, r1.rev_timestamp, actor_name, page_namespace, page_title, r1.rev_len - COALESCE(r2.rev_len, 0) AS delta, comment_text FROM revision AS r1 JOIN comment_revision ON comment_id = r1.rev_comment_id JOIN actor_revision ON actor_id = r1.rev_actor JOIN page ON page_id = r1.rev_page LEFT JOIN revision AS r2 ON r2.rev_id = r1.rev_parent_id WHERE comment_text LIKE '%using [[en:w:User:BrandonXLF/ReferenceExpander%' AND r1.rev_timestamp BETWEEN '202202' AND '20220631' AND page_namespace = 0 UNION SELECT r1.rev_id, r1.rev_timestamp, actor_name, page_namespace, page_title, r1.rev_len - COALESCE(r2.rev_len, 0) AS delta, comment_text FROM revision AS r1 JOIN comment_revision ON comment_id = r1.rev_comment_id JOIN actor_revision ON actor_id = r1.rev_actor JOIN page ON page_id = r1.rev_page LEFT JOIN revision AS r2 ON r2.rev_id = r1.rev_parent_id WHERE comment_text LIKE '%using [[en:w:User:BrandonXLF/ReferenceExpander%' AND r1.rev_timestamp >= '20230401' AND page_namespace = 0 ) ORDER BY rev_id ASC;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...