Page MenuHomePhabricator

Prefix "d:" is missing in the link of the message "wikibase-error-sitelink-already-used"
Closed, ResolvedPublic

Description

+++ This bug was initially created as a clone of Bug #51059 +++

When I tried to add a link to an existing item in the page above, I got the error
<p>Link do site <a class="external text" href="//en.wikipedia.org/wiki/Relational_algebra">Relational algebra</a> já utilizado pelo item com o ID <a href="/wiki/Q840540" title="Q840540">Q840540</a>.
</p>
which has a link to Portuguese Wikipedia instead of Wikidata.


Version: unspecified
Severity: normal
URL: https://pt.wikipedia.org/wiki/Divis%C3%A3o_(%C3%A1lgebra_relacional)

Details

Reference
bz51060

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:05 AM
bzimport set Reference to bz51060.
bzimport added a subscriber: Unknown Object (MLST).

This is not a native i18n issue and pointing on a missing "d:" is a bit misleading since that refers to the Wikipedia/Wikidata specific use case.

The error message is produced in the repository's ItemContent::addSiteLinkConflicts and is fed by SiteLinkTable::getConflictsForItem. It seems there is no concept implemented that the the error message might get triggered on the client (in addition to getting triggered on the repo).
(Apart from that, the error's occurrence might be rather theoretical since a merge is performed as of change https://gerrit.wikimedia.org/r/#/c/94795/.)
Anyway, this is not a front-end issue as the bug implies.