Allow an edition number to be specified for internal links

Reviewed by @alext