MediaWiki:RefToolbar.js: Difference between revisions

Content deleted Content added
fixes for date format
preparing for URL lookups
Line 556:
$('.'+cl+'authors').val(authors.join('; '));
}
if (type === 'pmid' || type === 'doi' || type === 'url' ) {
if (data.fulldate || !$('.'+cl+'month').length) {
var DT = new Date(data.date);
Line 574:
$('.'+cl+'issue').val(data.issue);
$('.'+cl+'pages').val(data.pages);
} else if (type === 'isbn' || type === 'url' ) {
$('.'+cl+'publisher').val(data.publisher);
$('.'+cl+'___location').val(data.___location);