Topic on Talk:XTools

Interpretation of values in the Page Links API

2
PAC2 (talkcontribs)

I've looked at the page links API. I'm not sure how to interpret the values. For instance, when I look at the article w:Sandrine Rousseau, the API returns 30 external links (https://xtools.wmflabs.org/api/page/links/en.wikipedia.org/Sandrine%20 Rousseau). If I look at the article, I only find 8 external links. Is this value reliable and what is the good interpretation? More documentation on the interpretation of the results would be very useful.

MusikAnimal (talkcontribs)

It refers to external links anywhere content area of the article (not other places on the page such as the sidebar, etc.), as reported by the externallinks table in the database. This would include any external link, be it in maintenance templates, navboxes, etc. I believe it also counts any non-fully qualified link as external, i.e. interwiki links are probably counted as external, and even internal links if they are full URLs, such as the "expanding it" link in the stub template at the bottom of the page.

Reply to "Interpretation of values in the Page Links API"