Has the new Mediawiki/Fandom's implementation of it changed something about variable scope in common.js?
I have some functions and variables defined in site-wide js, https://24.fandom.com/wiki/MediaWiki:Common.js but in the console these are not in scope (ie trying to print autoCollapse in the console doesn't work).
Yet when I copy those same definitions into my personal js, https://24.fandom.com/wiki/User:Acer4666/common.js they now are in scope when I browse to pages on the site.
Why the difference, and how do I define site-wide variables/functions that will be in scope for all visitors of the site?