User talk:Pathoschild/Scripts/MooTools
Latest comment: 4 years ago by Pathoschild in topic Bug: ReferenceError: Can't find variable: wgNamespaceNumber
Bug: ReferenceError: Can't find variable: wgNamespaceNumber
editI'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:11, 3 August 2020 (UTC)
- Hi! This script has been obsolete and unmaintained since before 2015, so I wouldn't recommend using it. —Pathoschild 18:17, 04 August 2020 (UTC)