Topic on Talk:Content translation

HTTP 400 error when publishing in translation tool

4
JadeAlas (talkcontribs)

I've been translating the article House of Plantagenet from English to Greek but when I try to publish it I get the following error:

Unknown unrecoverable error has occurred. Error details: Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/el.wikipedia.org/v1/transform/html/to/wikitext/%CE%9F%CE%AF%CE%BA%CE%BF%CF%82_%CF%84%CF%89%CE%BD_%CE%A0%CE%BB%CE%B1%CE%BD%CF%84%CE%B1%CE%B3%CE%B5%CE%BD%CE%B5%CF%84%CF%8E%CE%BD"}


I've been using Chrome, but I also tried Firefox and got the same error.


log:

/w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:144 JQMIGRATE: Migrate is installed with logging active, version 3.1.0

/w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:414 This page is using the deprecated ResourceLoader module "jquery.ui".

Please use OOUI instead.

mw.loader.implement.css @ /w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:414

/w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:144 JQMIGRATE: jQuery.fn.delegate() is deprecated

migrateWarn @ /w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:144

(unknown) This page is using the deprecated ResourceLoader module "jquery.tipsy".

mw.loader.implement.css

(unknown) ext.popups should not even be loaded!

(anonymous)

Special:ContentTranslation?title=Special:ContentTranslation&campaign=contributionsmenu&to=el&page=House+of+Plantagenet&from=en&targettitle=Οίκος+των+Πλανταγενετών:1 The resource https://el.wikipedia.org/static/images/project-logos/elwiki.png was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.

Special:ContentTranslation:575 Uncaught TypeError: Cannot read property 'length' of undefined

    at VeDmCXTransclusionInlineNode.ve.dm.MWTransclusionNode.getPartsList (<anonymous>:575:484)

    at Object.ve.ce.MWTransclusionNode.static.getTemplatePartDescriptions (<anonymous>:577:971)

    at Object.ve.ce.MWTransclusionNode.static.getDescription (<anonymous>:578:377)

    at VeCeCXTransclusionInlineNode.ve.ce.FocusableNode.getInvisibleIconLabel (/w/load.php?lang=el&modules=ext.visualEditor.core&skin=vector&version=1em9f:406)

    at VeCeCXTransclusionInlineNode.ve.ce.FocusableNode.updateInvisibleIconLabel (/w/load.php?lang=el&modules=ext.visualEditor.core&skin=vector&version=1em9f:407)

    at VeCeCXTransclusionInlineNode.ve.ce.FocusableNode.createInvisibleIcon (/w/load.php?lang=el&modules=ext.visualEditor.core&skin=vector&version=1em9f:406)

    at VeCeCXTransclusionInlineNode.ve.ce.FocusableNode.updateInvisibleIconSync (/w/load.php?lang=el&modules=ext.visualEditor.core&skin=vector&version=1em9f:406)

    at /w/load.php?lang=el&modules=ext.visualEditor.core&skin=vector&version=1em9f:406

(unknown) [CX] Publishing failed Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/el.wikipedia.org/v1/transform/html/to/wikitext/%CE%9F%CE%AF%CE%BA%CE%BF%CF%82_%CF%84%CF%89%CE%BD_%CE%A0%CE%BB%CE%B1%CE%BD%CF%84%CE%B1%CE%B3%CE%B5%CE%BD%CE%B5%CF%84%CF%8E%CE%BD"}

mw.cx.TargetArticle.showPublishError

/w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:331 PopupWidget#toggle: Before calling this method, the popup must be attached to the DOM.

OO.ui.warnDeprecation @ /w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:331

2(unknown) [CX] Publishing failed Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/el.wikipedia.org/v1/transform/html/to/wikitext/%CE%9F%CE%AF%CE%BA%CE%BF%CF%82_%CF%84%CF%89%CE%BD_%CE%A0%CE%BB%CE%B1%CE%BD%CF%84%CE%B1%CE%B3%CE%B5%CE%BD%CE%B5%CF%84%CF%8E%CE%BD"}

mw.cx.TargetArticle.showPublishError

/w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:331 PopupWidget#toggle: Before calling this method, the popup must be attached to the DOM.

OO.ui.warnDeprecation @ /w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:331

(unknown) [CX] Publishing failed Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/el.wikipedia.org/v1/transform/html/to/wikitext/%CE%9F%CE%AF%CE%BA%CE%BF%CF%82_%CF%84%CF%89%CE%BD_%CE%A0%CE%BB%CE%B1%CE%BD%CF%84%CE%B1%CE%B3%CE%B5%CE%BD%CE%B5%CF%84%CF%8E%CE%BD"}

mw.cx.TargetArticle.showPublishError

/w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:144 JQMIGRATE: jQuery.fn.offset() requires an element connected to a document

migrateWarn @ /w/load.php?lang=el&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=1nzyo:144

BoldLuis (talkcontribs)

The same for me. The tool is broken:


Se produjo un error desconocido e irrecuperable. Detalles del error: Error converting HTML to wikitext: docserver-http: HTTP 400: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"post","uri":"/es.wikipedia.org/v1/transform/html/to/wikitext/Daigou"}

Eivafx (talkcontribs)

Same here! Did you find a solution? Thanks

JadeAlas (talkcontribs)

I am not sure if it was solved by it self or if it was something I did, but the following day I deleted the citations, notes etc because it looked like they were not copied on the translated text and after that I was able to publish it. Then I went to the published greek page and just copied the parts that I had deleted.

I am not sure if that was the solution or if it was something else, but you could give it a shot...

Reply to "HTTP 400 error when publishing in translation tool"