Re: [xwiki-users] How to create a link to a page translation?

2016-08-08 Thread Mario
An even shorter sytax for this usecase ist:
*[[English>>||queryString="language=en"]]* since I always want to link to
the current page.

Thank you for your help.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-create-a-link-to-a-page-translation-tp7600574p7600602.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to create a link to a page translation?

2016-08-04 Thread Thomas Mortagne
If you carefully looks at examples containing a query string on
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1=Links
you will see that you need to move it in the link parameters instead
of the reference where you put it currently.

{{velocity}} 
[[English>>doc:$doc.fullName||queryString="language=en"]]{{/velocity}}

On Thu, Aug 4, 2016 at 4:14 PM, Hofstätter Mario
 wrote:
> Hello,
>
> I want to create a wiki link which opens the current page in a given 
> language. I tried the following:
> {{velocity}} [[English>>doc:$doc.fullName/?language=en]]{{/velocity}}
>
> But it does not work, it generates a create page link. I could not find 
> anything on 
> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1=Links
>  either.
> How may I achieve this? Thank you.
> Mario
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to create a link to a page translation?

2016-08-04 Thread Hofstätter Mario
Hello,

I want to create a wiki link which opens the current page in a given language. 
I tried the following:
{{velocity}} [[English>>doc:$doc.fullName/?language=en]]{{/velocity}}

But it does not work, it generates a create page link. I could not find 
anything on 
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1=Links
 either.
How may I achieve this? Thank you.
Mario
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users