Branch: refs/heads/da-75-image-gallery-xdom Home: https://github.com/xwiki-contrib/documentation Commit: d370e5ed05a2cf029758fed4fd7d101c5ec35fe2 https://github.com/xwiki-contrib/documentation/commit/d370e5ed05a2cf029758fe... Author: Vincent Massol <[email protected]> Date: 2026-10-06 (Tue, 06 Oct 2026) Changed paths: M documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/ImageGalleryCheck.java M documentation-xwikiorg/documentation-xwikiorg-api/src/test/java/org/xwiki/contrib/documentation/internal/xwikiorg/ImageGalleryCheckTest.java Log Message: ----------- DA-75: The Gallery check reports an error for images that are not next to each other, and for images inside code examples * Rewrite ImageGalleryCheck on the parsed XDOM instead of a regex over the raw page source: report sibling images ([[image:...]]) and Image macros separated only by spaces, new lines or empty lines * Check the content, the FAQ and the macros whose content is wiki content (reusing AbstractXDOMDocumentationCheck), so images shown inside non-wiki content macros such as {{code}} are no longer reported; the content of the Gallery macro is not checked * Use "Image references : <ref1>, <ref2>, ..." as the violation context * Add tests for the reported reproduction cases, standalone macros, image syntax, wiki content macros, the Gallery macro and the FAQ 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