Opened 6 years ago
Closed 6 years ago
#4143 closed defect (bug) (fixed)
Fix MediaWiki JS error on Codex pages
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Codex | Keywords: | analytics |
Cc: |
Description
All Codex pages currently trigger a JS error, viewable in the Chrome developer console.
Specifically, Uncaught ReferenceError: mediaWiki is not defined at wikibits.js:243
This is flooding our GA account with errors, and, I suspect causing issues with whatever it's meant to be doing.
Change History (5)
#3
@
6 years ago
@Otto42 Since you've got the most experience working on the Codex, any chance you can look into this?
I don't believe it's worth the effort to upgrade the skin to use the newer JS loaders, but if that's easy to test and implement I guess go for it, but just removing the erroring JS file is enough IMHO considering how long it's been 'broken'
Note: See
TracTickets for help on using
tickets.
Looks like this is due to the Codex theme being designed for an ancient version of MediaWiki. The theme hasn't been keeping up with changes, past what's required for it to be usable.
Looks like the immediate solutions are
3 is out, as we're unlikely to upgrade the theme, unless anyone with good mediawiki knowledge would like to volunteer to do so.
2 is the easiest option, but I'm sure not most ideal.
1 is therefor the best option I guess, it'll mean there's probably something broken elsewhere in the codex, but it's been broken for at least a year at this point.