MediaWiki:DonationForm mctest.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
hook in monthly convert |
moved monthllyconvert js loading to common.js |
||
Line 1,056: | Line 1,056: | ||
var form = document.forms['donateForm']; |
var form = document.forms['donateForm']; |
||
// Load monthly convert JS if needed |
|||
// TODO: allow loading different JS variants, either here or defined in the Template |
|||
if ( mw.util.getParamValue('monthlyconvert') ) { |
|||
mw.loader.load( '/w/index.php?title=MediaWiki:MonthlyConvert.js&action=raw&ctype=text/javascript' ); |
|||
} |
|||
// These get used in quite a few places |
// These get used in quite a few places |