Topic on Extension talk:DrawioEditor

Fresh install, got javascript error at load

1
Menardorama (talkcontribs)

I tried on different version of mediawiki 1.35, 1.39 and 1.40 wiith Drawioeditor extension and get

The resource from “wiki.example.com/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

This break all javascript on mediawiki (VisualEditor is not working, user pref tabs are not working either)....


I have imported confluence export using hallowelt/migrate-confluence git project which contains drawio chart that are correctly rendered.

Of course as I got javadcript error, I can't modify the chart.


Even tried to add some .htaccess but things are getting worse.


Is anybody got a solution ? Tried Bluespice and it's working OTB, even tried to copy the extension bundled still bugging.


Thanks

Reply to "Fresh install, got javascript error at load"