MediaWiki:Gadget-formWizard/Project page/Start

From Wikimedia Belgium
Jump to navigation Jump to search

/* Wikimedia:Project page - create and expand project page form wizard configuration file */ var formsGadgetConfig = {

   "create": {
       "config":{
           "post-edit": "Thank you for sharing your activities! Please improve it by filling in some of the other sections.",
           "new-page": true,
           "namespace": "Project",
           "portal-page": "Project page",
           "page-template": "",
           "infobox": "Infobox project page",
           "talkpage-template": "",
           "page-home": "",
           "dialog-title": "Create a new activities page",
           "error-not-logged-in": "You are not logged in. Please log in before creating an activities page.",
           "edit-comment-prefix": "Share your activities ",
           "edit-comment-suffix": " (edited with FormWizard)",
       },
       "step-1":{
           "introText": {
               "type": "text",
               "string": "Use this form to start sharing your activities with the network. You can add and change things after the page is created!",
           },
           "ProjectNameTextbox": {
               "type": "smallTextBox",
               "placeholder": "example: The Great Digital Freedom Project",
               "title": "What is the name of your project?",
               "text-1": "Please type the project name below",
               "characterLength":1000,
               "mandatory":true,
               "add-to": "infobox",
               "infobox-param":"title",
               "validate": "doesNotExists",
               "page-title":true,
           },
           "DescriptionTextbox": {
               "type": "largeTextBox",
               "placeholder": "To get privacy, surveillance, net neutrality and copyright implemented.",
               "title": "How would you describe the project?",
               "text-1": "Briefly give a description of the project (140 character limit)",
               "characterLength":150,
               "mandatory": true,
               "add-to": "infobox",
               "infobox-param":"description",
           },
           "OrganisationDropdown": {
               "type": "dropdownList",
               "title": "What organisation organises the project?",
               "text-1": "Choose the organisation which organises the project.",
               "characterLength":400,
               "mandatory": true,
               "add-to": "infobox",
               "infobox-param":"organisation",
               "values": ["Access – International", "Association for Technology and Internet (APTI) – Romania", "Article 19 – United Kingdom", "ALCEI – Italy", "Alternatif Bilişim Derneği (Alternatif Bilişim) – Turkey", "Bits of Freedom – Netherlands", "Chaos Computer Club (CCC e.V.) – Germany", "Digital Rights – Ireland", "digitalcourage – Germany (former Foebud)", "Digitale Gesellschaft – Germany", "DFRI – Sweden", "Electronic Frontier Finland (EFFI) – Finland", "Electronic Frontier Foundation (EFF) – USA", "Forum InformatikerInnen für Frieden und gesellschaftliche Verantwortung (FIfF e.V.) – Germany", "Foundation for Information Policy Research (FIPR) – United Kingdom", "Förderverein Informationstechnik und Gesellschaft (FITUG e.V.) – Germany", "Internet Society Bulgaria", "The IT-Political Association of Denmark (IT-Pol) – Denmark", "Iuridicum Remedium – Czech Republic", "Initiative für Netzfreiheit (IfNf)- Austria", "Liga voor Mensenrechten – Belgium", "Metamorphosis – Macedonia", "Modern Poland Foundation, Fundacja Nowoczesna Polska – Poland", "Nodo50.org – Spain", "Open Rights Group – UK", "Panoptykon Foundation – Poland", "Privacy International", "quintessenz – Austria", "Statewatch – UK", "VIBE!AT – Austria", "Vrijschrift – The Netherlands", "other",],
           },
           "OrganisationInformationLink": {
               "type": "link",
               "href": "https://edri.org/contact/",
               "link": "Report here if my organisation is missing",
           },
           "nextButton":{
               "type":"nextButton",
               "title":"Next",
           },
           "cancelButton":{
               "type": "cancelButton",
               "title":"Cancel",
           },
       },
       "step-2":{
           "CampaignsTextbox": {
               "type": "largeTextBox",
               "placeholder": "...",
               "title": "What campaigns/actions you are currently running?",
               "text-1": "Please describe in max. 4-5 sentences or bullet points",
               "characterLength":10000,
               "section": "Campaigns & actions",
               "mandatory": false,
               "add-to": "section",
               "section-header": "Campaigns & actions",
           },
           "MaterialsProducedTextbox": {
               "type": "largeTextBox",
               "placeholder": "Add your recent material here",
               "title": "Links to material/publications that you have produced in the past 6 months?",
               "text-1": "",
               "characterLength":10000,
               "section": "Materials produced",
               "mandatory": false,
               "add-to": "section",
               "section-header": "Materials produced",
           },
           "ActivitiesPlannedTextbox": {
               "type": "largeTextBox",
               "placeholder": "...",
               "title": "Activities planned for the next 6 months?",
               "text-1": "Please describe in max. 4-5 sentences or bullet points",
               "characterLength":10000,
               "section": "Activities planned",
               "mandatory": false,
               "add-to": "section",
               "section-header": "Activities planned",
           },
           "MaterialsPlannedTextbox": {
               "type": "largeTextBox",
               "placeholder": "...",
               "title": "Material/publications that you are planning to produce in the next 6 months?",
               "text-1": "",
               "characterLength":10000,
               "section": "Materials planned",
               "mandatory": false,
               "add-to": "section",
               "section-header": "Materials planned",
           },
           "SupportTextbox": {
               "type": "largeTextBox",
               "placeholder": "...",
               "title": "Support needed from the EDRi office or any other EDRi member on any of the planned activities?",
               "text-1": "If you need support, please indicate from whom",
               "characterLength":10000,
               "section": "Support",
               "mandatory": false,
               "add-to": "section",
               "section-header": "Support",
           },
           "LitigationTextbox": {
               "type": "largeTextBox",
               "placeholder": "...",
               "title": "Are you planning any litigation or do you currently have cases before a national/EU Court?",
               "text-1": "",
               "characterLength":10000,
               "section": "Litigation",
               "mandatory": false,
               "add-to": "section",
               "section-header": "Litigation",
           },
           "doneButton":{
               "type":"doneButton",
               "title":"Create your activities page",
           },
           "backButton":{
               "type": "backButton",
               "title":"Back",
           },
       },
   },

};