Implemented as part of http://jira.xwiki.org/browse/XWIKI-12884 Thanks -Vincent On 8 Dec 2015 at 15:34:37, [email protected] ([email protected](mailto:[email protected])) wrote:
Hi devs,
Seems I forgot a use case when introducing the new webjars URL format in http://jira.xwiki.org/browse/XWIKI-10881 and we need to add the wiki somewhere in the URL to serve some webjar resource located in a different subwiki (this is http://jira.xwiki.org/browse/XWIKI-12884).
I’m proposing this updated wrbjars URL format (updated from http://extensions.xwiki.org/xwiki/bin/view/Extension/WebJars+Integration#HUR...):
http:////webjars/[?version=&evaluate=true|false&wiki=]
Specifically I’ve added the optional wiki query string parameter. This means also updating the url() Script Service API to use that new parameter when the resource is not on the current wiki.
WDYT?
Thanks -Vincent