Page MenuHomePhabricator

Mobile translation editor: Error when trying to edit translation for pages not connected to Wikidata
Open, Needs TriagePublicBUG REPORT

Description

When attempting to translate a page on mobile that is not connected to Wikidata —most commonly recently created pages-, an error is thrown as soon as the user opens the VE to edit the proposed translation.

This causes Cannot read properties of undefined (reading 'getTitleForLanguage') errors in Logstash (T410363).

Steps to reproduce:

  1. Open a page that is not connected to Wikidata (example below) in "Pick a sentence" step
  2. Click to edit the proposed translation for a given segment (e.g. page title)

Expected result:
The VE opens normally, allowing the user to edit the translation.

Actual result:
An error is thrown immediately when opening the VisualEditor.

Example page (as of 22 Apr 2026):
https://tr.wikipedia.org/wiki/%C4%B0brahim_Bey

Screencast (production en wiki):