Jump to content

MediaWiki:Common.js/edit.js: Difference between revisions

so we actually do have to set vars to these form elements rather than use them directly?
(fixing " that should have been '; according to what I am reading, this isn't how "checked" works, Wikipedia editors)
(so we actually do have to set vars to these form elements rather than use them directly?)
Line 679: Line 679:
{
{
var f = document.XEBPopupBSLFuncForm;
var f = document.XEBPopupBSLFuncForm;
var funcType = f.inputFuncType;


var call = '{{BSLfunc\n';
var call = '{{BSLfunc\n';
call += '|type=' + f.inputFuncType + '\n';
call += '|type=' + funcType + '\n';
call += '|default=' + f.inputDefault + '\n';
call += '|default=' + f.inputDefault + '\n';
call += '|name=' + f.inputFuncName + '\n';
call += '|name=' + f.inputFuncName + '\n';