Fork of
archive-is shorturls
by ⵓ
This query is marked as a draft
This query has been published
by ⵓ.
SQL
AخA
select CONCAT( '# ' , el_to_domain_index, ' – ' , GROUP_CONCAT( ' {{Bearbeiten|',page_title ,'|text=',page_title,'}} – ' ) , el_to_path ) as output
FROM externallinks
JOIN page ON page_id = el_from
WHERE page.page_namespace =0
and (el_to_domain_index like 'https://V4%' or el_to_domain_index like 'http://V4%' )
group by el_to_domain_index , el_to_path
order by count(*) desc, 1
;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.