In CX2, Apertium MT often fails when running cxserver locally with:
TitleError: title-invalid-characters at _checkLegalTitleCharacters (/home/nike/stuff/mw/cxserver/node_modules/mediawiki-title/lib/index.js:253:15) at Function.Title.newFromText (/home/nike/stuff/mw/cxserver/node_modules/mediawiki-title/lib/index.js:402:5) at TitlePairRequest.<anonymous> (/home/nike/stuff/mw/cxserver/lib/mw/ApiRequest.js:263:19) at Generator.next (<anonymous>) at resume (/home/nike/stuff/mw/cxserver/lib/util.js:277:21) at resumeNext (/home/nike/stuff/mw/cxserver/lib/util.js:287:26) at <anonymous>
Here is one example of request data that fails:
html:<section id="cxTargetSection6"><p id="mwHQ"><span data-segmentid="31" class="cx-segment">The first fatal aviation accident was the crash of a <a href="./Rozière_balloon" rel="mw:WikiLink" data-linkid="32" class="cx-link" id="mwHg" title="Rozière balloon">Rozière balloon</a> near <a href="./Wimereux" rel="mw:WikiLink" data-linkid="33" class="cx-link" id="mwHw" title="Wimereux">Wimereux</a>, France, on June 15, 1785, killing its inventor <a href="./Jean-François_Pilâtre_de_Rozier" rel="mw:WikiLink" data-linkid="34" class="cx-link" id="mwIA" title="Jean-François Pilâtre de Rozier">Jean-François Pilâtre de Rozier</a> as well as the other occupant, Pierre Romain.<sup about="#mwt13" class="mw-ref" data-mw="{"name":"ref","body":{"id":"mw-reference-text-cite_note-3"},"attrs":{}}" id="cite_ref-3" rel="dc:references" typeof="mw:Extension/ref"><a href="Aviation%20accidents%20and%20incidents#cite%20note-3" rel="mw:WikiLink" style="counter-reset: mw-Ref 3;"><span class="mw-reflink-text">[3]</span></a></sup> </span><span data-segmentid="35" class="cx-segment">The first involving a powered aircraft was the crash of a <a href="./Wright_Model_A" rel="mw:WikiLink" data-linkid="36" class="cx-link" id="mwIQ" title="Wright Model A">Wright Model A</a> aircraft at <a href="./Fort_Myer" rel="mw:WikiLink" data-linkid="37" class="cx-link" id="mwIg" title="Fort Myer">Fort Myer, Virginia</a>, in the United States on September 17, 1908, injuring its co-inventor and pilot, <a href="./Orville_Wright" rel="mw:WikiLink" data-linkid="38" class="cx-link" id="mwIw" title="Orville Wright">Orville Wright</a>, and killing the passenger, Signal Corps Lieutenant <a href="./Thomas_Selfridge" rel="mw:WikiLink" data-linkid="39" class="cx-link" id="mwJA" title="Thomas Selfridge">Thomas Selfridge</a>.<sup about="#mwt90" class="mw-ref" data-mw="{"name":"ref","body":{"id":"mw-reference-text-cite_note-4"},"attrs":{}}" id="cite_ref-4" rel="dc:references" typeof="mw:Extension/ref"><a href="Aviation%20accidents%20and%20incidents#cite%20note-4" rel="mw:WikiLink" style="counter-reset: mw-Ref 4;"><span class="mw-reflink-text">[4]</span></a></sup></span></p></section>