Currently clicking on the source links shows a card (T197075), but the action provided in the card ("view") is useless (shows a read-only search mode to change the link, which makes no sense) and does not allow users to add such link to the translation in any easy way:
This ticket proposes to replace the "View" action with an "Add" action that allows the user to add to the translation a link to the equivalent page in the target wiki. Allowing users to add such link to the translation is important to make the experience more fluent as captured in this comment: "I can't quickly put the link to another wiki page by clicking the necessary word at the left side ".
- Clicking on "Add" will add a link in the translation.
- The added link will have as target the equivalent page in the target wiki, and use that page title as the label too.
- The link will be added where the text cursor or selection was in the translation just before the user selected the link. If it is not possible to determine, it is ok to add the link at the end of the translation paragraph for the user to move to the right place.
When the article does not exist on the target wiki
In the case where there is not an equivalent article, a card with the option to add a red link will be shown. The card is similar to T193233 but with two differences: (a) there is no delete button (i.e., trash icon), and (b) the label for the action for the button is "Add as missing".