Page MenuHomePhabricator

CX2: Adding a link to a non-existent article, shows the link as blue instead of red in the translation interface
Open, NormalPublic

Description

To reproduce:

  1. Translate using CX2.
  2. Highlight some text in the the translation column that is not a title of an article in the target wiki.
  3. Click the Link button in the toolbar. A link inspector will be shown, with the selected text in red, as expected.
  4. Add a link.

Observed: The link is shown as a blue link.

Expected: The link should be red. In addition, the associated link card should display the information in the same way as it is done for red links created from unadapted links (T193233), which shows the "this page does not exists yet" message.

The current problem is illustrated below:

The expected red link card:


This is kind of similar to T39901, but I'm not sure at all that it's actually related.

Event Timeline

Amire80 created this task.Nov 12 2018, 1:13 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 12 2018, 1:13 PM
Pginer-WMF triaged this task as Normal priority.Nov 23 2018, 12:46 PM
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.

One additional detail from the duplicate ticket T219686:

Restoring such link also displays it in blue, just with VE's native link context item - T217538.