From ab206bceaac509cf80e61a543b8f7b234ba13e5a Mon Sep 17 00:00:00 2001 From: "C. Lucas" Date: Thu, 18 Jan 2024 14:55:00 +0100 Subject: [PATCH] XWIKI-21775: Admin section: make the name strategy section pass webstandard tests (#2797) * Fixed a `label` copy pasted too fast: the for attribute did not get updated. * Removed the comment from the test for WYSIWYG --- .../resources/XWiki/EntityNameValidation/Administration.xml | 2 +- .../xwiki-platform-distribution-flavor-test/pom.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Administration.xml b/xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Administration.xml index 84c605448cd8..edf7706a8b8a 100644 --- a/xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Administration.xml +++ b/xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Administration.xml @@ -72,7 +72,7 @@ </dl> <dl> <dt> - <label for="newForbiddenCharacter">$services.localization.render('entitynamevalidation.replacementCharacter.newReplacementCharacter.label')</label> + <label for="newReplacementCharacter">$services.localization.render('entitynamevalidation.replacementCharacter.newReplacementCharacter.label')</label> <span class='xHint'>$services.localization.render('entitynamevalidation.replacementCharacter.newReplacementCharacter.hint')</span> </dt> <dd> diff --git a/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml b/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml index f5a55a5f66c5..404df03251cd 100644 --- a/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml +++ b/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml @@ -287,8 +287,7 @@ /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Syntaxes - + /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=nameStrategies /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=SyntaxHighlighting /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=emailSend