Last modified: 2013-06-26 12:38:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51263, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49263 - Apply data type specific validators to snak values received by the API
Apply data type specific validators to snak values received by the API
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 48965 49186 49583
  Show dependency treegraph
 
Reported: 2013-06-06 16:55 UTC by Daniel Kinzler
Modified: 2013-06-26 12:38 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-06-06 16:55:01 UTC
The API should check all snak values it receives from a client against the validators associated with a given data type (aka property type).

Note that these validators are specific to the snak's peroperty type, and apply to DataValue objects. This is a different layer of validation than the one applied when constructing DataValue objects (and another layer yet than parsing data values from strings).
Comment 1 Gerrit Notification Bot 2013-06-10 21:48:53 UTC
Related URL: https://gerrit.wikimedia.org/r/67892 (Gerrit Change I6b4eaa542291a6ad9ee8921371efc741e3d7465a)
Comment 2 Gerrit Notification Bot 2013-06-14 13:31:34 UTC
Related URL: https://gerrit.wikimedia.org/r/68650 (Gerrit Change I7378838f9ab22a52261d79af6690f531f0f1ee2b)
Comment 3 Gerrit Notification Bot 2013-06-14 14:22:38 UTC
Related URL: https://gerrit.wikimedia.org/r/68656 (Gerrit Change I67b9ae480c4a667043486b45027796c0c69c5ffa)
Comment 4 Gerrit Notification Bot 2013-06-14 16:41:32 UTC
Related URL: https://gerrit.wikimedia.org/r/68685 (Gerrit Change Ieda3ea28c16d35d70b0cf814e8c86853edbecf5f)
Comment 5 Gerrit Notification Bot 2013-06-19 10:47:09 UTC
https://gerrit.wikimedia.org/r/68650 (Gerrit Change I7378838f9ab22a52261d79af6690f531f0f1ee2b) | change APPROVED and MERGED [by Tobias Gritschacher]
Comment 6 Gerrit Notification Bot 2013-06-19 11:48:21 UTC
https://gerrit.wikimedia.org/r/68656 (Gerrit Change I67b9ae480c4a667043486b45027796c0c69c5ffa) | change APPROVED and MERGED [by Tobias Gritschacher]
Comment 7 Gerrit Notification Bot 2013-06-19 12:20:37 UTC
https://gerrit.wikimedia.org/r/68685 (Gerrit Change Ieda3ea28c16d35d70b0cf814e8c86853edbecf5f) | change APPROVED and MERGED [by Tobias Gritschacher]
Comment 8 abraham.taherivand 2013-06-26 12:38:04 UTC
Verified in Wikidata demo sprint 22-9

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links