Manuel created this task.
Manuel added projects: Wikidata-Campsite, Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  **Problem:**
  Users can select `mul` as a language on the Special:NewItem page. If they 
fill out the description field and send the form, they will receive an error 
message, that says `mul` is not allowed for descriptions. We need to make this 
more intuitive.
  
  **Notes:**
  
  - The reason is that we only allow the language code `mul` for Labels and 
Aliases and not for descriptions (T313027 
<https://phabricator.wikimedia.org/T313027>).
  - The UI language stays the preselected default.
  
  **Mockup:**
  
  **BDD:**
  If an editor selects `mul` on Special:NewItem then we deactivate the 
description field.
  
  GIVEN an editor has opened Special:NewItem 
  WHEN the editor selects the language code `mul`
  THEN the description field is disabled 
  AND the description field is emptied
  AND the explanatory text (see "Copy") is shown below the disabled field 
(inline message)
  
  If the user selects any another language on Special:NewItem then w ego back 
to normal.
  
  GIVEN an editor has opened Special:NewItem 
  AND the the language code `mul` is selected
  WHEN the editor selects any other language code 
  THEN the description field is enabled 
  AND the explanatory text is hidden
  
  **Copy:**
  
    It is not possible to enter descriptions for multiple languages at once. 
Please provide a description after the Item is created.
  
  **Acceptance criteria:**
  
  [ ] If an editor selects `mul` on Special:NewItem then we deactivate the 
description field.
  [ ] If the user selects any another language on Special:NewItem then w ego 
back to normal.
  
  **Open questions:**
  
  - Are there any other places where we need to consider this?

TASK DETAIL
  https://phabricator.wikimedia.org/T329626

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]

Reply via email to