Steps to replicate the issue (include links if applicable):
- Go to https://meta.wikimedia.org/w/index.php?title=Community_Wishlist/Wishes/Show_links_in_inclusions_as_sublists_in_WhatLinksHere,_just_like_links_to_redirects
- Click "edit with form"
- Save making no changes
What happens?:
It fails with "Please enter a value for this field (between 5 and 100 characters)." in the Wish title field.
What should have happened instead?:
It should work. If you want to enforce a max length for the title then only enforce it if the title is actually changed.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Derived Requirement
Ensure that the "Wish title" field validation in the form only enforces the character limit (5-100 characters) if the title is actually changed during the edit process.
BDD
Feature: Form validation for Wish title field on Meta-Wiki
Scenario: Ensure Wish title validation is only enforced when the title is changed
Given the user is editing a wish using the "edit with form" option When the user saves the form without making changes to the Wish title Then the form should save successfully without any validation error
Test Steps
Test Case 1: Ensure the Wish title field validation only triggers when the title is changed
Go to the Community Wishlist page.
Click "Edit with form."
Save the form without making any changes to the Wish title field.
✅❓❌⬜ AC1: Confirm that the form saves successfully without triggering the error "Please enter a value for this field (between 5 and 100 characters)."
Test Case 2: Ensure validation is enforced when the Wish title is changed
Go to the Community Wishlist page.
Click "Edit with form."
Modify the Wish title to a string less than 5 characters or more than 100 characters.
Save the form.
✅❓❌⬜ AC2: Confirm that the form displays an error message indicating the Wish title must be between 5 and 100 characters.
QA Results - Meta.wiki
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T374321#10172630 |
| 2 | ✅ | T374321#10172630 |





