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#HURLFormat):

http://<server>/<context 
path>/webjars/<path/to/resource>[?version=<version>&evaluate=true|false&wiki=<wiki
 name>]

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

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to