`wgCanonicalSpecialPageName` -> `window.wgCanonicalSpecialPageName`