Page MenuHomePhabricator

api wbeditentity sitelink already used doesn't tell you a siteid
Closed, ResolvedPublic

Description

Currently when trying to edit and entity and give it a sitelink that is already used on another entity the messages in the error are returned such as below.

[name] => wikibase-error-sitelink-already-used
[type] => error
[parameters] => Array(

 [0] => //de.wikipedia.org/wiki/Sacha_Baron_Cohen
 [1] => Sacha Baron Cohen
 [2] => Q29055
)

This gives the full url, title and entity.
It would make a lot of sense to also have another parameter of the siteid!!!


Version: master
Severity: enhancement

Details

Reference
bz52193

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:58 AM
bzimport set Reference to bz52193.
bzimport added a subscriber: Unknown Object (MLST).
Addshore created this task.Jul 28 2013, 3:22 PM

Change 79194 had a related patch set (by Addshore) published:
(bug 52193) Pass back siteid for conflicting links

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

Change 79194 merged by jenkins-bot:
(bug 52193) Pass back siteid for conflicting links

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