Last modified: 2014-10-30 15:32:36 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 T73751, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71751 - Missing text for interwiki link error message: "Error $1"
Missing text for interwiki link error message: "Error $1"
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=0
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-07 17:51 UTC by Huon
Modified: 2014-10-30 15:32 UTC (History)
6 users (show)

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


Attachments
The Screenshot as a PNG File (420.48 KB, image/png)
2014-10-07 17:59 UTC, Shlomi Fish
Details

Description Huon 2014-10-07 17:51:46 UTC
A user reported this bug on the #wikipedia-en-help IRC channel: When trying to link a Hebrew article to an English article it's already linked to, the upcomming error message says, "Error $1". Screencap: http://www.shlomifish.org/Files/files/images/he.wikip-error-dollar1.png

Possibly he tried to use the "add links" link that appears on articles without a Wikidata item twice in a row and the error occurred when using that link to add a Wikidata item to an article that already has one.
Comment 1 Shlomi Fish 2014-10-07 17:59:29 UTC
Created attachment 16694 [details]
The Screenshot as a PNG File

This is the screenshot as a PNG file. Note! The firefox persona contains two photos of a scantily clad woman so it may be not-safe-for-work (NSFW) - no nudity though.
Comment 2 Andre Klapper 2014-10-07 18:34:03 UTC
Thanks for taking the time to report this!

How to exactly performing this linking? 
Exact steps to reproduce are welcome.
Comment 3 Huon 2014-10-07 21:28:12 UTC
I haven't done it myself (and wouldn't want to do it since that would result in the creation of Wikidata items I can't get rid of again), but I assume the procedure was as follows:

1. Find a Hebrew article without a Wikidata item and a foreign-language article you want to link it to.
2. Open the Hebrew equivalent of the "Add links" link in the right sidebar of the Hebrew article *twice*.
3. Use one of the pop-up windows to link the two articles via Wikidata.
4. Use the second pop-up window and attempt to do the same again.

That should result in an error message because it attempts to create an already-existing Wikidata item, and I would assume that error message has a problem.
Comment 4 Henning 2014-10-30 15:32:36 UTC
Trying to link a page twice results in a proper notification. That appears not to have caused the error.

However, scanning through the client modules, I indeed discovered a message that was not added as dependency in the corresponding ResourceLoader module. Having added the dependency should fix the problem of the missing message.

For the actual error, I am afraid the message would not be very helpful as it is a generic error message. If the error occurs again, the contents of the "details" section that may be unfolded in the tooltip bubble would be helpful. Feel free to file another bug report then.

https://gerrit.wikimedia.org/r/#/c/170047/

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


Navigation
Links