Page MenuHomePhabricator

Wikibase Reuse Team (Sprint 21)Milestone
ArchivedPublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

WPP sprint 21

Recent Activity

Jun 25 2024

Ifrahkhanyaree_WMDE moved T342990: 🐣 Create an item from Happening now to Done on the Wikibase REST API (WPP) board.
Jun 25 2024, 1:12 PM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)

Jun 13 2024

wassan.anmol117 added a comment to T342990: 🐣 Create an item.

Hi @wassan.anmol117, yes, that is to be expected. Just like via the Wikidata UI, you can create anonymous edits that will be associated with an IP address (in the future this will be temporary anonymous accounts). If you want your edits to be associated with a particular account, then you would need to authenticate. There are other benefits to authenticating, such as an increased rate limit.

Jun 13 2024, 5:26 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)

Jun 11 2024

Ifrahkhanyaree_WMDE archived Wikibase Reuse Team (Sprint 21).
Jun 11 2024, 10:39 AM
Ifrahkhanyaree_WMDE closed T342990: 🐣 Create an item as Resolved.
Jun 11 2024, 10:37 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
Ifrahkhanyaree_WMDE closed T359305: 🐣 Mark POST item production ready, a subtask of T342990: 🐣 Create an item, as Resolved.
Jun 11 2024, 10:36 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
Ifrahkhanyaree_WMDE closed T359305: 🐣 Mark POST item production ready as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T359420: [Timebox] Performance testing as Resolved.
Jun 11 2024, 10:36 AM · Wikibase Reuse Team (Sprint 21), EntitySchema service WPP
Ifrahkhanyaree_WMDE closed T359858: 🏗️ Mark PATCH property production ready as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T365022: 🌍️ Handle errors that occur while patching an item as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T365023: 🌍️ Add auth check to PATCH item as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T365030: 🌍️ Handle Item not found for PATCH item as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T365025: 🌍️ Apply post patch validation for top-level fields in PATCH item use case as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T365031: 🌍️ Generate edit summaries for PATCH item as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T365032: 🌍️ Add the usual middlewares to PATCH item route handler as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21)
Ifrahkhanyaree_WMDE closed T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech
Ifrahkhanyaree_WMDE closed T365033: 🌍️ Add spec tests for 'PATCH item' as Resolved.
Jun 11 2024, 10:36 AM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21)
Maintenance_bot removed a project from T363491: [REPO] TypeError: Argument 1 passed to Wikibase\DataModel\Deserializers\SnakDeserializer::needsDataTypeLookup() must be of the type string, null given: Patch-For-Review.
Jun 11 2024, 9:31 AM · Wikibase Reuse Team (Sprint 22), MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), wmde-wikidata-tech, Wikidata, Wikimedia-production-error
Jakob_WMDE moved T365027: 🌍️ Apply post patch validation for aliases in PATCH item use case from Peer Review to Doing on the Wikibase Reuse Team (Sprint 21) board.
Jun 11 2024, 9:03 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)
Ollie.Shotton_WMDE moved T354198: OpenAPI docs incorrectly show response examples for empty response bodies from To Do to Peer Review on the Wikibase Reuse Team (Sprint 21) board.
Jun 11 2024, 9:03 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22), Wikibase REST API (WPP)
Ollie.Shotton_WMDE moved T354198: OpenAPI docs incorrectly show response examples for empty response bodies from Backlog to Sprint 21 on the Wikibase Reuse Team board.
Jun 11 2024, 9:03 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22), Wikibase REST API (WPP)
ReleaseTaggerBot added a project to T363491: [REPO] TypeError: Argument 1 passed to Wikibase\DataModel\Deserializers\SnakDeserializer::needsDataTypeLookup() must be of the type string, null given: MW-1.43-notes (1.43.0-wmf.10; 2024-06-18).
Jun 11 2024, 9:00 AM · Wikibase Reuse Team (Sprint 22), MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), wmde-wikidata-tech, Wikidata, Wikimedia-production-error
gerritbot added a comment to T363491: [REPO] TypeError: Argument 1 passed to Wikibase\DataModel\Deserializers\SnakDeserializer::needsDataTypeLookup() must be of the type string, null given.

Change #1034838 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Handle invalid data value input

https://gerrit.wikimedia.org/r/1034838

Jun 11 2024, 8:50 AM · Wikibase Reuse Team (Sprint 22), MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), wmde-wikidata-tech, Wikidata, Wikimedia-production-error

