diff --git a/dist/PreviewWithVariant2017/PreviewWithVariant2017.js b/dist/PreviewWithVariant2017/PreviewWithVariant2017.js index 25478925..f1af88a0 100644 --- a/dist/PreviewWithVariant2017/PreviewWithVariant2017.js +++ b/dist/PreviewWithVariant2017/PreviewWithVariant2017.js @@ -192,7 +192,7 @@ var processVisualEditor = ($body) => { errorformat: "html", errorlang: wgUserLanguage, errorsuselocal: true, - formatversion: 2, + formatversion: "2", prop: "text|indicators|displaytitle|categorieshtml|parsewarningshtml", pst: true, preview: true, @@ -344,4 +344,4 @@ void (0, import_ext_gadget.getBody)().then(function previewWithVariants2017($bod /* */ -//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsic3JjL1ByZXZpZXdXaXRoVmFyaWFudDIwMTcvUHJldmlld1dpdGhWYXJpYW50MjAxNy50cyIsICJzcmMvUHJldmlld1dpdGhWYXJpYW50MjAxNy9vcHRpb25zLmpzb24iLCAic3JjL1ByZXZpZXdXaXRoVmFyaWFudDIwMTcvbW9kdWxlcy9jb25zdGFudC50cyIsICJzcmMvUHJldmlld1dpdGhWYXJpYW50MjAxNy9tb2R1bGVzL21lc3NhZ2VzLnRzIiwgInNyYy9QcmV2aWV3V2l0aFZhcmlhbnQyMDE3L21vZHVsZXMvcHJvY2Vzc1Zpc3VhbEVkaXRvci5qcyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHtnZXRCb2R5fSBmcm9tICdleHQuZ2FkZ2V0LlV0aWwnO1xuaW1wb3J0IHtwcm9jZXNzVmlzdWFsRWRpdG9yfSBmcm9tICcuL21vZHVsZXMvcHJvY2Vzc1Zpc3VhbEVkaXRvci5qcyc7XG5cbnZvaWQgZ2V0Qm9keSgpLnRoZW4oZnVuY3Rpb24gcHJldmlld1dpdGhWYXJpYW50czIwMTcoJGJvZHk6IEpRdWVyeTxIVE1MQm9keUVsZW1lbnQ+KTogdm9pZCB7XG5cdG13Lmhvb2soJ3ZlLn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CAiY2xhc3NlcyIsICJvcHRpb25zIiwgIm9wdGdyb3VwIiwgIm1hcCIsICJvbiIsICJQYW5lbExheW91dCIsICJleHBhbmRlZCIsICJpdGVtcyIsICJNZXNzYWdlRGlhbG9nIiwgIldpbmRvd01hbmFnZXIiLCAiYWRkV2luZG93cyIsICJoYW5kbGVyVG9SZW1vdmUiLCAib2ZmIiwgImFkZCIsICJnZXRCb2R5IiwgInByZXZpZXdXaXRoVmFyaWFudHMyMDE3Il0KfQo= diff --git a/src/PreviewWithVariant2017/modules/processVisualEditor.js b/src/PreviewWithVariant2017/modules/processVisualEditor.js index 5eaae1bf..049f1535 100644 --- a/src/PreviewWithVariant2017/modules/processVisualEditor.js +++ b/src/PreviewWithVariant2017/modules/processVisualEditor.js @@ -64,7 +64,7 @@ const processVisualEditor = ($body) => { errorformat: 'html', errorlang: wgUserLanguage, errorsuselocal: true, - formatversion: 2, + formatversion: '2', prop: 'text|indicators|displaytitle|categorieshtml|parsewarningshtml', pst: true, preview: true,