Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Lofhi
.
This SQL retrieves the names of active users (in the user discussion namespace) who have made recent changes (since may 2023 ; generalization of Vector 2022) and have vector.js/vector.css pages. We can send them a MassMessage.
Toggle Highlighting
SQL
SELECT DISTINCT(a.actor_name) FROM page AS p LEFT JOIN actor AS a ON a.actor_name = REPLACE(SUBSTRING_INDEX(p.page_title, '/', 1), '_', ' ') LEFT JOIN (SELECT rev_actor, MAX(rev_timestamp) AS max_timestamp FROM revision_userindex GROUP BY rev_actor) AS r ON r.rev_actor = a.actor_id WHERE p.page_namespace = 2 AND (p.page_title LIKE "%/vector.js" OR p.page_title LIKE "%/vector.css") AND p.page_len != 0 AND r.max_timestamp >= 20230501000000;
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...