1 mkws.registerWidgetType('Reference', function() {
2 mkws.promotionFunction('Record').call(this);
3 if (!this.config.target) this.config.target = 'wikimedia_wikipedia_single_result';
4 if (!this.config.template) this.config.template = 'Reference';
5 this.config.template_vars.paragraphs = this.config.paragraphs || 0;
6 this.config.template_vars.sentences = this.config.sentences || 0;