MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

/* */ //fix bug in http://meta.wikimedia.org/skins-1.5/common/wikibits.js : //for the sorting order, take the whole number, not the number before the second comma function ts_parseFloat(num) { if (!num) return 0; num = parseFloat(num.replace(/,/g, "")); return (isNaN(num) ? 0 : num); } /* */