User talk:Horcrux/global.js
Add topicLatest comment: 3 years ago by Jdlrobson in topic Issue in global JS
Issue in global JS[edit]
Your global JavaScript throws the error "Uncaught ReferenceError: wgSiteName is not defined".
Please make the following edits:
wgAction
=>mw.config.get('wgAction')
wgSiteName
=>mw.config.get('wgSiteName')
Let me know if you need any help with these changes. Jdlrobson (talk) 15:47, 4 August 2020 (UTC)