Last modified: 2014-08-17 22:43:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54193, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52193 - api wbeditentity sitelink already used doesn't tell you a siteid
api wbeditentity sitelink already used doesn't tell you a siteid
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Normal enhancement (vote)
: ---
Assigned To: Wikidata bugs
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-28 15:22 UTC by Addshore
Modified: 2014-08-17 22:43 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Addshore 2013-07-28 15:22:07 UTC
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!!!
Comment 1 Gerrit Notification Bot 2013-08-15 10:26:08 UTC
Change 79194 had a related patch set (by Addshore) published:
(bug 52193) Pass back siteid for conflicting links

https://gerrit.wikimedia.org/r/79194
Comment 2 Gerrit Notification Bot 2013-08-15 12:05:03 UTC
Change 79194 merged by jenkins-bot:
(bug 52193) Pass back siteid for conflicting links

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links