Thread:Project:Support desk/ReferenceError: mw is not defined

We're upgrading wiki.mozilla.org to 1.19 and running into this problem:

ReferenceError: mw is not defined https://wiki.mozilla.org/skins/common/wikibits.js Line 118

Initially, I noticed there were a lot of 404s, but once we got those fixed, this error remained.

Any ideas?