| Line 187: |
Line 187: |
| | wpPermissionUploadLbl: 'Permission:', | | wpPermissionUploadLbl: 'Permission:', |
| | wpCategoriesUploadLbl: 'Categories:', | | wpCategoriesUploadLbl: 'Categories:', |
| | + | // wpResourceLinkUploadLbl: 'Resource Link:', |
| | + | wpConceptNameUploadLbl: 'Name:', |
| | + | wpAltNameUploadLbl: 'Alternate Name:', |
| | + | // wpContentOrgUploadLbl: 'Content Org:', |
| | + | wpTeachesUploadLbl: 'Teaches:', |
| | + | wpBasedOnURLUploadLbl: 'Based on URL:', |
| | + | wpPreRequisitUploadLbl: 'Requires:', |
| | + | wpAssessmentUploadLbl: 'Assesses:', |
| | + | wpTimeRequiredUploadLbl: 'Time Required:', |
| | + | wpTagsTeluguUploadLbl: 'Tags Telugu:', |
| | + | wpTagsEnglishUploadLbl: 'Tags English:', |
| | + | wpTranslationOfUploadLbl: 'Translation of:', |
| | + | wpAdaptationTroerUploadLbl: 'Adaptation:', |
| | + | wpContributorsTroerUploadLbl: 'Contributors:', |
| | wpOtherVersionsUploadLbl: 'Other versions:', | | wpOtherVersionsUploadLbl: 'Other versions:', |
| | wpAdditionalInfoUploadLbl: 'Additional information:', | | wpAdditionalInfoUploadLbl: 'Additional information:', |
| Line 236: |
Line 250: |
| | 'Where does this file come from?', | | 'Where does this file come from?', |
| | wpUploadFormAuthorHint: | | wpUploadFormAuthorHint: |
| − | 'Who created this file? If it shows some artwork, who created that?', | + | 'Who created this file?', |
| | wpUploadFormDateHint: | | wpUploadFormDateHint: |
| − | 'Date of creation and/or first publication of the work.', | + | 'Date of creation and/or first publication of the work ("DD-MM-YYYY" format).', |
| − | wpUploadFormPermissionHint:
| |
| − | 'Not your own file? Or already published elsewhere? Use \{\{OTRS pending\}\} and send permission by e-mail. '
| |
| − | +'Also for specialized license tags.',
| |
| | wpUploadFormAdditionalInfoHint: | | wpUploadFormAdditionalInfoHint: |
| | 'Use for geolocation tags and other specialized information.', | | 'Use for geolocation tags and other specialized information.', |
| Line 275: |
Line 286: |
| | , UFUI.labels | | , UFUI.labels |
| | , UFUtils.makeLink ( UFUI.defaultLabels[id] | | , UFUtils.makeLink ( UFUI.defaultLabels[id] |
| − | , '/wiki/Commons:First_steps/Quality_and_description') | + | , '/OER/index.php/NROER Metadata') |
| | ); | | ); |
| | } else { | | } else { |
| Line 653: |
Line 664: |
| | setHelp ('wpDate', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpDate', button_imgs, button_lk, max_width, is_reupload); |
| | setHelp ('wpDesc', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpDesc', button_imgs, button_lk, max_width, is_reupload); |
| | + | // setHelp ('wpResourceLink', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpConceptName', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpAltName', button_imgs, button_lk, max_width, is_reupload); |
| | + | // setHelp ('wpContentOrg', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpTeaches', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpBasedOnURL', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpPreRequisit', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpAssessment', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpTimeRequired', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpTagsTelugu', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpTagsEnglish', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpTranslationOf', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpAdaptationTroer', button_imgs, button_lk, max_width, is_reupload); |
| | + | setHelp ('wpContributorsTroer', button_imgs, button_lk, max_width, is_reupload); |
| | setHelp ('wpPermission', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpPermission', button_imgs, button_lk, max_width, is_reupload); |
| | setHelp ('wpOtherVersions', button_imgs, button_lk, max_width, is_reupload); | | setHelp ('wpOtherVersions', button_imgs, button_lk, max_width, is_reupload); |
| Line 1,297: |
Line 1,322: |
| | UploadFormFull.form_type = 1; | | UploadFormFull.form_type = 1; |
| | } | | } |
| | + | // addInput (table, idx++, 'wpResourceLink', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpTeaches', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpTagsTelugu', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpTagsEnglish', null, 80, previous_form); |
| | + | // addInput (table, idx++, 'wpContentOrg', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpBasedOnURL', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpPreRequisit', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpAssessment', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpTimeRequired', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpTranslationOf', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpAdaptationTroer', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpContributorsTroer', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpConceptName', null, 80, previous_form); |
| | + | addInput (table, idx++, 'wpAltName', null, 80, previous_form); |
| | addInput (table, idx++, 'wpOtherVersions', null, 80, previous_form); | | addInput (table, idx++, 'wpOtherVersions', null, 80, previous_form); |
| | addInput (table, idx++, 'wpPermission', null, 80, previous_form); | | addInput (table, idx++, 'wpPermission', null, 80, previous_form); |
| Line 1,398: |
Line 1,437: |
| | var date = document.getElementById ('wpDate'); | | var date = document.getElementById ('wpDate'); |
| | var other = document.getElementById ('wpPermission'); | | var other = document.getElementById ('wpPermission'); |
| | + | // var resourceli = document.getElementById ('wpResourceLink'); |
| | + | var conceptname = document.getElementById ('wpConceptName'); |
| | + | var altname = document.getElementById ('wpAltName'); |
| | + | // var contentorg = document.getElementById ('wpContentOrg'); |
| | + | var teaches = document.getElementById ('wpTeaches'); |
| | + | var basedonurl = document.getElementById ('wpBasedOnURL'); |
| | + | var prerequisit = document.getElementById ('wpPreRequisit'); |
| | + | var assessment = document.getElementById ('wpAssessment'); |
| | + | var timerequir = document.getElementById ('wpTimeRequired'); |
| | + | var tagstelugu = document.getElementById ('wpTagsTelugu'); |
| | + | var tagsenglish = document.getElementById ('wpTagsEnglish'); |
| | + | var translationof = document.getElementById ('wpTranslationOf'); |
| | + | var adaptationtroer = document.getElementById ('wpAdaptationTroer'); |
| | + | var contributorstroer = document.getElementById ('wpContributorsTroer'); |
| | var othervers = document.getElementById ('wpOtherVersions'); | | var othervers = document.getElementById ('wpOtherVersions'); |
| − |
| |
| | desc_text = '\{\{Information\n' | | desc_text = '\{\{Information\n' |
| | + '|Description ='+ desc_text + '\n' | | + '|Description ='+ desc_text + '\n' |
| Line 1,405: |
Line 1,457: |
| | + '|Author =' + (!author.disabled ? UploadForm.clean (author.value) : "") + '\n' | | + '|Author =' + (!author.disabled ? UploadForm.clean (author.value) : "") + '\n' |
| | + '|Date =' + (!date.disabled ? UploadForm.clean (date.value) : "") + '\n' | | + '|Date =' + (!date.disabled ? UploadForm.clean (date.value) : "") + '\n' |
| | + | // + '|Resource_link =' + (!resourceli.disabled ? UploadForm.clean (resourceli.value) : "") + '\n' |
| | + | + '|Name =' + (!conceptname.disabled ? UploadForm.clean (conceptname.value) : "") + '\n' |
| | + | + '|Alt_names =' + (!altname.disabled ? UploadForm.clean (altname.value) : "") + '\n' |
| | + | // + '|Content_org =' + (!contentorg.disabled ? UploadForm.clean (contentorg.value) : "") + '\n' |
| | + | + '|Teaches =' + (!teaches.disabled ? UploadForm.clean (teaches.value) : "") + '\n' |
| | + | + '|Based_on_url =' + (!basedonurl.disabled ? UploadForm.clean (basedonurl.value) : "") + '\n' |
| | + | + '|Requires =' + (!prerequisit.disabled ? UploadForm.clean (prerequisit.value) : "") + '\n' |
| | + | + '|Assessment =' + (!assessment.disabled ? UploadForm.clean (assessment.value) : "") + '\n' |
| | + | + '|Time_required =' + (!timerequir.disabled ? UploadForm.clean (timerequir.value) : "") + '\n' |
| | + | + '|Tags_Telugu =' + (!tagstelugu.disabled ? UploadForm.clean (tagstelugu.value) : "") + '\n' |
| | + | + '|Tags_English =' + (!tagsenglish.disabled ? UploadForm.clean (tagsenglish.value) : "") + '\n' |
| | + | + '|Translation_of =' + (!translationof.disabled ? UploadForm.clean (translationof.value) : "") + '\n' |
| | + | + '|Adaptationup =' + (!adaptationtroer.disabled ? UploadForm.clean (adaptationtroer.value) : "") + '\n' |
| | + | + '|Contributorup =' + (!contributorstroer.disabled ? UploadForm.clean (contributorstroer.value) : "") + '\n' |
| | + ((other && !other.disabled && other.value != null) | | + ((other && !other.disabled && other.value != null) |
| | ? '|Permission =' + UploadForm.clean (other.value) + '\n' | | ? '|Permission =' + UploadForm.clean (other.value) + '\n' |
| Line 1,498: |
Line 1,564: |
| | var date = document.getElementById ('wpDate'); | | var date = document.getElementById ('wpDate'); |
| | var other = document.getElementById ('wpPermission'); | | var other = document.getElementById ('wpPermission'); |
| | + | // var resourceli = document.getElementById ('wpResourceLink'); |
| | + | var conceptname = document.getElementById ('wpConceptName'); |
| | + | var altname = document.getElementById ('wpAltName'); |
| | + | // var contentorg = document.getElementById ('wpContentOrg'); |
| | + | var teaches = document.getElementById ('wpTeaches'); |
| | + | var basedonurl = document.getElementById ('wpBasedOnURL'); |
| | + | var prerequisit = document.getElementById ('wpPreRequisit'); |
| | + | var assessment = document.getElementById ('wpAssessment'); |
| | + | var timerequir = document.getElementById ('wpTimeRequired'); |
| | + | var tagstelugu = document.getElementById ('wpTagsTelugu'); |
| | + | var tagsenglish = document.getElementById ('wpTagsEnglish'); |
| | + | var translationof = document.getElementById ('wpTranslationOf'); |
| | + | var adaptationtroer = document.getElementById ('wpAdaptationTroer'); |
| | + | var contributorstroer = document.getElementById ('wpContributorsTroer'); |
| | var othervers = document.getElementById ('wpOtherVersions'); | | var othervers = document.getElementById ('wpOtherVersions'); |
| | var moreInfo = document.getElementById ('wpAdditionalInfo'); | | var moreInfo = document.getElementById ('wpAdditionalInfo'); |