Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling ?debug=true parameter breaks stuff #83

Open
hcooper opened this issue Sep 6, 2023 · 0 comments
Open

Enabling ?debug=true parameter breaks stuff #83

hcooper opened this issue Sep 6, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@hcooper
Copy link
Contributor

hcooper commented Sep 6, 2023

The debug parameter is meant to help debug mediawiki static resource issues. But enabling is actually breaks a bunch of stuff.

Normal page: https://ropewiki.com/Main_Page

  • No errors in browser console.
  • Slideshow loads

Debug page: https://ropewiki.com/Main_Page?debug=true

  • Errors in browser console
  • Slideshow missing

A 2 second looks at the errors suggests this might be good place to start:

Refused to execute script from 'https://ropewiki.com/Extensions/usr/share/nginx/html/ropewiki/vendor/mediawiki/semantic-media-wiki/resources/smw/ext.smw.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

@hcooper hcooper added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant