Board Thread:General Coding Help/@comment-9605025-20180428232938/@comment-27345308-20180507214302

Unless Wikia changes something you will not have to wrap your scripts in the document ready function if they are placed in the document along with other ResourceLoader modules. Due to how Chat is built, the scripts are placed weirdly in the document so I suppose you would only use the document ready function in Chat.

I know what the  parameter does, and I explicitly specified it in the example above because otherwise the script you're using these messages in would not respect the   URL parameter. For example, let's say you leave the  parameter out. Normally, it will return the messages in user's language from preferences. However, if you specify the  parameter on any wiki page you would expect the script's messages to be in that language too, but it will still be taking the language from your preferences. Unless somebody explicitly wanted to screw up the  config variable you don't have to worry about its validity.