Page MenuHomePhabricator

Venäjän–Turkin sota (1735–1739) article from fiwiki is not translateable through CX
Closed, ResolvedPublic

Description

Attempting to translate "Venäjän–Turkin sota (1735–1739)" from Finnish (fi) to any language fails. Original report: https://fi.wikipedia.org/wiki/Ven%C3%A4j%C3%A4n%E2%80%93Turkin_sota_(1735%E2%80%931739)

Reason is not known yet and ticket description can be changed when we have more information

Event Timeline

Arrbee created this task.Aug 28 2015, 8:30 AM
Arrbee raised the priority of this task from to Needs Triage.
Arrbee updated the task description. (Show Details)
Arrbee added a project: ContentTranslation.
Arrbee added a subscriber: Arrbee.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 28 2015, 8:30 AM
Amire80 triaged this task as Normal priority.Aug 28 2015, 8:31 AM
Amire80 moved this task from Needs Triage to CX6 on the ContentTranslation board.
Amire80 set Security to None.

Some preliminary findings:

  1. Clicking the first paragraphs and publishing produces the following output in the Parsoid console log:
[info][enwiki/Main Page] started serializing
[error/ref][enwiki/Main Page] extension src id mw-reference-text-cite_note-Aksan-2 points to non-existent element for: <span data-sourceid="cite_ref-Aksan_2-0" about="#mwt5" class="mw-ref" data-mw="{&quot;name&quot;:&quot;ref&quot;,&quot;body&quot;:{&quot;id&quot;:&quot;mw-reference-text-cite_note-Aksan-2&quot;},&quot;attrs&quot;:{&quot;name&quot;:&quot;Aksan&quot;}}" id="cxcite_ref-Aksan_2-0" rel="dc:references" typeof="mw:Extension/ref" contenteditable="false"><a href="#cite_note-Aksan-2" style="counter-reset: mw-Ref 2;"><span class="mw-reflink-text">[2]</span></a></span> . Dropping the extension. More debug info:   [reference #cite_note-Aksan-2 not found]
Stack:
  WikitextSerializer.WSP._buildExtensionWT (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:628:16)
  Object.handle (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:702:30)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
  SerializerState.SSP.serializeChildren (/home/amire80/dev/parsoid/lib/wts.SerializerState.js:177:32)
  Object.TagHandlers.p.handle (/home/amire80/dev/parsoid/lib/wts.TagHandlers.js:750:10)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
[error/ref][enwiki/Main Page] extension src id mw-reference-text-cite_note-Aksan-2 points to non-existent element for: <span data-sourceid="cite_ref-Aksan_2-1" about="#mwt10" class="mw-ref" data-mw="{&quot;name&quot;:&quot;ref&quot;,&quot;attrs&quot;:{&quot;name&quot;:&quot;Aksan&quot;},&quot;body&quot;:{&quot;id&quot;:&quot;mw-reference-text-cite_note-Aksan-2&quot;}}" id="cxcite_ref-Aksan_2-1" rel="dc:references" typeof="mw:Extension/ref" contenteditable="false"><a href="#cite_note-Aksan-2" style="counter-reset: mw-Ref 2;"><span class="mw-reflink-text">[2]</span></a></span> . Dropping the extension. More debug info:   [reference #cite_note-Aksan-2 not found]
Stack:
  WikitextSerializer.WSP._buildExtensionWT (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:628:16)
  Object.handle (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:702:30)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
  SerializerState.SSP.serializeChildren (/home/amire80/dev/parsoid/lib/wts.SerializerState.js:177:32)
  Object.TagHandlers.p.handle (/home/amire80/dev/parsoid/lib/wts.TagHandlers.js:750:10)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
[error/ref][enwiki/Main Page] extension src id mw-reference-text-cite_note-Stone-3 points to non-existent element for: <span data-sourceid="cite_ref-Stone_3-0" about="#mwt11" class="mw-ref" data-mw="{&quot;name&quot;:&quot;ref&quot;,&quot;body&quot;:{&quot;id&quot;:&quot;mw-reference-text-cite_note-Stone-3&quot;},&quot;attrs&quot;:{&quot;name&quot;:&quot;Stone&quot;}}" id="cxcite_ref-Stone_3-0" rel="dc:references" typeof="mw:Extension/ref" contenteditable="false"><a href="#cite_note-Stone-3" style="counter-reset: mw-Ref 3;"><span class="mw-reflink-text">[3]</span></a></span> . Dropping the extension. More debug info:   [reference #cite_note-Stone-3 not found]
Stack:
  WikitextSerializer.WSP._buildExtensionWT (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:628:16)
  Object.handle (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:702:30)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
  SerializerState.SSP.serializeChildren (/home/amire80/dev/parsoid/lib/wts.SerializerState.js:177:32)
  Object.TagHandlers.p.handle (/home/amire80/dev/parsoid/lib/wts.TagHandlers.js:750:10)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
[error/ref][enwiki/Main Page] extension src id mw-reference-text-cite_note-Brill-mahmudI-4 points to non-existent element for: <span data-sourceid="cite_ref-Brill-mahmudI_4-0" about="#mwt13" class="mw-ref" data-mw="{&quot;name&quot;:&quot;ref&quot;,&quot;attrs&quot;:{&quot;name&quot;:&quot;Brill-mahmudI&quot;},&quot;body&quot;:{&quot;id&quot;:&quot;mw-reference-text-cite_note-Brill-mahmudI-4&quot;}}" id="cxcite_ref-Brill-mahmudI_4-0" rel="dc:references" typeof="mw:Extension/ref" contenteditable="false"><a href="#cite_note-Brill-mahmudI-4" style="counter-reset: mw-Ref 4;"><span class="mw-reflink-text">[4]</span></a></span> . Dropping the extension. More debug info:   [reference #cite_note-Brill-mahmudI-4 not found]
Stack:
  WikitextSerializer.WSP._buildExtensionWT (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:628:16)
  Object.handle (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:702:30)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
  SerializerState.SSP.serializeChildren (/home/amire80/dev/parsoid/lib/wts.SerializerState.js:177:32)
  Object.TagHandlers.p.handle (/home/amire80/dev/parsoid/lib/wts.TagHandlers.js:750:10)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
[error/ref][enwiki/Main Page] extension src id mw-reference-text-cite_note-Stone-3 points to non-existent element for: <span data-sourceid="cite_ref-Stone_3-1" about="#mwt15" class="mw-ref" data-mw="{&quot;name&quot;:&quot;ref&quot;,&quot;attrs&quot;:{&quot;name&quot;:&quot;Stone&quot;},&quot;body&quot;:{&quot;id&quot;:&quot;mw-reference-text-cite_note-Stone-3&quot;}}" id="cxcite_ref-Stone_3-1" rel="dc:references" typeof="mw:Extension/ref" contenteditable="false"><a href="#cite_note-Stone-3" style="counter-reset: mw-Ref 3;"><span class="mw-reflink-text">[3]</span></a></span> . Dropping the extension. More debug info:   [reference #cite_note-Stone-3 not found]
Stack:
  WikitextSerializer.WSP._buildExtensionWT (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:628:16)
  Object.handle (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:702:30)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
  SerializerState.SSP.serializeChildren (/home/amire80/dev/parsoid/lib/wts.SerializerState.js:177:32)
  Object.TagHandlers.p.handle (/home/amire80/dev/parsoid/lib/wts.TagHandlers.js:750:10)
  WikitextSerializer.WSP._serializeNode (/home/amire80/dev/parsoid/lib/mediawiki.WikitextSerializer.js:1097:30)
[info][enwiki/Main Page] completed serializing in 1063 ms

It's quite easy to see that references are causing the problem, but it's hard to see which ones exactly.

  1. Removing all the references from the translation allows publishing.
  1. If a reference is re-used several times in the page, removing one instance from the translation leaves the reference numbers for the other instances in the translation column, but clicking them does nothing.

On my local installation, I can publish this if I have this Parsoid change: https://gerrit.wikimedia.org/r/#/c/234333/

Although if I use an older version, I get a 500 error on my local system, not 503.

Amire80 closed this task as Resolved.Sep 4 2015, 10:24 AM
Amire80 claimed this task.

OK, this now works in production after Parsoid fixes, and the article can be published, although some references will not be published. That's a separate Parsoid issue.