Jun 10 2024

Dima_Koushha_WMDE moved T365029: 🌍️ Apply post patch validation for sitelinks in PATCH item use case from To Do to Doing on the Wikibase Reuse Team (Sprint 21) board.
Jun 10 2024, 11:51 AM · Wikibase Reuse Team (Sprint 22)
Dima_Koushha_WMDE claimed T365029: 🌍️ Apply post patch validation for sitelinks in PATCH item use case.
Jun 10 2024, 11:51 AM · Wikibase Reuse Team (Sprint 22)
Dima_Koushha_WMDE removed a project from T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer: Patch-For-Review.
Jun 10 2024, 10:48 AM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech
Silvan_WMDE claimed T363491: [REPO] TypeError: Argument 1 passed to Wikibase\DataModel\Deserializers\SnakDeserializer::needsDataTypeLookup() must be of the type string, null given.
Jun 10 2024, 10:25 AM · Wikibase Reuse Team (Sprint 22), MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), wmde-wikidata-tech, Wikidata, Wikimedia-production-error
Silvan_WMDE moved T363491: [REPO] TypeError: Argument 1 passed to Wikibase\DataModel\Deserializers\SnakDeserializer::needsDataTypeLookup() must be of the type string, null given from To Do to Peer Review on the Wikibase Reuse Team (Sprint 21) board.
Jun 10 2024, 10:24 AM · Wikibase Reuse Team (Sprint 22), MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), wmde-wikidata-tech, Wikidata, Wikimedia-production-error
Silvan_WMDE edited projects for T363491: [REPO] TypeError: Argument 1 passed to Wikibase\DataModel\Deserializers\SnakDeserializer::needsDataTypeLookup() must be of the type string, null given, added: Wikibase Reuse Team (Sprint 21); removed Wikibase Reuse Team.
Jun 10 2024, 10:24 AM · Wikibase Reuse Team (Sprint 22), MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), wmde-wikidata-tech, Wikidata, Wikimedia-production-error
Ollie.Shotton_WMDE added a comment to T342990: 🐣 Create an item.

Hi @wassan.anmol117, yes, that is to be expected. Just like via the Wikidata UI, you can create anonymous edits that will be associated with an IP address (in the future this will be temporary anonymous accounts). If you want your edits to be associated with a particular account, then you would need to authenticate. There are other benefits to authenticating, such as an increased rate limit.

Jun 10 2024, 8:57 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
Dima_Koushha_WMDE moved T365026: 🌍️ Apply post patch validation for labels and descriptions in PATCH item use case from Doing to Peer Review on the Wikibase Reuse Team (Sprint 21) board.
Jun 10 2024, 8:45 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)
Jakob_WMDE moved T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer from Peer Review to Done on the Wikibase Reuse Team (Sprint 21) board.
Jun 10 2024, 8:04 AM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech
gerritbot added a project to T365026: 🌍️ Apply post patch validation for labels and descriptions in PATCH item use case: Patch-For-Review.
Jun 10 2024, 4:54 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)
gerritbot added a comment to T365026: 🌍️ Apply post patch validation for labels and descriptions in PATCH item use case.

Change #1040864 had a related patch set uploaded (by Dima koushha; author: Dima koushha):

[mediawiki/extensions/Wikibase@master] REST: Validate labels and descriptions in PatchItem use case

https://gerrit.wikimedia.org/r/1040864

Jun 10 2024, 4:54 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)

Jun 9 2024

gerritbot added a comment to T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer.

Change #1039203 merged by jenkins-bot:

[mediawiki/extensions/EntitySchema@master] Register EntitySchema value deserializer

https://gerrit.wikimedia.org/r/1039203

Jun 9 2024, 11:43 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech

Jun 8 2024

wassan.anmol117 added a comment to T342990: 🐣 Create an item.

@Ollie.Shotton_WMDE @Ifrahkhanyaree_WMDE While using the API, I observed that I was able to make a POST call with unauthenticated API requests. For example, I created this item on https://test.wikidata.org without the Authorization header and it worked. Is this expected?

Jun 8 2024, 6:24 PM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)

Jun 7 2024

ReleaseTaggerBot added a project to T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer: MW-1.43-notes (1.43.0-wmf.9; 2024-06-11).
Jun 7 2024, 3:00 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech
gerritbot added a comment to T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer.

Change #1037817 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Don't conflate snak parsing and deserializing

