Page MenuHomePhabricator

ContentTranslation doesn't know that an article already exists in the Norwegian Bokmål Wikipedia
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:

  • Many/most of the top suggestions already have articles in Norwegian Bokmål
  • Some examples from just now: World War I, Joseph Stalin, Elizabeth I, Georgia (country)

What should have happened instead?:

  • It should not suggest articles that already exist in the Norwegian Bokmål Wikipedia.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.: MediaWiki 1.39.0-wmf.7 (800f261), ContentTranslation 670863b


This is most likely yet another iteration of our no/nb problems. The Norwegian Bokmål Wikipedia is located at https://no.wikipedia.org/ and has the database name nowiki, but its language code is (correctly) set to nb. So what I guess CX is doing is to check whether an article exists in nbwiki on Wikidata, while in fact it should check whether the article exists in nowiki.

Event Timeline

Pginer-WMF triaged this task as Medium priority.Jun 6 2022, 11:47 AM

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

[mediawiki/extensions/ContentTranslation@master] nowiki: Use the 'no' domain code for getting translation suggestions

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

Change 854473 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] nowiki: Use the 'no' domain code for getting translation suggestions

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