Per [1] javascript variables such as wgTitle, wgCanonicalNamespace, etc. are meant to be deprecated in MediaWiki 1.19.
Against that, they have apparently been superseeded by mw.config which seem to use largely the same variables.
As someone largely unfamiliar with coding, and trying to learn, how does this affect scripting?