XWIKI-8440: Unable to link to an attachment from the current page in the WYSIWYG Editor using "All Pages" tab
* Add functional test.