Last version of VisualEditor for MW 1.30 truncates data. When I create or edit a page which contains long code (can be just Lorem ipsum), which is more than ~10kB (size is changing around this size), it truncates data after this size. Instead of the subsequent data, it prints the following code (I present only part because of this editor limitation) followed by the first 10kB of code from page (Lorem ipsum text), and again and again until it reaches the original size of code.
... <meta charset="utf-8" /> <meta property="mw:pageNamespace" content="0" /> <meta property="mw:pageId" content="1" /> <meta property="dc:modified" content="2017-12-19T11:43:54.000Z" /> <meta property="mw:revisionSHA1" content="52037c2060186c3b757682d49c79c681de3a92b6" /> <meta property="isMainPage" content="true" /> <meta property="mw:html:version" content="1.5.0" /> <title>Main_Page</title><base href="https://domain.com/wiki/company/index.php?title=" />[//domai ...
It looks to me like some timeout problem. I use MW 1.30 on Windows Server with IIS 7.5 and PHP 7.0.