On 09/28/2010 10:32 AM, Vincent Massol wrote:
> Hi,
>
> I'd like to add interwiki support in XWiki Syntax 2.0 and 2.1.
>
> I'm proposing to add the interwiki definitions to xwiki.properties using the 
> format:
>
> rendering.interWikiDefinitions = alias1=http://url1/
> rendering.interWikiDefinitions = aliasN=http://urlN/
>
> Then it's used like this for XWiki Syntax 2.1:
> [[interwiki:alias1:path]]
>
> For XWiki Syntax 2.0:
> [[p...@alias1]]
>
> This generates in HTML:
> http://url1/path

+1. It doesn't bring much value over direct URLs, but it could be useful 
once the WYSIWYG provides some extended support for creating interwiki 
links. An idea would be to use OpenSearch to get suggestions for page 
names from the external wiki, if it's supported.

> I have this already implemented, waiting to commit.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to