Page MenuHomePhabricator

Connect articles created with Section Translation with equivalent versions in Wikidata
Closed, ResolvedPublic

Description

When an article is created in the main namespace using Section Translation it should be connected to the other language versions for such topic in Wikidata. In this way, users can find that the new article exist by navigating through the language links.

Looking at recent translations with Section Translation in Hausa Wikipedia, I found two interesting instances that we may want to support better:

  • The Acacia koa article in Hausa was created as a translation of this English article (available in 15 languages). However, the Hausa article is not listed in Wikidata. This makes the list of interlanguage links for the Hausa article to be empty, and "Hausa" not appearing in the language selector for the English version for people to discover it.
  • The Kwalejin Ilimi ta Jihar Neja article was created in Hausa using Section Translation from the English version which was not available in any other language and it seems that it had no item associated with it either in Wikidata. The final result is two disconnected articles.

In the same way that Content Translation connects new articles (when published in the main namespace) trough Wikidata (T87410), we want to do the same when the articles are created with Section Translation.

Event Timeline

Pginer-WMF created this task.
Pginer-WMF raised the priority of this task from Medium to High.Oct 29 2021, 11:35 AM

Change 736220 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] WIP: Link articles created by SX in wikidata

https://gerrit.wikimedia.org/r/736220

Change 736220 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Link articles created by SX in wikidata

https://gerrit.wikimedia.org/r/736220

Change 737354 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211108

https://gerrit.wikimedia.org/r/737354

Change 737354 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.1.0+20211108

https://gerrit.wikimedia.org/r/737354

Etonkovidova added a subscriber: Etonkovidova.

Checked for wmf.12
(1) ha: Acacia koa is interlinked with other wikis and en: Acacia koa article lists Hausa in the list of inter language links. The wikidata item for Acacia koa lists ha: Acacia koa article.

(2) I checked few cases of articles on hawiki that were translated with SectionTranslation - all of them were interlinked and have wikidata item updated, so the scope of the tasks is done.


However, the second case in the task description presents a different problem - how redirection cases should be handled?

The Kwalejin Ilimi ta Jihar Neja article was created in Hausa using Section Translation from the English version which was not available in any other language and it seems that it had no item associated with it either in Wikidata. The final result is two disconnected articles.

ha: Kwalejin Ilimi ta Jihar Neja article was created by using Section Translation from en: Niger State College of Education. Recently, en: Niger State College of Education article was redirected to en: Usmanu Danfodiyo University with #REDIRECT [[Usmanu Danfodiyo University]] (diif link).

In Wikidata, Niger State College of Education (Q102228399) or Niger State College of Education (Q108444085) do not lave associated wikipedia articles.
The wikidata item Uthman dan Fodiyo University (Q7902729) lists ha: Jami'ar Usmanu Danfodiyo. So the article ha: Kwalejin Ilimi ta Jihar Neja article has no wikidata item associated with it.

Checked for wmf.12

Thanks for the review, @Etonkovidova. I'll mark this as resolved and we'll check for other edge cases in separate tickets if needed.