Page MenuHomePhabricator

🐐️ Make GetStatement work with statements on properties
Closed, ResolvedPublic

Description

  • allow property IDs in the validator
  • modify GetStatementTest.php and GetStatementValidatorTest.php to contain tests for properties also.

Event Timeline

Change 931953 had a related patch set uploaded (by Norman Schwirz; author: Norman Schwirz):

[mediawiki/extensions/Wikibase@master] REST: Make GetStatement more generic

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

Change 935411 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):

[mediawiki/extensions/Wikibase@master] REST: Fix subject agnostic `GetStatement` edge cases

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

Change 931953 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Make `GetStatement` subject agnostic

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

Change 935411 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Fix `GetStatement` edge cases

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

Change 936773 had a related patch set uploaded (by Ollie Shotton; author: Ollie Shotton):

[mediawiki/extensions/Wikibase@master] REST: Refactor `RequestedSubjectIdValidator`

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

Change 936773 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Refactor `RequestedSubjectIdValidator`

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