Last modified: 2014-09-25 16:37:50 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 T53059, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51059 - URL parameter uselang=qqx do not work for message "wikibase-error-sitelink-already-used"
URL parameter uselang=qqx do not work for message "wikibase-error-sitelink-al...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Wikidata bugs
https://pt.wikipedia.org/wiki/Divis%C...
: i18n, testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-09 19:00 UTC by Helder
Modified: 2014-09-25 16:37 UTC (History)
4 users (show)

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


Attachments
Screenshot (21.40 KB, image/png)
2013-07-09 19:00 UTC, Helder
Details

Description Helder 2013-07-09 19:00:49 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.
Comment 1 Addshore 2013-08-13 10:46:02 UTC
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.
Comment 2 db [inactive,noenotif] 2013-11-03 19:49:05 UTC
Sounds like the api call needs a extra 'uselang' param to avoid getting the help text in the content or user language.
Comment 3 Helder 2014-09-25 16:37:50 UTC
I tried this again and it now shows "(wikibase-linkitem-alreadylinked)".

Was the message "wikibase-error-sitelink-already-used" deleted?

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


Navigation
Links