MediaWiki:FileUploadWizard.js: відмінності між версіями

Вилучено вміст Додано вміст
Krinkle (обговорення | внесок)
Maintenance: mw:RL/MGU - Updated deprecated user.tokens key
за запитом Andriy.v на ВП:ЗАІ
Рядок 216:
['ThirdPartyEvidenceOptionLink',
'ThirdPartyEvidenceOptionOTRS',
'ThirdPartyEvidenceOptionOTRSForthcoming'],
'ThirdPartyEvidenceOptionNone'],
// choice of PD status in OptionPDOld subsection
'PDOldOptions' : ['PDURAA','PDFormality','PDOldOther'],
Рядок 249 ⟶ 248:
'Author','Source',
'Permission','ThirdPartyOtherLicense',
'ThirdPartyEvidenceLink','ThirdPartyOTRSTicket',
'FreeWebsiteOtherLicense',
'PDOldAuthorLifetime','Publication',
Рядок 732 ⟶ 731:
//fuwSetEnabled('Country3D', opts.FOP3D);
fuwSetEnabled('ThirdPartyEvidenceLink', opts.ThirdPartyEvidenceOptionLink);
fuwSetEnabled('ThirdPartyOTRSTicket', opts.ThirdPartyEvidenceOptionOTRS);
fuwSetEnabled('NFSubjectPurpose', opts.NFSubjectCheckDiscussed);
fuwSetEnabled('NF3DPurpose', opts.NF3DCheckDiscussed);
Рядок 763 ⟶ 761:
var valid = fuw.validateInput();
var validForCommons = valid && opts.OptionFree && !(opts.OverwriteSame || opts.OverwriteDifferent)
&& !opts.ThirdPartyEvidenceOptionNoneThirdPartyEvidenceOptionOTRSForthcoming;
fuwSetVisible('sendToCommons', opts.OptionFree);
fuwSetEnabled('CommonsButton', validForCommons);
Рядок 879 ⟶ 877:
((opts.ThirdPartyEvidenceOptionLink && opts.ThirdPartyEvidenceLink) ||
opts.ThirdPartyEvidenceOptionOTRS ||
opts.ThirdPartyEvidenceOptionOTRSForthcoming ||))
opts.ThirdPartyEvidenceOptionNone))
||
(opts.OptionFreeWebsite &&
Рядок 1102 ⟶ 1099:
}
);
return "{{uk|" + text + "}}";
} else return text;
}
Рядок 1153 ⟶ 1150:
(opts.ThirdPartyEvidenceOptionOTRS ?
("Дозвіл на використання файлу було надіслано в OTRS." +
fuwSurroundString("{\{PermissionOTRS|", opts.ThirdPartyOTRSTicket) + "}}{{OTRS pendingsubst:OP}}") :
(opts.ThirdPartyEvidenceOptionOTRSForthcoming ?
"Дозвіл на використання файлу буде надіслано в OTRS найближчим часом. {\{OTRS pendingsubst:ndl}}" :
(opts.ThirdPartyEvidenceOptionNone ?));
"Буде надано за запитом." : null))));
descFields.Permission = fuwAppendLines([
opts.ThirdPartyPermission,