Topic on Talk:Content translation

Cannot publish translation

6
Rowanwindwhistler (talkcontribs)
Hans Haase (talkcontribs)

Try to publish as personal draft, using the gear-button. Does the target article already exist?

Rowanwindwhistler (talkcontribs)

Thank you for the tip, unfortunately, the result is the same: the article does not get published. It does not already exist in the destination (Spanish) wikipedia, I am translating it to have a basis to work on with additional sources. The symptom is a bit awkward: I do not see any error messages, the article just stays "Publicando" (Publishing). I mention it just in case it may be a known issue...

When opening the console, I have just seen the following error shows up when clicking the Publish button:

TypeError: string is undefined[Learn More] load.php:2419:192

mw.cx.TranslationTracker.static.tokenise https://es.wikipedia.org/w/load.php:2419:192 mw.cx.TranslationTracker.prototype.getUnmodifiedMTPercentageInTranslation/< https://es.wikipedia.org/w/load.php:2428:877 forEach self-hosted:261:13 mw.cx.TranslationTracker.prototype.getUnmodifiedMTPercentageInTranslation https://es.wikipedia.org/w/load.php:2428:744 mw.cx.TranslationController.prototype.checkForMTAbuse https://es.wikipedia.org/w/load.php:2416:791 mw.cx.TranslationController.prototype.publish https://es.wikipedia.org/w/load.php:2413:178 oo.EventEmitter.prototype.emit https://es.wikipedia.org/w/load.php:286:479 ve.init.mw.CXTarget.prototype.onPublishButtonClick https://es.wikipedia.org/w/load.php:2554:456 ve.ui.CXPublishTool.prototype.onSelect https://es.wikipedia.org/w/load.php:2564:462 OO.ui.ToolGroup.prototype.onMouseKeyUp https://es.wikipedia.org/w/load.php:472:556 OO.ui.ToolGroup.prototype.onDocumentMouseKeyUp https://es.wikipedia.org/w/load.php:472:299 <anonymous> self-hosted:977:17

Does it sound familiar at all?

Andrei Stroe (talkcontribs)

The same thing is happening to me, too. Yesterday I published several translations, but today, translating "Lorentz covariance" from en.wp to ro.wp hangs. The stacktrace in my console reads:

TypeError: string is undefined[Learn More] load.php:2206:192

   jQuery 2

   forEach self-hosted:262

   jQuery 8

   <anonymous> self-hosted:975

Sandstein (talkcontribs)

I have a similar problem when translating from EN to DE (https://de.wikipedia.org/w/index.php?title=Spezial:Inhalts%C3%BCbersetzung&page=Spaced+repetition&from=en&to=de&targettitle=Spaced+repetition). When clicking on "Publish", the interface displays "Publishing...", but nothing happens even after several minutes, and the article is not saved to Wikipedia. This also happens when selecting a personal draft as the target. I'm not getting an error messge. I'm using an up-to-date Google Chrome browser on Windows.

William Surya Permana (talkcontribs)

I have this problem too, and already reported in Phabricator.

Reply to "Cannot publish translation"