[xwiki-contrib/documentation] 980991: DA-85: Add a check for images that reference an at...
Branch: refs/heads/da-85-image-other-page-attachment Home: https://github.com/xwiki-contrib/documentation Commit: 98099159d864afd3cf243626a69a85b59bea27c0 https://github.com/xwiki-contrib/documentation/commit/98099159d864afd3cf2436... Author: Vincent Massol <[email protected]> Date: 2026-10-06 (Tue, 06 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
participants (1)
-
XWiki Notifications