Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,390
edits
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 82:
);
}
mw.loader.using(['mediawiki
},
Line 482:
* General helper methods
*/
/**
* <doc>
Line 550:
// don't modify the time (y-coord)
arr[i][0],
Math.round((
]);
}
Line 560:
/**
* Finds the sum of numbers in an array
* Only called by `
*
* @param arr {array} Array of number to find the sum of
Line 782:
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 793:
var matches = []
var pageMissing = false;
if (
pageMissing = true;
} else {
var exchangeData =
.revisions[0]['*'];
matches = exchangeData.match(/itemId\D*(\d*)/);
Line 831:
}).then(function(data, textStatus) {
if (data === false) return;
$.getJSON(
function(annodata){return annodata},
function(){return []} //handles the page not existing
Line 1,332:
// @todo can this be replaced with $.extend?
// @todo what is this supposed to do?
options.chart.renderTo = 'GEpopupchart';
Line 1,399:
labelUrl = ad.link;
} else {
labelUrl =
}
label = '<a href="'+labelUrl+'" target="_blank">'+ad.title+'</a>';
Line 1,518:
dataList.push({
name: inputAvg + '-day average',
data:
lineWidth: 2,
dashStyle: 'shortdash',
Line 1,616:
var dataType = isPopup ? 'all' : 'sample';
var url = "https://api.weirdgloop.org/exchange/history/" + gameVersion + "/" + dataType + "?compress=true&id=" + dataItemId;
var annoUrl =
var pricesPromise;
if (chartLoaded && itemName.toLowerCase() === 'blank') {
|