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
Andrew Gray
.
All pages linking to the ODNB (using an encoded DOI) in enwiki mainspace.
Toggle Highlighting
SQL
use enwiki_p; SELECT externallinks.el_from, externallinks.el_to, page.page_title, page.page_namespace FROM externallinks INNER JOIN page ON page.page_id = externallinks.el_from WHERE externallinks.el_to LIKE '%dx.doi.org/10.1093[%]2Fref[%]3Aodnb[%]2F%' AND page.page_namespace=0; # interestingly, DOIs in CS1 templates are partly URLencooded # and show up as, eg, https://dx.doi.org/10.1093%2Fref%3Aodnb%2F31543 # so "LIKE '%dx.doi.org/10.1093/ref:odnb%'" only throws up <100 cases where someone *isn't* using the template correctly # therefore use the encoded version to find ones coming through the template
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...