Page MenuHomePhabricator

Blocked users get multiple errors when translating article - translations are not saved
Open, MediumPublic

Description

Found when checking T209001: Partially Blocked users cannot see entry points for Content Translation (but should!).
I did testing on testwiki (wmf.4) - and non-blocked users do not have such errors.

  1. Block a user (partially or sitewide).
  2. A blocked user logs in and goes to ContentTranslation (vie drop-down menu from Contribution nav link or from Special:Contributions).
  3. The user starts a translation e.g.

(1) en:Rudra ->Tagalog
An error occurred while saving the page. will be persistently displayed - no matter what translation option was selected or whether some text was typed/modified.

The following errors will be displayed:

XML Parsing Error: syntax error
Location: https://cxserver.wikimedia.org/v1/mt/en/es/Yandex
Line Number 1, Column 1:

(2) translating en:Rudra ->español
Unable to fetch machine translation token.

Screen Shot 2018-11-16 at 3.44.38 PM.png (604×967 px, 126 KB)

{P7822}