User talk:Ashwaq.bot/global.js
Add topicAppearance
From Meta, a Wikimedia project coordination wiki
Latest comment: 4 years ago by Jdlrobson in topic Bug: ReferenceError: Can't find variable: wgNamespaceNumber
I'm writing to let you know about a bug in this script when used. The bug will currently show if you use this on mediawiki.org and will in future show on all wikis. I'm not sure if you are still using this script but if you are it looks like there is an error in it relating to the reference to "wgNamespaceNumber".
To fix this you need to replace
wgNamespaceNumber
with
mw.config.get('wgNamespaceNumber')
If you (or others) are using this script it is likely causing errors. If not I suggest you blank it.
Let me know if I can help further! Jdlrobson (talk) 18:12, 3 August 2020 (UTC) Reply