Extent default Wikipedia-widget styles to apply to the mkws-wikipedia
[mkws-moved-to-github.git] / examples / htdocs / mkws-widget-ru.js
index 0fb6c67..05a5c14 100644 (file)
@@ -1,23 +1,2 @@
-var mkws_config = {service_proxy_auth: "http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc"};
-console.log(JSON.stringify(mkws.config));
-
-mkws.registerWidgetType('ReferenceUniverse', function() {
-  if (!this.config.perpage) this.config.perpage = 5;
-  if (!this.config.sort) this.config.sort = "position";
-  this.config.template = 'ReferenceUniverse';
-  this.team.registerTemplate('ReferenceUniverse', '\
-{{#mkws-first md-electronic-url}}\
-<a href="{{this}}">\
-{{/mkws-first}}\
-  {{md-title}}\
-</a>\
-{{#if md-title-remainder}}\
-  <span>{{md-title-remainder}}</span>\
-{{/if}}\
-{{#if md-title-responsibility}}\
-  <span><i>{{md-title-responsibility}}</i></span>\
-{{/if}}\
-');
-  this.node.html("<h2>Reference Universe results:</h2>\n" +
-                 this.subwidget('Records'));
-});
+// It is no longer necessary to include this file.
+// The Reference Universe widget is included in mkws-complete.js