MediaWiki:FileUploadWizard.js explained

/*

var fuwTesting = false;var fuwDefaultTextboxLength = 60;var fuwDefaultTextareaWidth = '90%';var fuwDefaultTextareaLines = 3;

//

function fuwGlobal //

// end of fuwGlobal constructor function//

function fuwRadioClick(e)

/*

=

=

function fuwUpdateOptions

//

// methods of the global fuw object//

//

// report validation status of filename information//

// This is called from within fuw.validateInput, i.e. every// time anything in the whole form is changed. It only reports// results that have previously been cached in the opts and warn// objects. The actual checking is done in the event handler// of the file input boxes.fuwGlobal.prototype.hasValidFilename = function ;

//

// validation status for common input elements for all free// options//

fuwGlobal.prototype.hasValidCommonFreeInput = function ;//

// validation status for common input elements for all non-free// options//

fuwGlobal.prototype.hasValidCommonNFInput = function ;//

// Main validation routine. Modify this to tweak which fields// are to be considered obligatory for each case group//

fuwGlobal.prototype.validateInput = function ;

//

=// return which template name will be used as the main// description template//

=fuwGlobal.prototype.getDescriptionTemplateName = function ;

//

=// get the license tag code from the appropriate input element//

=

fuwGlobal.prototype.getStandardLicense = function

fuwGlobal.prototype.getLicense = function ;

function fuwSubst(template)

//

fuwGlobal.prototype.getTrackingCategory = function ;

//

fuwGlobal.prototype.getEditSummary = function ;

function fuwPackInfo(text, forCommons)

//

fuwGlobal.prototype.collectInput = function ;

fuwGlobal.prototype.formatOutput = function(forCommons) ;

function fuwHasUserGroup(group)

fuwGlobal.prototype.getUserStatus = function