After the implementation of the picker, the includeLibrary macro doesn't work anymore.
Reopened to fix the fact that after the implementation of the picker, the includeLibrary macro doesn't work anymore.
This seems to be related to the way the reference parameter is converted to a page reference, here: https://github.com/xwiki-contrib/book-versions/blob/master/application-book-versions-default/src/main/java/org/xwiki/contrib/bookversions/internal/displayers/LibraryReferenceConverter.java#L51 - the resolver used is a default resolver which resolves the value in the context of the main wiki. I think there are 2 possible solutions:
I think we should strive for the first solution.