Closed
Bug 852594
Opened 11 years ago
Closed 11 years ago
ReferenceError: mw is not defined @ https://wiki.allizom.org/skins/common/wikibits.js:118
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: stephend, Assigned: jd)
References
()
Details
Attachments
(1 file)
1.41 MB,
image/png
|
Details |
Given the below, this might not block bug 707181, but setting just in case. Just FYI: this is pre-existing on prod, but if we can fix it, we probably should. STR: 1. Load https://wiki.allizom.org/index.php?title=Special:Search&search=&fulltext=Search&profile=advanced&redirs=1 2. Click on either the "all" or "none" buttons Actual Results: Nothing happens Note that when you load the page, you get: [10:36:35.518] ReferenceError: mw is not defined @ https://wiki.allizom.org/skins/common/wikibits.js:118
Comment 1•11 years ago
|
||
Adding &debug=1 to the URL results in a ton of 404s for missing js files.
Comment 2•11 years ago
|
||
In prod, the following file is missing: https://wiki.mozilla.org/Resources/mediawiki/mediawiki.user.js
Assignee | ||
Comment 3•11 years ago
|
||
I verified that the files which are generating the 404s are actually on the filesystem. I also found a rewrite that should have included resources (it was getting rewritten to Resources). Now the 404 errors are gone but it looks like the issue remains. Note that I only deployed this change to dev and stage right now. I will promote the changes to prod after I am reasonably sure it wont break anything.
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Jason Crowe [:jd] from comment #3) > I verified that the files which are generating the 404s are actually on the > filesystem. I also found a rewrite that should have included resources (it > was getting rewritten to Resources). Now the 404 errors are gone but it > looks like the issue remains. > > Note that I only deployed this change to dev and stage right now. I will > promote the changes to prod after I am reasonably sure it wont break > anything. http://qa-selenium.mv.mozilla.com:8080/view/Wiki/job/wiki.stage/ - staging looks fine, here (automation passes), if that helps?
Comment 5•11 years ago
|
||
Not seeing the 404s, but I still see the following JS error: "ReferenceError: mw is not defined". Additionally Chrome complains: Resource interpreted as Font but transferred with MIME type application/octet-stream: "https://www.mozilla.org/img/fonts/MetaWebPro-Bold.woff". Main_Page:237 Asked for help: https://www.mediawiki.org/wiki/Thread:Project:Support_desk/ReferenceError:_mw_is_not_defined
Comment 6•11 years ago
|
||
Think the js error was caused by improper loading of wikibits left over from the old skin. New commit should fix this: https://github.com/mozilla/mediawiki-skins-gmo/commit/0e9a414d98bab1af44b6ba5882b7fa155a47f8ff
Assignee | ||
Comment 7•11 years ago
|
||
I pulled the update to dev and the js error seems to be gone. The issue with the function of the page remains however. Not sure what I need to do at this point to help further... Please advise?
Comment 8•11 years ago
|
||
I still see the JS error. If you're sure you pulled the latest changes, I'll have to investigate some more.
Reporter | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
I got the correct hash checked out on dev. The ReferenceError is gone. Also I do not see anything but 200s on page load. The issue with the all/none buttons seems to remain, but that may just be my session or browser or something. Please let me know what you need me to do from here.
Assignee: server-ops-webops → jcrowe
Reporter | ||
Comment 11•11 years ago
|
||
(In reply to Jason Crowe [:jd] from comment #10) > I got the correct hash checked out on dev. The ReferenceError is gone. Also > I do not see anything but 200s on page load. The issue with the all/none > buttons seems to remain, but that may just be my session or browser or > something. > > Please let me know what you need me to do from here. OK, I can confirm that the JavaScript exception is gone, but the All/None-button issue remains -- sorry that I lumped two bugs in here; Jason, Mark, how should we proceed? Just file a new, separate bug for the All/None issue?
Assignee | ||
Comment 12•11 years ago
|
||
For my part I am happy to have it in this bug, however I will leave that up to hexmode.
Assignee | ||
Comment 13•11 years ago
|
||
Also FYI I ran this ReferenceError fix through to prod.
Assignee | ||
Comment 14•11 years ago
|
||
After pushing through the fixes that hexmode made today this issue appears to be resolved based on my limited testing, I will close this for now but feel free to reopen or verify as needed. Thanks everybody.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•