[xwiki-contrib/documentation] 3bcd62: DA-94: Add a check for image captions that mention...
Branch: refs/heads/master Home: https://github.com/xwiki-contrib/documentation Commit: 3bcd621765e5b19a5c98704a3e90de322a4b6401 https://github.com/xwiki-contrib/documentation/commit/3bcd621765e5b19a5c9870... 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/ImageMacroCaptionVersionCheck.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/ImageMacroCaptionVersionCheckTest.java Log Message: ----------- DA-94: Add a check for image captions that mention a version (#36) * Add ImageMacroCaptionVersionCheck (imageMacroCaptionVersion), which reports as a Warning every {{image}} macro whose 'caption' contains a version number (e.g. 17.10, 16.10.5, 18.0.0RC1, 17.10-SNAPSHOT) or the word XWiki followed by a number * Look in the page content, the FAQ and inside macros whose content is wiki content * The context gives the image reference and the caption 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