Last modified: 2013-05-27 13:15:30 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 T49866, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47866 - Wikipedia shows "add links" when a Wikidata item already exists
Wikipedia shows "add links" when a Wikidata item already exists
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-30 10:43 UTC by Maarten Dammers
Modified: 2013-05-27 13:15 UTC (History)
4 users (show)

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


Attachments

Description Maarten Dammers 2013-04-30 10:43:08 UTC
With the recent interface change all Wikipedia articles without a wikidata item got "Add links" in the sidebar. With that change a very annoying bug got introduced: If the item only exists in one language the Wikidata interface on Wikipedia will still show "Add links".

Take for example https://nl.wikipedia.org/wiki/Jelle_Brandt_Corstius , it exists at https://www.wikidata.org/wiki/Q2519431. So you try to add a link and it will complain an object already exists. It's also impossible to navigate to the item at Wikidata to add claims.
Comment 1 TMg 2013-05-11 07:58:22 UTC
I'm sorry but this is not a bug. If you are in the article [[nlwiki:Jelle Brandt Corstius]] it does not make much sense to add a link to [[nlwiki:Jelle Brandt Corstius]]. You are already there.

Maybe you are confused by the wrong error message that is shown when you try this. See bug 47949 for this.

I think the most important problem in your report is your last sentence ("it's impossible to navigate to the item at Wikidata to add claims"). We discussed this in the German Wikipedia and came to the conclusion that some kind of "Go to Wikidata" link must be shown in the toolbar on the left side of the screen, next to "Page information".

http://de.wikipedia.org/wiki/Wikipedia:Projektdiskussion/Wikidata#Bearbeiten-Knopf_erscheint_nicht_trotz_Eintrag

I suggest to change your report accordingly. But I'm not sure if it's a duplicate.
Comment 2 Maarten Dammers 2013-05-11 15:23:58 UTC
Dear TMG, this is a bug. It even got a number, look in the url, you'll see "47866"

Take for example https://nl.wikipedia.org/wiki/Categorie:Letterontwerper_naar_nationaliteit . It already exists on Wikidata as https://www.wikidata.org/wiki/Q9046035, but i get "add links". So I click that and enter "en" + "Category:Typographers by nationality" to link it with https://en.wikipedia.org/wiki/Category:Typographers_by_nationality 

I get:
"
An unexpected error occurred.
Details
Site link [[nlwiki:Categorie:Letterontwerper naar nationaliteit]] already used by item [[Q9046035]]."

So it's impossible for me as a user to link these pages. What should happen:
* No item exists, the interface should show "add links" so you can link it to another language and create the item in the process
* An item exists, the interface should show "edit links" so you can add link to to another language version of an article
Comment 3 TMg 2013-05-12 21:16:13 UTC
It's like I said. You are confused because the error message is wrong. This is a bug. But because of an other reason than you think.

https://nl.wikipedia.org/wiki/Categorie:Letterontwerper_naar_nationaliteit
is in the Wikidata item
http://www.wikidata.org/wiki/Q9046035

https://en.wikipedia.org/wiki/Category:Typographers_by_nationality
is in the Wikidata item
http://www.wikidata.org/wiki/Q8878108

It's not possible to add the link [[enwiki:Category:Typographers by nationality]] to a second Wikidata item.
Comment 4 Liangent 2013-05-13 05:18:30 UTC
(In reply to comment #3)
> It's like I said. You are confused because the error message is wrong. This
> is
> a bug. But because of an other reason than you think.
> 
> https://nl.wikipedia.org/wiki/Categorie:Letterontwerper_naar_nationaliteit
> is in the Wikidata item
> http://www.wikidata.org/wiki/Q9046035
> 
> https://en.wikipedia.org/wiki/Category:Typographers_by_nationality
> is in the Wikidata item
> http://www.wikidata.org/wiki/Q8878108
> 
> It's not possible to add the link [[enwiki:Category:Typographers by
> nationality]] to a second Wikidata item.

This seems another issue. I tried to remove [[enwiki:Category:Typographers by nationality]] from Q8878108, then link to it on https://nl.wikipedia.org/wiki/Categorie:Letterontwerper_naar_nationaliteit but it still failed.
Comment 5 TMg 2013-05-13 09:47:57 UTC
(In reply to comment #4)
> I tried to remove [[enwiki:Category:Typographers by nationality]]
> from Q8878108, then link to it on
> https://nl.wikipedia.org/wiki/Categorie:Letterontwerper_naar_nationaliteit
> but it still failed.

I can do this with no problem. Remove the link in one item and add it to the other item. Please note that you should keep the smaller Wikidata number in most cases.

http://www.wikidata.org/wiki/Q9046035 is empty.
http://www.wikidata.org/wiki/Q8878108 contains both links.

Note: If I use the interface at wikidata.org (instead of the popup window in the Wikipedia) the wrong error message I was talking about is correct.
Comment 6 Liangent 2013-05-13 10:43:27 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I tried to remove [[enwiki:Category:Typographers by nationality]]
> > from Q8878108, then link to it on
> > https://nl.wikipedia.org/wiki/Categorie:Letterontwerper_naar_nationaliteit
> > but it still failed.
> 
> I can do this with no problem.

How did you achieve this? I was trying it from the "add link" dialog on Wikipedia.
Comment 7 Erik J 2013-05-25 23:05:31 UTC
Is this going anywhere, isn't it a pretty critical bug?  Maybe change the title of this bug to "Impossible to add interwiki links if the article has none".

I've tried it with
 sv:Ferropolis
 sv:Skovelhjulsgrävmaskin + en:Bucket-wheel excavator 


http://sv.wikipedia.org/wiki/Skovelhjulsgr%C3%A4vmaskin
http://sv.wikipedia.org/wiki/Ferropolis
Comment 8 TMg 2013-05-26 10:43:27 UTC
(In reply to comment #7)
> Is this going anywhere

Obviously it is not. I think we are all talking about different issues which makes this report pretty much invalid. Currently it's not clear what this report is about. Liangent says he is unable to remove a link from a Wikidata item. I can not reproduce this. I had no problem resolving his example.

The title is about the "Add links" interface element that for some reason should not be shown if an Wikidata item already exists. This does not make sense because "Add links" is to add links to existing Wikidata items and not to create new Wikidata items.

Erik J is talking about an other issue. I do not see a problem in his example.

I'm sorry to close this but I really think it's better to discuss this on a discussion page at Wikidata.
Comment 9 Erik J 2013-05-26 16:13:31 UTC
Listen I don't know if you are a developer of wikidata and wikipedia integration. I you close this bug I hope you are going to open two new ones. I'll open a new one right now.
Comment 10 Andre Klapper 2013-05-27 13:15:30 UTC
(In reply to comment #9)
> I'll open a new one right now.

For the records: bug 48842

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


Navigation
Links