SELECT COUNT(el_from) AS total, el_from, page_title
FROM externallinks, page
WHERE externallinks.el_from = page_id AND page_is_redirect = 0 AND page_namespace = 0
GROUP BY el_from
ORDER BY total DESC;
External link ranking
Sites linked more than 1 times as of April 20, 2007. Only articles in the main space are considered.
Link count
Site
15
http://roa-tara.wikipedia.org
1
http://wikimediafoundation.org
1
irc://irc.eu.freenode.net
1
http://plants.usda.gov
SELECT COUNT(el_to) AS total, SUBSTRING_INDEX(el_to, '/', 3) AS search
FROM externallinks, page
WHERE page_id = el_from AND page_namespace = 0
GROUP BY search
ORDER BY total DESC;
Additional information
Some more information about this dump:
51 articles that are in the main space and not redirects
58 articles and redirects in the main space
313 pages in all namespaces
21 redirects in all namespaces
34 external links in every namespace
18 external links in the main space
Very probable spambot pages
If index.php is found in a page title, it is very likely the article talk page has been created by a spambot. These pages should be deleted and protected if possible.
Article ID
Article
Possible spambot pages
Possible pages created by spambots ending with /.
Article ID
Article
SELECT page_id, page_title, page_namespace
FROM page
WHERE page_title LIKE '%index.php%' OR page_title LIKE '%/wiki/%' OR page_title LIKE '%/w/%' OR page_title LIKE '%/';