Page MenuHomePhabricator

ContentTranslation changes the interwikilinks if the articles exist previously
Closed, DeclinedPublic

Description

Based on the user's complaint in Arabic Wikipedia, I decided to open this ticket.

Details
If you try to create already existing article with Content Translation, it gives you a notification that the page already exists. Then, you click "Start translation", then publish, then you'll notice that the interwikilinks in Wikidata changed automatically from the already existing article to the new one.

For example:

  • Arthrobacter article already exists in enwiki since 25 Feb 2002.
  • I opened the Content Translation tool, and I chose that I want to translate the Arabic version of this article to English.
  • The tool gives me a notification in yellow "The page already exists in English"
  • I started the translation
  • I wrote anything, then I clicked publish.
  • New empty article created by Content Translation tool
  • The interwikilinks in Wikidata changed automatically to the new one.

(To fix what I did, I made the new article as redirect in enwiki and undid the change in Wikidata)

Event Timeline

Amire80 subscribed.

Thanks for the report.

As far as Content Translation functionality goes, I don't understand why is this a problem. That's the whole point of showing a notification that the article exists already. Content Translation automatically adds a Wikidata sitelink to a newly translated article. If a good article already exists in the target wiki, then a new translation shouldn't be published. (Publishing an empty translation is also not a good idea.)

All that said, I'm a bit surprised that the Wikibase code just changed the interlanguage link. I'd expect wb.PageConnector() not to replace the link silently by default.

Hello @alanajjar,
I have made slight corrections to the structure of your report and fixed some typos.

Please verify that what I changed is correct :)

Please verify that what I changed is correct :)

Hello @Petar.petkovic Thanks for correcting, I appreciate that :)

If a good article already exists in the target wiki, then a new translation shouldn't be published. (Publishing an empty translation is also not a good idea.)

Thanks @Amire80
That's exactly what I want to convey!

Well, sometimes it is useful to publish a translation even when such an article already exists, so Content Translation is not blocking it completely, but we do show a warning and let the user decide.

Well, sometimes it is useful to publish a translation even when such an article already exists, so Content Translation is not blocking it completely, but we do show a warning and let the user decide.

Of course it's good to let the user decide, but it shouldn't change the interwikilinks in Wikidata automatically from the already existing article to the new one.

Pginer-WMF subscribed.

With Section Translation and the new dashboard it will be possible to contribute to new articles by expanding them with their missing sections. So the scenario of replacing all contents of an article will become less frequent. In any case, the described behaviour seems expected. When there is a mistake to be undone it will propagate to Wikidata, but we expect most of the time people will be doing their actions as intended and not updating Wikidata will represent an unexpected inconsistency and require additional work for these users.

I'm proposing to decline the task, and observe whether there are similar issues with the new workflows supported for Section Translation.