Page MenuHomePhabricator

Page selector in CX says article does not exist for existing articles in no.wikipedia.org
Closed, ResolvedPublic

Description

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

  • Go to https://no.wikipedia.org/wiki/Spesial:Innholdsoversettelse.
  • Click on the blue button to start a translation.
  • With source language as en, In the search box, type "Wikipedia". Observe that the search results says "Wikipedia" does not exist in norsk (bokmål)". (this is wrong)
  • Select the Wikipedia entry. Now see the warning saying "Wikipedia already exist in norsk (bokmål)" (this is correct)

This confusion is because of not using correct domain code for APIs to query for existing articles.

Event Timeline

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

[mediawiki/extensions/ContentTranslation@master] Page selector: Use correct domain code for API parameter

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

santhosh changed the task status from Open to In Progress.Nov 8 2022, 9:33 AM
santhosh claimed this task.
santhosh triaged this task as Medium priority.

Change 854474 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Page selector: Use correct domain code for API parameter

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