Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Calculate link density on a specific article
by
StefenTower
This query is marked as a draft
This query has been published
by
StefenTower
.
Count number of unique articles on a specific page
Toggle Highlighting
SQL
SELECT COUNT(*) AS 'Link Count', COUNT(*) / p.page_len * 1000 AS 'Link Density (per KB)' FROM page p INNER JOIN pagelinks pl ON p.page_id = pl.pl_from INNER JOIN linktarget lt on pl.pl_target_id = lt.lt_id WHERE p.page_namespace = 0 AND p.page_title = "Muhammad_Ali" AND lt.lt_namespace = 0
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...