Copying from I4ac5d190d83478945645d99af4aab68f640f0130.
Local customizations are not working on ptwiki anymore. I assume this change may be related. The problem was reported on my user talk page: https://pt.wikipedia.org/w/index.php?diff=39775860&oldid=39754826
To be more specific, it seems the custom list:
- Is not loaded in production mode
- Is loaded in debug mode
is undefined in production mode and is an object on debug mode.