News for hackers. Stuff that matters.
Re:Show HN: DNS over Wikipedia by O_H_E on Monday April 06, 2020 @12:09AM (#22790838)
I think it directs to the correct link when it is labeled `URL` in wiki. In the other cases the link is labeled `Website`.
Re:Show HN: DNS over Wikipedia by aaronjanse on Monday April 06, 2020 @01:26AM (#22791111)
This was exactly the issue! I just pushed fixes for this problem.
Re:Show HN: DNS over Wikipedia by cooper12 on Monday April 06, 2020 @10:33AM (#22794054)
I've written a userscript[0] before regarding official websites and I feel this is the hierarchy you should be using:

1. Try getting the Wikidata "official website" property

2. Then any link inside of a {{url}} template or |website= in an infobox

3. And if you really want to try to get something to resolve to, the first site wrapped in {{official website}}

If you need code to reference: https://en.wikipedia.org/wiki/User:Opencooper/domainRedirect...

[0]: https://en.wikipedia.org/wiki/User:Opencooper/domainRedirect

Re:Show HN: DNS over Wikipedia by yreg on Monday April 06, 2020 @02:21AM (#22791298)
Is this inconsistency intended?