Because of the order the page is rendered, Interwiki urls are known too late to be used in an INCLUDE. Which is a pity, because for INCLUDES we must use absolute urls.
Options:
- Let Interwiki plugin render the variable before INCLUDE is called
- Give INCLUDE an Interwiki parameter
- Give Interwiki plugin an INCLUDE variable
AC
Item3668 apparently uses included Interwiki links without obvious problems, possibly add more detail to this item.
--
TWiki:Main.SteffenPoulsen
- 24 Sep 2007
I made a test at
IncludeInterwikiTest. It does not work.
--
TWiki:Main.ArthurClemens
- 25 Sep 2007
Thanks - I understand the problem now.
--
SteffenPoulsen - 25 Sep 2007
Option 1 is not possible because INCLUDE is an internal variable and gets evaluated before plugins.
How about testing in INCLUDE if an interwiki pattern is present and expand it? We are in code freeze, so not for 4.2.
--
TWiki:Main.PeterThoeny
- 30 Sep 2007