https://bugzilla.wikimedia.org/show_bug.cgi?id=46629

       Web browser: ---
            Bug ID: 46629
           Summary: Plural forms not processed
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 11999
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11999&action=edit
Result of steps to reproduce

In Wikidata, when a too long definition is entered, a message is shown raw. In
this case for Dutch: * Er is een lengtebeperking geactiveerd voor de taalcode
"nl". * Er {{PLURAL:1|is een overschrijding van een beperking voor de
beschrijving|zijn overschrijdingen van beperkingen voor de beschrijvingen}}
"verzamelterm voor software wa..." voor {{PLURAL:1|taalcode|taalcodes}} "nl". 

Steps to reproduce:
1. Go to https://www.wikidata.org/wiki/Q506883?setlang=nl . This will change
the UI to Dutch. Don't worry about that :).
2. In the field "geef een beschrijving op" add the following contents:
"verzamelterm voor software waarvan de licentie aan gebruikers het recht geeft
om de software naar eigen inzicht te gebruiken, aan te passen, te verbeteren en
de broncode inclusief aanpassingen te verspreiden doordat de broncode volledig
vrij beschikbaar is"
3. Click "Opslaan" right of the input field to attempt to save.

Observed:
I. An orange balloon apears that makes the user aware of an error.

4. Click "Details" to expand the error message.

Observed:
II. Message is shown as raw message contents, instead of plural parsed. Also
see attached screenshot.

Expected:
III. Plural is processed for message.
IV. It appears that may also have been made an assumption about unnumbered list
formatting, given the presence of "*" in the error text area. Not sure what
expected behavior is there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to