Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On Aug 29, 2013, at 3:15 PM, Clemens Klein-Robbenhaar c.robbenh...@espresto.com wrote: On 08/29/2013 02:20 PM, Vincent Massol wrote: On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar c.robbenh...@espresto.com wrote: I vaguely feel the current syntax help page could be enhanced a bit by telling which attributes after the '||' have a special meaning (mostly the queryString as far as I know), and which ones are just HTML attributes. It is documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and specifically the section entitled XWiki Syntax 2.1 Link Specification. Well, who read the specs when there are examples ;) yep, agreed. Seriously, I plan forgot about that, silly me. What we are missing is a proper documentation of Syntax 2.1 and for this we need: http://jira.xwiki.org/browse/XWIKI-9176 We really need to work on that, we've been postponing it for too long now especially given that syntax 2.1 has been the default for a while... This looks quite cool. In my 5.2-SNAP the tables are a bit too wide, the bullets in the list bounce along the left margin, and the translations of the title did not made it in the list of translation documents (indeed I could not find them in the import) but aside of that ... What is actually needed to finish this, aside of a few formatting things? Fixing the code based on the comments in the jira issue (for example it has to pass the build, WCAG compliance is a must have). That's all. Interested to finish it? :) Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On Sep 17, 2013, at 4:52 PM, Clemens Klein-Robbenhaar c.robbenh...@espresto.com wrote: On 09/17/2013 04:40 PM, Vincent Massol wrote: On Aug 29, 2013, at 3:15 PM, Clemens Klein-Robbenhaar c.robbenh...@espresto.com wrote: [...snip ...] What is actually needed to finish this, aside of a few formatting things? Fixing the code based on the comments in the jira issue (for example it has to pass the build, WCAG compliance is a must have). That's all. Interested to finish it? :) Yes, definitely. I will be on vacation one week in October, then at latest I should find the time to look into this. Cool! Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On 09/17/2013 04:40 PM, Vincent Massol wrote: On Aug 29, 2013, at 3:15 PM, Clemens Klein-Robbenhaar c.robbenh...@espresto.com wrote: [...snip ...] What is actually needed to finish this, aside of a few formatting things? Fixing the code based on the comments in the jira issue (for example it has to pass the build, WCAG compliance is a must have). That's all. Interested to finish it? :) Yes, definitely. I will be on vacation one week in October, then at latest I should find the time to look into this. Cheers, Clemens Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: 1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get paramsMain.test?xpage=plainoutputSyntax=plain]] 2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id#id]] See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
Hi Valdis, 1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get paramsMain.test?xpage=plainoutputSyntax=plain]] This works as given in 2.0 syntax for me. In 2.1 syntax the following works: [[link with get paramsMain.test||queryString=xpage=plainoutputSyntax=plain]] 2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id#id]] works for me in 2.0 in 2.1: [[link to idPageName||anchor=id]] I vaguely feel the current syntax help page could be enhanced a bit by telling which attributes after the '||' have a special meaning (mostly the queryString as far as I know), and which ones are just HTML attributes. Clemens ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: 1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get paramsMain.test?xpage=plainoutputSyntax=plain]] 2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id#id]] See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks Thanks -Vincent I looked at this, and provided samples in general follows to the rule: (reference) [?queryString] [#anchor] But it doesn't work. Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar c.robbenh...@espresto.com wrote: Hi Valdis, 1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get paramsMain.test?xpage=plainoutputSyntax=plain]] This works as given in 2.0 syntax for me. In 2.1 syntax the following works: [[link with get paramsMain.test||queryString=xpage=plainoutputSyntax=plain]] 2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id#id]] works for me in 2.0 in 2.1: [[link to idPageName||anchor=id]] I vaguely feel the current syntax help page could be enhanced a bit by telling which attributes after the '||' have a special meaning (mostly the queryString as far as I know), and which ones are just HTML attributes. It is documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and specifically the section entitled XWiki Syntax 2.1 Link Specification. What we are missing is a proper documentation of Syntax 2.1 and for this we need: http://jira.xwiki.org/browse/XWIKI-9176 We really need to work on that, we've been postponing it for too long now especially given that syntax 2.1 has been the default for a while... Thanks -Vincent Clemens ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On Aug 29, 2013, at 2:36 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: Hi Valdis, 1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get paramsMain.test?xpage=plainoutputSyntax=plain]] This works as given in 2.0 syntax for me. In 2.1 syntax the following works: [[link with get paramsMain.test||queryString=xpage=plainoutputSyntax=plain]] 2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id#id]] works for me in 2.0 in 2.1: [[link to idPageName||anchor=id]] I vaguely feel the current syntax help page could be enhanced a bit by telling which attributes after the '||' have a special meaning (mostly the queryString as far as I know), and which ones are just HTML attributes. Clemens Thanks, that works! I tried to update http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax but I didn't have neither page edit nor comment permissions with my (valdisvi) profile… Yep you cannot :) This page is autogenerated, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?viewer=code What you can do is send a pull request for https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-help/xwiki-platform-help-ui/src/main/resources/XWiki/XWikiSyntax.xml What do you wish to change? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
On 08/29/2013 02:20 PM, Vincent Massol wrote: On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar c.robbenh...@espresto.com wrote: I vaguely feel the current syntax help page could be enhanced a bit by telling which attributes after the '||' have a special meaning (mostly the queryString as far as I know), and which ones are just HTML attributes. It is documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and specifically the section entitled XWiki Syntax 2.1 Link Specification. Well, who read the specs when there are examples ;) Seriously, I plan forgot about that, silly me. What we are missing is a proper documentation of Syntax 2.1 and for this we need: http://jira.xwiki.org/browse/XWIKI-9176 We really need to work on that, we've been postponing it for too long now especially given that syntax 2.1 has been the default for a while... This looks quite cool. In my 5.2-SNAP the tables are a bit too wide, the bullets in the list bounce along the left margin, and the translations of the title did not made it in the list of translation documents (indeed I could not find them in the import) but aside of that ... What is actually needed to finish this, aside of a few formatting things? Clemens ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users