[Wikidata-bugs] [Maniphest] T296139: wbladdsense allows saving statements which then show errors when displayed

2021-11-22 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  This seems to be specific to wbladdsense and wbladdform; wbsetclaim rejects 
an edit with a similar payload (on localhost, so the item and property IDs are 
different):
  
  name=claim parameter

{"id":"Q50$b2a10ef3-26e0-47dc-8e71-ee2dbe9d8806","mainsnak":{"snaktype":"value","property":"P25","datavalue":{"value":{"id":"Q230"}}},"type":"statement"}
  
  
  
  counterexample, name=response
{
"error": {
"code": "modification-failed",
"info": "Data value corrupt:",
"messages": [
{
"name": "wikibase-validator-bad-value",
"parameters": [
""
],
"html": {
"*": "Data value corrupt: "
}
}
],
"*": "See http://localhost/wiki1/api.php for API usage. Subscribe 
to the mediawiki-api-announce mailing list at 
https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/;
 for notice of API deprecations and breaking changes."
}
}

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Nikki, Invadibot, maantietaja, Akuckartz, Nandana, 
Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, 
rosalieper, Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T296139: wbladdsense allows saving statements which then show errors when displayed

2021-11-21 Thread Lydia_Pintscher
Lydia_Pintscher changed the subtype of this task from "Task" to "Bug Report".
Lydia_Pintscher moved this task from Incoming to Needs Wikidata PM Work on the 
Wikidata-Campsite board.

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3402/

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

To: Lydia_Pintscher
Cc: Nikki, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T296139: wbladdsense allows saving statements which then show errors when displayed

2021-11-21 Thread Lydia_Pintscher
Lydia_Pintscher added a project: Wikidata-Campsite.

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

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

To: Lydia_Pintscher
Cc: Nikki, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T296139: wbladdsense allows saving statements which then show errors when displayed

2021-11-20 Thread Nikki
Nikki created this task.
Nikki added projects: Wikidata, Wikidata Lexicographical data.

TASK DESCRIPTION
  While trying to work out the required fields for creating a statement via the 
API, I managed to add senses with statements which are shown with errors when 
viewing the lexeme.
  
  https://www.wikidata.org/w/index.php?oldid=1530980375 was produced by 
`{"glosses":{"en":{"value":"from or relating to 
Georgia","language":"en"}},"claims":{"P6271":[{"mainsnak":{"snaktype":"value","property":"P6271","datavalue":{"value":{"id":"Q230"}}},"type":"statement"}]}}`
  
  https://www.wikidata.org/w/index.php?oldid=1530982346 was produced by 
`{"glosses":{"en":{"value":"from or relating to 
Azerbaijan","language":"en"}},"claims":{"P6271":[{"mainsnak":{"snaktype":"value","property":"P6271","datavalue":{"value":{"entity-type":"item","id":"Q227"}}},"type":"statement"}]}}`
  
  https://www.wikidata.org/w/index.php?oldid=1531320329 was produced by 
`{"glosses":{"en":{"value":"from or relating to Berlin 
Q64","language":"en"}},"claims":{"P6271":[{"mainsnak":{"snaktype":"value","property":"P6271","datavalue":{"value":{},"type":"wikibase-entityid"}},"type":"statement"}]}}`
  
  I would expect the edits to be rejected if the data is not valid.

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

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

To: Nikki
Cc: Nikki, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Bodhisattwa, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org