[Wikidata-bugs] [Maniphest] T326948: write documentation for how to authenticate with the Wikibase REST API

2023-02-10 Thread connorshea
connorshea added a comment. Thank you for these docs! TASK DETAIL https://phabricator.wikimedia.org/T326948 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: danshick-wmde, connorshea Cc: connorshea, Aklapper, WMDE-leszek, Lydia_Pintscher

[Wikidata-bugs] [Maniphest] T326410: inconsistent naming of data types

2023-01-07 Thread connorshea
connorshea added a comment. Ah, yeah the musical notation and math types were missed by me, along with some others. I'm not sure if those currently use hyphens or not. TASK DETAIL https://phabricator.wikimedia.org/T326410 EMAIL PREFERENCES https://phabricator.wikimedia.org/set

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-12-28 Thread connorshea
connorshea added a comment. @WMDE-leszek yup, we can probably close this ticket in favor of that one, since this isn't really an issue with the REST API. Thank you! TASK DETAIL https://phabricator.wikimedia.org/T315158 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/

[Wikidata-bugs] [Maniphest] T324680: Creating "time" or "globe coordinate" statements impossible on Beta Wikidata

2022-12-28 Thread connorshea
connorshea added a comment. I'd appreciate that! It makes it quite difficult to test my Ruby library, since I haven't built out the authentication part of things yet. I can test all the other types, but Time and GlobeCoordinate aren't testable for me right now (quantity I

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-10-29 Thread connorshea
connorshea added a comment. I can confirm the abuse filter issues still exist :) TASK DETAIL https://phabricator.wikimedia.org/T315158 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: connorshea Cc: WMDE-leszek, Addshore, Ollie.Shotton_WMDE

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-09-25 Thread connorshea
connorshea added a comment. Thank you! TASK DETAIL https://phabricator.wikimedia.org/T315164 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: WMDE-leszek, connorshea Cc: WMDE-leszek, Ollie.Shotton_WMDE, connorshea, Aklapper, Astuthiodit_1

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-08-22 Thread connorshea
connorshea added a comment. Thank you! TASK DETAIL https://phabricator.wikimedia.org/T315158 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: connorshea Cc: WMDE-leszek, Addshore, Ollie.Shotton_WMDE, connorshea, Aklapper, Astuthiodit_1

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-08-21 Thread connorshea
connorshea added a comment. Based on how the `SnakValidatorStatementValidator` class seems to work, it seems like you could catch the specific exceptions raised by `lib/packages/wikibase/data-model-serialization/src/Deserializers/StatementDeserializer.php` and return a more specific error

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-08-21 Thread connorshea
connorshea added a comment. It seems like there are various places in the REST API code where there are permission checks that provide specific error messages about what the problem is, but the `newFrameworkAlikePermissionDeniedResponse` method in `repo/rest-api/src/RouteHandlers

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-08-21 Thread connorshea
connorshea added a comment. I get a 403 (`{\"error\":\"rest-write-denied\",\"httpCode\":403,\"httpReason\":\"Forbidden\"}`) when using a Wikidata beta site entity for the quantity unit: { "statement": { &quo

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-08-21 Thread connorshea
connorshea added a comment. I tried using the HTTP URL, but I still get a 500 error (`{\"code\":\"unexpected-error\",\"message\":\"Unexpected error\"}`). { "statement": { "mainsnak": { "snak

[Wikidata-bugs] [Maniphest] T315158: Quantities, Times, and GlobeCoordinates datavalues do not work in REST API statements POST endpoint

2022-08-21 Thread connorshea
connorshea added a comment. Oh, that's really weird. So it has to use HTTP, not HTTPS for globe/calendarmodel? Can we just exclude the protocol entirely like `//www.wikidata.org/entity/Q2`? As for before/after, I assumed they'd be optional since they default to 0 anyway (an

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-08-13 Thread connorshea
connorshea added a comment. I managed to figure out how to generate the Swagger docs locally, and changing `repo/rest-api/specs/global/request-parts.json` in the Wikibase repo fixes this problem: { "StatementRequest": {

[Wikidata-bugs] [Maniphest] T315164: Wikibase REST API Swagger docs are missing "type: statement" on statements POST endpoint

2022-08-13 Thread connorshea
connorshea created this task. connorshea added projects: Wikibase REST API, Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): - View the REST API Swagger docs at https://doc.wikimedia.org

[Wikidata-bugs] [Maniphest] T312826: Add "only applies to class" and/or "does not apply to class" constraint qualifier

2022-07-11 Thread connorshea
connorshea created this task. connorshea added projects: Wikidata, Wikibase-Quality-Constraints. TASK DESCRIPTION We'd like to be able to apply constraints to specific item classes, rather than to all items using a given property. The reason for this is that there are distinct usages o

[Wikidata-bugs] [Maniphest] T274606: Support one-of qualifier value property constraint type

2021-02-11 Thread connorshea
connorshea added a parent task: T213803: [Tracking] Request for new constraint types. TASK DETAIL https://phabricator.wikimedia.org/T274606 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: connorshea Cc: connorshea, Aklapper, Akuckartz, darthmon_wmde

[Wikidata-bugs] [Maniphest] T213803: [Tracking] Request for new constraint types

2021-02-11 Thread connorshea
connorshea added a subtask: T274606: Support one-of qualifier value property constraint type. TASK DETAIL https://phabricator.wikimedia.org/T213803 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: connorshea Cc: Aklapper, Lucas_Werkmeister_WMDE

[Wikidata-bugs] [Maniphest] T274606: Support one-of qualifier value property constraint type

2021-02-11 Thread connorshea
connorshea created this task. connorshea added projects: Wikibase, Wikibase-Quality-Constraints, Wikibase-Quality. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION Add support for this constraint type: https

[Wikidata-bugs] [Maniphest] T199197: [2.11] Integrate Citoid in Wikidata

2020-12-20 Thread connorshea
connorshea added a comment. I'd like to say that - as a Wikidata contributor - this is still a much-needed tool. The current reference interface for Wikidata is still painful to use. TASK DETAIL https://phabricator.wikimedia.org/T199197 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T209879: Graduate suggestions based on constraints beta feature out of beta features

2019-04-15 Thread connorshea
connorshea added a comment. Apologies if this is the wrong place to mention this, but I've been using the suggestions feature for a while and my only complaint about it currently is that, when you create a new statement, qualifiers for it don't have any suggestions (e.g. when ad

[Wikidata-bugs] [Maniphest] [Commented On] T167700: Add button to automatically fix certain constraint violations

2019-04-15 Thread connorshea
connorshea added a comment. I would love this feature, I frequently add new properties that require a sibling statement (e.g. Steam Application ID requires that you add Steam as a Distribution method for the item) and this would make my life a lot easier :) TASK DETAIL https

[Wikidata-bugs] [Maniphest] [Commented On] T204440: analyze and visualize the identifier landscape of Wikidata

2019-04-03 Thread connorshea
connorshea added a comment. FYI, I keep getting disconnected from the site for some reason. F28575399: Screen Shot 2019-04-03 at 10.05.19 PM.png <https://phabricator.wikimedia.org/F28575399> Here are the console logs, if that helps at all: F28575380: Screen Shot 2019-04