Wikidata:FormWizard/Config/Data import
/* Data import form -- create a summary of a dataset */ {
"create": { "config":{ "post-edit": "Dataset summary created!", "new-page": true, "namespace": "Wikidata:", "portal-page": "Dataset Imports/", "page-template": "", "infobox": "Template:Dataset category selection", "talkpage-template": "", "page-home": "Dataset Imports", "dialog-title": "Create your dataset summary", "error-not-logged-in": "You are not logged in. Please log in before creating a profile.", "edit-comment-prefix": "Creating dataset summary ", "edit-comment-suffix": " (edited with FormWizard)", }, "step-1":{ "datasetNameTextbox": { "type": "smallTextBox", "placeholder": "e.g. Museums of São Paulo", "title": "What is the name of your dataset?", "text-1": "(insert guidance on naming datasets here)", "error-notFilled": "Mandatory field", "characterLength":150, "mandatory": true, "validate": "doesNotExists", "add-to": "section", "section-header": "Dataset name", "parent" : "userInfoSection", "page-title":true, }, "sourceTextbox": { "type": "largeTextBox", "title": "Source", "placeholder": "Sao Paulo State Secretariat of Culture", "text-1": "Description text-1", "characterLength":200, "mandatory": true, "add-to": "section", "section-header": "Source", "parent" : "userInfoSection", }, "linkTextbox":{ "type": "largeTextBox", "title": "Link Title", "text-1": "Please write the full URL of the dataset", "characterLength":400, "mandatory": false, "placeholder": "e.g. http://meta.wikimedia.org/", "add-to": "section", "section-header": "Link", "parent" : "userInfoSection", }, "descriptionTextbox":{ "type": "largeTextBox", "title": "Dataset description", "text-1": "Briefly describe the dataset in terms of what information it contains.", "characterLength":400, "mandatory": false, "placeholder": "e.g. List of 485 museums of São Paulo, the state of Brazil with the biggest number of museums", "add-to": "section", "section-header": "Dataset description", "parent" : "userInfoSection", }, "userInfoSection": { "type": "largeTextBox", "placeholder": "leave this blank!", "title": "leave this blank!", "characterLength":1000, "section": "User info", "mandatory": false, "add-to": "section", "visibility": "hidden", "section-header": "User info", }, "nextButton":{ "type":"nextButton", "title":"Next" }, "cancelButton":{ "type": "cancelButton", "title":"Cancel" } }, "step-2":{ "datasetFormatDropdown": { "type": "dropdownList", "title": "Dataset format", "text-1": "Select the format of the dataset", "characterLength":100, "mandatory": true, "add-to": "infobox", "infobox-param":"format_type", "values": ["...", "spreadsheet", "webpage", "PDF", "education", "text document", "data dump", "API", "Other"] }, "datasetTopicDropdown": { "type": "dropdownList", "title": "Dataset format", "text-1": "Select primary topic of the dataset", "characterLength":100, "mandatory": true, "add-to": "infobox", "infobox-param":"dataset_topic", "values": ["...", "archives", "art", "biography", "biology", "encyclopedia", "entertainment", "food", "general", "geography", "heritage infrastructure", "language", "location", "media", "medical", "organisation", "religion", "science", "sport", "unknown"] }, "updatesDropdown": { "type": "dropdownList", "title": "Updates", "text-1": "Is the dataset likely to be updated? Select whether this dataset is updated and if so, in what manner it is updated.", "characterLength":100, "mandatory": true, "add-to": "infobox", "infobox-param":"update_type", "values": ["...", "static", "updated", "editions", "unknown"] }, "additionalInfoTextbox":{ "type": "largeTextBox", "title": "Additional information", "text-1": "Is there any additional information about the dataset?", "characterLength":500, "mandatory": false, "placeholder": "", "add-to": "section", "section-header": "Additional information", "parent" : "userInfoSection", }, "doneButton": { "type":"doneButton", "title":"Create your summary", }, "backButton":{ "type": "backButton", "title":"Back", }, }, },
}