Manuel created this task.
Manuel added projects: Wikidata, Wikidata-Campsite.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
**User story:**
As an ...
I want to ...
in order to ...
**Problem:**
The error message when the user tries to add a redirect without a badge, does
not mention the cause of the error.
**Steps to reproduce:**
- Edit Q9833 and add sitelink to redirect "enwiki:James Hamilton, Duke of
Châtellerault"
- Publish
Result:
- error message saying:
Could not save due to an error.
1. The save has failed.
2. The link "enwiki:James Hamilton, Duke of Châtellerault" is already used
by Item Q9833. You may remove it from Q9833 if it does not belong there or
merge the Items if they are about the exact same topic.
**Solution:**
Make the error message more actionable.
**Copy:**
The second bullet in the error message should continue "If the sitelink to a
redirect was intentional, you must apply a redirect badge in the same edit."
**Notes:**
**BDD:**
If a redirect is not allowed as a sitelinks because of a missing redirect
badge, then the error message is amended:
GIVEN an Item
AND a page on the client that is a redirect
AND the redirect target is already used in another Item
WHEN adding the page as a sitelink to the Item
AND not adding a redirect badge in the same edit
THEN the edit is rejected
AND the user is pointed to helpful information on how to resolve the problem
(see copy)
**Acceptance criteria:**
[ ] If a redirect is not allowed as a sitelinks because of a missing redirect
badge, then the error message is amended to be more actionable for the users.
**Open questions:**
**Community communication:**
Who we needs to keep in the loop and in what way:
Who this could be interesting for and in what way:
**Original:**
https://phabricator.wikimedia.org/T278962#8246303
TASK DETAIL
https://phabricator.wikimedia.org/T320490
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Manuel
Cc: Manuel, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja,
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden,
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude,
Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]