Page MenuHomePhabricator

New translations from Norwegian Wikipedia (nowiki) are not connected to Wikidata
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Translate and publish an article from Norwegian Wikipedia.

What happens?:
The new page is not automatically connected via Wikidata.

What should have happened instead?:
The new page is automatically connected via Wikidata.

Other information (browser name/version, screenshots, etc.):

Original report: https://cs.wikipedia.org/wiki/Wikipedie:Pod_l%C3%ADpou_(technika)#c-Svajcr-20240413070100-P%C5%99eklad_z_norsk%C3%A9_wiki.
The user translated some Norwegian articles, but they all had to be connected manually (example).

See also: T133719: Content translation sometimes fails to add a sitelink for new articles

Event Timeline

More evidence: there is no recent connection to nowiki in Wikidata.

MariaDB [wikidatawiki_p]> SELECT rc_timestamp, rc_title, comment_text FROM recentchanges JOIN actor_recentchanges ON actor_id = rc_actor JOIN comment_recentchanges ON comment_id = rc_comment_id WHERE rc_type = 0 AND rc_bot = 0 AND rc_namespace = 0 AND rc_patrolled IN (0,1,2) AND rc_new = 0 AND actor_user IS NOT NULL AND comment_text LIKE '%wblinktitles-connect%' AND comment_text LIKE '%nowiki:%';
Empty set (2 min 22.612 sec)

My hypothesis is the bug could be related to the "no vs. nb" disparity.

Change #1052907 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX: Fix "wblinktitles" request to use domain codes instead of languages

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

Change #1052908 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX: Fix "wblinktitles" request to use domain codes instead of languages

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

Change #1052907 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX: Fix "wblinktitles" request to use domain codes instead of languages

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

Change #1052908 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Fix "wblinktitles" request to use domain codes instead of languages

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

Change #1054272 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20240715

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

Change #1054272 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20240715

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

The articles are now properly linked to Wikidata, soon after the article publishing, as indicated in the screencast from the production no wiki, below:

The screencast only tests the desktop CX, but we trust that the issue is also fixed on mobile as the exactly same fix has been deployed there, too.
I think the task can be closed as done.