Page MenuHomePhabricator

🍦 Validate sitelink title existence
Closed, ResolvedPublic

Description

Check if the sitelink's title provided in the request exists on the given site. If not, the response should have HTTP status code 400 with this body:

{"code": "title-does-not-exist", "message": "Page with title {title} does not exist on a given site" }

Event Timeline

Change 1004189 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Validate sitelink existence in PUT sitelink

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

Change 1004189 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Validate sitelink existence in PUT sitelink

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