Branch: refs/heads/da-85-image-other-page-attachment Home: https://github.com/xwiki-contrib/documentation Commit: 8a91cbbd70034b963e0e3f7ea5e1d0b1846b482b https://github.com/xwiki-contrib/documentation/commit/8a91cbbd70034b963e0e3f... Author: Vincent Massol <[email protected]> Date: 2026-10-07 (Wed, 07 Oct 2026) Changed paths: A documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/ImageOtherPageAttachmentCheck.java M documentation-xwikiorg/documentation-xwikiorg-api/src/main/resources/META-INF/components.txt A documentation-xwikiorg/documentation-xwikiorg-api/src/test/java/org/xwiki/contrib/documentation/internal/xwikiorg/ImageOtherPageAttachmentCheckTest.java Log Message: ----------- DA-85: Add a check for images that reference an attachment of another page * Add ImageOtherPageAttachmentCheck (imageOtherPageAttachment), which resolves the 'reference' of every {{image}} macro, and every attachment image of the Gallery macro, as an attachment reference relative to the current page, and reports as a Warning the ones attached to another page * Look in the page content, the FAQ and inside macros whose content is wiki content * The context gives the image reference and the page it belongs to, serialized relative to the current page Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/documentation/settings/notifications