Last modified: 2013-11-25 23:14:43 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 T58410, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56410 - interwiki tool in wikipedia doesn't add label to items
interwiki tool in wikipedia doesn't add label to items
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Wikidata bugs
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-31 07:33 UTC by reza1615
Modified: 2013-11-25 23:14 UTC (History)
4 users (show)

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


Attachments

Description reza1615 2013-10-31 07:33:07 UTC
interwiki tool in wikipedia doesn't add label to items.
I added a fa.wiki's link to wikidata by interwiki tool which is in left side toolbar but it doesn't add label to the item and only adds links!

like :https://www.wikidata.org/w/index.php?title=Q3640027&diff=prev&oldid=82878886
Comment 1 Lydia Pintscher 2013-10-31 10:48:49 UTC
Yes this is intentional as the name of the Wikipedia article is not always (often?) the same as what should be in the label.

Can someone get some statistics about how often the label is currently different from the name of the linked article?
Comment 2 Andre Klapper 2013-10-31 12:14:57 UTC
[replacing wikidata keyword by adding CC - see bug 56417]
Comment 3 Raimond Spekking 2013-10-31 14:50:39 UTC
(In reply to comment #1)
> Yes this is intentional as the name of the Wikipedia article is not always
> (often?) the same as what should be in the label.
> 
> Can someone get some statistics about how often the label is currently
> different from the name of the linked article?

I am not convinced that it the right way to not add the label. Now bots are running and add labels: https://www.wikidata.org/w/index.php?title=Q4271952&curid=4082864&diff=82905903&oldid=81678440

Not better (or worser) than adding the label directly.

Why not ask the user while adding the interwiki and make a suggestion for the label.
Comment 4 reza1615 2013-11-01 07:12:27 UTC
Now https://www.wikidata.org/wiki/MediaWiki:Gadget-slurpInterwiki.js
generate the labels automatically or 
https://www.wikidata.org/wiki/User:Reza1615/BOT/new_interwiki.py
do the same.
In my opinion the JS tool should ask user the label as a optional request if they didn't fill it should generate it like MediaWiki:Gadget-slurpInterwiki.js
Comment 5 Lydia Pintscher 2013-11-05 15:07:19 UTC
Ok I would be fine with offering the user a text field where they can enter it. Maybe even prefill it with the title of the article.
Comment 6 Marius Hoch 2013-11-25 23:13:55 UTC
After some discussion with Lydia we decided to stick with setting labels on item creations for now, but we wont add any more label handling logic to the linkItem widget.
This is because the assumption that the label equals the sitelink title isn't one the software should do (at least not per default). Also asking the user is no option as that would both make the widget way harder to handle for casual users who don't even know what Wikidata isand it would make the linkItem code much more complicated.

See also bug 57564 which is about proper label fallbacks.

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


Navigation
Links