https://gerrit.wikimedia.org/r/1037817

Jun 7 2024, 2:26 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech
gerritbot added a comment to T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer.

Change #1037772 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Add 'deserializer-builder' to DataTypeDefinitions

https://gerrit.wikimedia.org/r/1037772

Jun 7 2024, 2:05 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech
gerritbot added a comment to T365794: [ES-M2] Split EntitySchemaValueParser into parser and deserializer.

Change #1038784 abandoned by Jakob:

[mediawiki/extensions/WikibaseLexeme@master] Add new DeserializerFactory constructor arg

Reason:

changed approach, no longer needed

https://gerrit.wikimedia.org/r/1038784

Jun 7 2024, 12:01 PM · MW-1.43-notes (1.43.0-wmf.9; 2024-06-11), Wikibase Reuse Team (Sprint 21), Wikidata, EntitySchema, wmde-wikidata-tech
wassan.anmol117 added a comment to T342990: 🐣 Create an item.

Sure. Thanks @Ollie.Shotton_WMDE!

Jun 7 2024, 7:09 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)

Jun 6 2024

Muhammad_Yasser_Jazirahly_WMDE moved T365027: 🌍️ Apply post patch validation for aliases in PATCH item use case from Doing to Peer Review on the Wikibase Reuse Team (Sprint 21) board.
Jun 6 2024, 6:01 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)
Ollie.Shotton_WMDE added a comment to T342990: 🐣 Create an item.

Ahh, right, yes! So what is happening here is that wikidata.org is redirected, via a "301 Moved Permanently" response, to www.wikidata.org. Postman is automatically following this redirect but changing the POST method to a GET method, hence the error you saw. You can see this redirect if you turn off Automatically follow redirects in Postman's settings. This is a client issue and not something we can change in the Wikibase REST API.

Jun 6 2024, 3:34 PM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
gerritbot added a project to T365027: 🌍️ Apply post patch validation for aliases in PATCH item use case: Patch-For-Review.
Jun 6 2024, 2:13 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)
gerritbot added a comment to T365027: 🌍️ Apply post patch validation for aliases in PATCH item use case.

Change #1039733 had a related patch set uploaded (by Muhammad Jaziraly; author: Muhammad Jaziraly):

[mediawiki/extensions/Wikibase@master] REST: Validate aliases in PatchItem use case

https://gerrit.wikimedia.org/r/1039733

Jun 6 2024, 2:13 PM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)
wassan.anmol117 added a comment to T342990: 🐣 Create an item.

Hi @wassan.anmol117,

What version of Postman are you using? Have you tried alternative tools, or something like curl on the command line?

This curl command returns a label-description-same-value error for me (as expected):

curl --request POST \
  --url https://www.wikidata.org/w/rest.php/wikibase/v0/entities/items \
  --header 'Content-Type: application/json' \
  --data '{ "item": { "labels": { "en": "test" }, "descriptions": { "en": "test" } } }'
Jun 6 2024, 12:45 PM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
Ollie.Shotton_WMDE added a comment to T342990: 🐣 Create an item.

What version of Postman are you using? Have you tried alternative tools, or something like curl on the command line?

Jun 6 2024, 11:44 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
wassan.anmol117 added a comment to T342990: 🐣 Create an item.

Yes, I've selected that.

Screenshot 2024-06-06 at 4.17.23 PM.png (1×2 px, 219 KB)

Jun 6 2024, 10:51 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
Ifrahkhanyaree_WMDE added a comment to T342990: 🐣 Create an item.

Hi @wassan.anmol117, it's live on Wikidata since yesterday. Have you explicitly selected the method to be POST when testing it on Postman? I think it needs that even after the body has been defined

Jun 6 2024, 9:57 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
wassan.anmol117 added a comment to T342990: 🐣 Create an item.

@Ollie.Shotton_WMDE @Ifrahkhanyaree_WMDE Did this go live yesterday? I tried testing the API on Postman but it is giving me the following error even after I am sending a POST request:

Jun 6 2024, 9:30 AM · Wikibase Reuse Team (Sprint 21), Story, Wikibase REST API (WPP)
Muhammad_Yasser_Jazirahly_WMDE moved T365027: 🌍️ Apply post patch validation for aliases in PATCH item use case from To Do to Doing on the Wikibase Reuse Team (Sprint 21) board.
Jun 6 2024, 9:26 AM · MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Wikibase Reuse Team (Sprint 22)