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
Certes
.
This query lists pages which redirect to articles at AfD but were recently of article length. Such pages risk deletion per G8 along with the AfD candidate, losing a potentially useful history. Ps is the redirect's source page (beginning #REDIRECT); Pd is its destination (the endangered article). rfn=redirect from namespace.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 100 FOR SELECT Ps.page_namespace AS rfn, Ps.page_title AS redirect, Pd.page_title AS article, actor_name AS redirector, rc_timestamp FROM linktarget JOIN templatelinks ON tl_from_namespace = 0 AND tl_target_id = lt_id JOIN page Pd ON Pd.page_id = tl_from JOIN redirect ON rd_title = Pd.page_title AND rd_namespace = 0 JOIN recentchanges ON rc_cur_id = rd_from AND rc_old_len - rc_new_len > 500 JOIN page Ps ON Ps.page_id = rd_from JOIN actor ON actor_id = rc_actor WHERE lt_namespace = 10 AND lt_title = "Article_for_deletion/dated" ORDER BY article, rfn, redirect, actor_name, rc_timestamp LIMIT 1000
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...