Last modified: 2014-09-25 16:37:50 UTC
Created attachment 12806 [details] Screenshot 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. So, I wanted to find out which message was that, by appending "uselang=qqx" to the URL, and it didn't work (the message I wanted to know the name was the only one for which I didn't get the name). See also bug 46113.
This is due to the html for the error being provided by the API. Therefore the UI is not actually aware of the i18n details for the error message.
Sounds like the api call needs a extra 'uselang' param to avoid getting the help text in the content or user language.
I tried this again and it now shows "(wikibase-linkitem-alreadylinked)". Was the message "wikibase-error-sitelink-already-used" deleted?