Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,327
edits
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 73:
}
mw.loader.using(['mediawiki
},
Line 457:
* General helper methods
*/
/**
* <doc>
Line 525:
// don't modify the time (y-coord)
arr[i][0],
Math.round((
]);
}
Line 535:
/**
* Finds the sum of numbers in an array
* Only called by `
*
* @param arr {array} Array of number to find the sum of
Line 757:
rvprop: 'content',
format: 'json',
titles: 'Module:Exchange/' +
}
).then(function(data, textStatus) {
var OOUIextraItem = $('#extraItem' + gecchartid).data('ooui-elem'),
if (textStatus !== 'success') {
alert('An error occured while loading ' + item);
Line 768:
var matches = []
var pageMissing = false;
if (
pageMissing = true;
} else {
var exchangeData =
.revisions[0]['*'];
matches = exchangeData.match(/itemId\D*(\d*)/);
Line 1,299:
// @todo can this be replaced with $.extend?
// @todo what is this supposed to do?
options.chart.renderTo = 'GEpopupchart';
Line 1,424:
dataList.push({
name: inputAvg + '-day average',
data:
lineWidth: 2,
dashStyle: 'shortdash',
|