Item12819: Pass Interwiki links through expandCommonVariables
Priority: Enhancement
Current State: Closed
Released In: 2.0.0
Target Release: major
Macros are not expanded within a interwiki link definition.
The case here is specific to Foswiki.org. We need to map svn rev's to git hash references. A new macro plugin / macro is created that will map rev to ref.
distro:38a5a7f35c6c returns df46972 which could be used in a github url.
However the interwiki definition:
fails to expand the macro in the rendered link.
Simple solution is to call expandCommonVariables on the link generated by
InterwikiPlugin.
--
GeorgeClark - 23 Mar 2014
This fix is still needed, but unfortunately it's not enough to support the migration to Github. Since a single SVN rev can expand into multiple git commits, we need to override the returned url format.