diff --git a/modules/controller.js b/modules/controller.js index eabcd9c92..32155149e 100644 --- a/modules/controller.js +++ b/modules/controller.js @@ -4,7 +4,7 @@ var $pageContainer, newTopicController, $overlay, - featuresEnabled = mw.config.get( 'wgDiscussionToolsFeaturesEnabled' ), + featuresEnabled = mw.config.get( 'wgDiscussionToolsFeaturesEnabled' ) || {}, Parser = require( './Parser.js' ), ThreadItem = require( './ThreadItem.js' ), logger = require( './logger.js' ),