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
Tamzin
.
Toggle Highlighting
SQL
WITH hist AS (SELECT rev_text_id, actor_name FROM revision r INNER JOIN actor a ON r.rev_actor = a.actor_id WHERE rev_page = 17328042 ORDER BY rev_text_id DESC); SELECT old_id, actor_name, old_text FROM hist h INNER JOIN text t ON h.rev_text_id = t.old_id WHERE WITH (SELECT LEAD(old_text)) AS prev_text LENGTH(old_text) - LENGTH(REGEXP_REPLACE(old_text, "\\.*(WP:\\w+\\).*", "")) != LENGTH(prev_text) - LENGTHLENGTH(REGEXP_REPLACE(prev_text, "\\.*(WP:\\w+\\).*", "")) ORDER BY old_id DESC LIMIT 1
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...