projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The termlists don't need a caption of "Termlists"
[mkws-moved-to-github.git]
/
src
/
mkws-widget-reference.js
diff --git
a/src/mkws-widget-reference.js
b/src/mkws-widget-reference.js
index
c8d41be
..
85c04b8
100644
(file)
--- a/
src/mkws-widget-reference.js
+++ b/
src/mkws-widget-reference.js
@@
-1,7
+1,7
@@
-mkws.registerWidgetType('Reference', function() {
- mkws.promotionFunction('Record').call(this);
+mkws.registerWidgetType('reference', function() {
+ mkws.promotionFunction('record').call(this);
if (!this.config.target) this.config.target = 'wikimedia_wikipedia_single_result';
if (!this.config.target) this.config.target = 'wikimedia_wikipedia_single_result';
- if (!this.config.template) this.config.template = 'Reference';
+ if (!this.config.template) this.config.template = 'reference';
this.config.template_vars.paragraphs = this.config.paragraphs || 0;
this.config.template_vars.sentences = this.config.sentences || 0;
});
this.config.template_vars.paragraphs = this.config.paragraphs || 0;
this.config.template_vars.sentences = this.config.sentences || 0;
});