Hi,
On 07/31/2016 07:53 AM, Takashi OTA wrote:
Such links are stored in externallinks.sql.gz, in an expanded form.
When you want to check increase/decrease of linked domains in chronological order through edit history, you have to check pages-meta-history1.xml etc. In a such case, traditional links and links by templates are mixed, Therefore, the latter ones (links by templates) should be expanded to traditional link forms.
If you have the revision ID, you can make an API query like: https://en.wikipedia.org/w/api.php?action=parse&oldid=387276926&prop=externallinks.
This will expand all templates and give you the same set of externallinks that would have ended up in the dump.
-- Legoktm