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
ⵓ
.
Find not archived URLs where the same URL is archived on same or an other article.
Toggle Highlighting
SQL
USE dewiki_p; SELECT CONCAT('[[',GROUP_CONCAT(pr.page_title SEPARATOR ']], [['),']]') as foundpage, farchivepage , el_to FROM externallinks as eur INNER JOIN page as pr on eur.el_from=pr.page_id INNER JOIN (SELECT substring(euf.el_to,29+15) as f, CONCAT('[[',GROUP_CONCAT(pf.page_title SEPARATOR ']], [['),']]') as farchivepage, max(euf.el_id) as m_id FROM externallinks as euf INNER JOIN page as pf on euf.el_from=pf.page_id WHERE el_index LIKE "https://org.archive.web./web/______________/%" and pf.page_namespace=0 GROUP BY substring(euf.el_to,29+15) ) as filter on filter.f=el_to WHERE pr.page_namespace=0 GROUP BY el_to ORDER BY m_id DESC
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...