mkws.registerWidgetType('wikipedia', function() {
mkws.promotionFunction('record').call(this);
if (!this.config.target) this.config.target = 'wikimedia_wikipedia_single_result';
mkws.registerWidgetType('wikipedia', function() {
mkws.promotionFunction('record').call(this);
if (!this.config.target) this.config.target = 'wikimedia_wikipedia_single_result';
this.config.template_vars.paragraphs = this.config.paragraphs || 0;
this.config.template_vars.sentences = this.config.sentences || 0;
this.config.template_vars.credit = this.config.credit || "Wikipedia";
this.config.template_vars.paragraphs = this.config.paragraphs || 0;
this.config.template_vars.sentences = this.config.sentences || 0;
this.config.template_vars.credit = this.config.credit || "Wikipedia";