Branch: refs/heads/master Home: https://github.com/xwiki-contrib/documentation Commit: 8b2b345b277375eab1a49d02d78bb80b812d5e03 https://github.com/xwiki-contrib/documentation/commit/8b2b345b277375eab1a49d... Author: Vincent Massol <[email protected]> Date: 2026-09-04 (Fri, 04 Sep 2026) Changed paths: M documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/AttachmentNameCheck.java M documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/KebabNameValidator.java M documentation-xwikiorg/documentation-xwikiorg-api/src/main/java/org/xwiki/contrib/documentation/internal/xwikiorg/PageNameCheck.java M documentation-xwikiorg/documentation-xwikiorg-api/src/test/java/org/xwiki/contrib/documentation/internal/xwikiorg/AttachmentNameCheckTest.java M documentation-xwikiorg/documentation-xwikiorg-api/src/test/java/org/xwiki/contrib/documentation/internal/xwikiorg/KebabNameValidatorTest.java M documentation-xwikiorg/documentation-xwikiorg-api/src/test/java/org/xwiki/contrib/documentation/internal/xwikiorg/PageNameCheckTest.java Log Message: ----------- OP#127: The kebab-case check rejects valid names and proposes a name that means the opposite (#14) * Decide kebab-case validity with a pattern instead of round-tripping through toKebab(), so a name that is already lowercase and hyphen-separated is no longer reported as a kebab-case error just because it holds a stop word. The pattern also rejects the underscore, which toKebab() used to keep and which is not kebab-case. * Split the one check into three independent rules — kebab-case shape, stop words, documentation-type words — each with its own predicate, its own transformation and its own violation, so the proposed name only ever fixes the rule that was reported. Stop words are now a Warning of their own naming the words found, rather than an Error about kebab-case. * Remove the meaning-bearing words from STOP_WORDS: every negation ("no", "not", "cannot", …) and every direction or relation word ("above", "below", "before", "after", "up", "down", …). A name such as cannot-restore describes the opposite of restore, so no rule may ask an author to shorten one into the other. Co-authored-by: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/documentation/settings/notifications