On Sep 28, 2010, at 1:30 PM, Sergiu Dumitriu wrote:
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:
[[path@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.
It also allows us to support a "standard" feature of wikis. Since we had put on
wikimatrix that we support interwiki links we had to have it... ;)
Side note: if we want we could have an "iw" alias as the link type to provide a
shorthand. Not sure it's required though.
BTW there were 2 votes for this feature so at least 2 persons were waiting for it ;)
Thanks
-Vincent
> I have this already implemented, waiting to
commit.