Page MenuHomePhabricator

interwiki tool in wikipedia doesn't add label to items
Closed, DeclinedPublic

Description

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


Version: unspecified
Severity: enhancement

Details

Reference
bz56410

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:25 AM
bzimport set Reference to bz56410.
bzimport added a subscriber: Unknown Object (MLST).

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?

[replacing wikidata keyword by adding CC - see bug 56417]

(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.

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

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.

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.

I think it would be a lot easier to add labels by default, as I think it was before. In catalan, it seems it is not that way. 99 % of labels will be correct and we'll manage to change the remaining 1% manually.