Michael created this task.
Michael added projects: MediaWiki-extensions-WikibaseRepository, Wikidata, 
Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), User-Michael.
Restricted Application added subscribers: Liuxinyu970226, Aklapper.

TASK DESCRIPTION
  Steps to Reproduce:
  
  1. execute wbeditentity with `{"aliases":{"en":{"language":"en", 
"value":""}}}` as data
  
  Actual Results:
  
    {
        "error": {
            "code": "modification-failed",
            "info": "\u29fcwikibase-validator-label-too-short\u29fd",
            "messages": [
                {
                    "name": "wikibase-validator-label-too-short",
                    "parameters": [
                        "1",
                        ""
                    ],
                    "html": {
                        "*": "\u29fcwikibase-validator-label-too-short\u29fd"
                    }
                }
            ],
            "*": "See https://wikidata.beta.wmflabs.org/w/api.php for API 
usage. Subscribe to the mediawiki-api-announce mailing list at 
<https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for 
notice of API deprecations and breaking changes."
        },
        "servedby": "deployment-mediawiki-09"
    }
  
  Expected Results:
  
    {
        "error": {
            "code": "modification-failed",
            "info": "Alias must be at least one character long",
            "messages": [
                {
                    "name": "wikibase-validator-alias-too-short",
                    "parameters": [
                        "1",
                        ""
                    ],
                    "html": {
                        "*": "Alias must be at least one character long"
                    }
                }
            ],
            "*": "See http://default.web.mw.localhost:8080/mediawiki/api.php 
for API usage. Subscribe to the mediawiki-api-announce mailing list at 
<https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for 
notice of API deprecations and breaking changes."
        },
        "servedby": "3f235d6776a2"
    }
  
  **acceptance criteria**
  
  - correct message key
  - English message for too short label, description and alias is available

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

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Aklapper, Liuxinyu970226, Michael, darthmon_wmde, alaa_wmde, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Jonas, 
Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to