XWIKI-7739: "Current wiki" wiki macros not available in the macros list in WYSIWYG or Dashboard in path based multiwiki
- Getting the current wikiID from the WYSIWYG's config istead of the DOM, as suggested by Marius.