Board Thread:General Coding Help/@comment-3298582-20150102142124/@comment-11733175-20150102182304

I use something like this: var conf = mw.config.get( [   'wgPageName',    'wgTitle',    'skin' ] );

console.log( conf.wgPageName ); console.log( conf.wgTitle ); console.log( conf.skin ); There's probably a minor improvement to performance as you're caching the values, but I also find it makes my code a bit shorter and easier to write in the long term too :)