Jump to content

MediaWiki talk:Gadget-formWizard/WikiProject Organized Labour/Join

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Protected edit request on 10 June 2020

[edit]

I'm requesting creation of MediaWiki:Gadget-formWizard/WikiProject_Organized_Labour/Join for a new membership system for the Organized Labour WikiProject with the following text:

Extended content
/*  New member form for WikiProject Organized Labour  */
//<nowiki>
var formsGadgetConfig = {
    "create": {
        "config":{
            "post-edit": "Welcome to WikiProject Organized Labour!",
            "new-page": true,
            "namespace": "Wikipedia",
            "portal-page": "WikiProject_Organized_Labour",
            "page-template": "",
            "infobox": "Template:WikiProjectCard",
            "talkpage-template": "",
            "page-home": "User:" + mw.user.getName().replace(' ', '_') + "/WikiProjectCards",
            "dialog-title": "Join WikiProject Organized Labour!",
            "error-not-logged-in": "You are not logged in. Please log in before creating a profile.",
            "edit-comment-prefix": "New member profile ",
            "edit-comment-suffix": " (edited with FormWizard)",
        },
        "step-1":{
           "introText": {
               "type": "text",
               "string": "We're happy to have you join! Just fill out this brief profile and you'll be on your way!",
           },
            "displayMode": {
                "type": "largeTextBox",
                "placeholder": "",
                "title": "Mode",
                "visibility": "hidden",
                "value": "{{{mode|}}}",
                "add-to": "infobox",
                "infobox-param": "mode",
            },
            "pageName": {
                "type": "largeTextBox",
                "placeholder": "",
                "title": "WikiProject Name",
                "visibility": "hidden",
                "value": "WikiProject_Organized_Labour",
                "add-to": "infobox",
                "infobox-param": "wikiproject",
                "page-title": true,
            },
            "memberAboutTextbox": {
                "type": "largeTextBox",
                "placeholder": "",
                "title": "What are you interested in working on? (140 character limit)",
                "characterLength":140,
                "mandatory": false,
                "add-to": "infobox",
                "infobox-param": "about",
            },
            "needsHelpTextbox": {
                "type": "largeTextBox",
                "placeholder": "",
                "title": "Would you like help with anything? (140 character limit)",
                "characterLength":140,
                "mandatory": false,
                "add-to": "infobox",
                "infobox-param": "needshelp",
            },
          "notificationSignup":{
              "title": "Optional: Which notifications would you like to sign up for?",
              "text-1": "You will get no more than one notification per day for each report you sign up for.",
              "type": "checkboxList",
              "choiceList": [
                       {
                           "key": "notification_when_a_new_member_joins",
                           "value": 1
                       },
                       {
                           "key": "notification_when_a_new_discussion_topic_is_posted",
                           "value": 1
                       },
                   ],
            "add-to": "infobox",
            },
            "nextButton": {
                "type": "nextButton",
                "title": "Next",
            },
            "cancelButton":{
                "type": "cancelButton",
                "title": "Cancel",
            },
        },
        "step-2":{
            "profileImage":{
                "type": "image",
                "title": "Choose a profile picture",
                "imageTitleBox": "To use a different image from Wikimedia Commons, enter 'File:' followed by the filename below",
                "text-1": "If you don't choose a custom image, this is the default image that will appear",
                "text-2": "You can always change the image later.",
                "placeholder": "File:Profile_placeholder.png",
                "url": "https://upload.wikimedia.org/wikipedia/commons/1/15/Profile_placeholder.png",
                "add-to": "infobox",
                "infobox-param": "image",
                "validate": true,
                "link": "Search Wikimedia Commons for an image",
            },
            "nextButton": {
                "type": "nextButton",
                "title": "Next",
            },
           "backButton":{
               "type": "backButton",
               "title": "Back",
            },
        },
        "step-3":{
           "introText": {
               "type": "text",
               "string": "Thank you! Once you click the Join WikiProject button below, you will be taken to your WikiProjectCard, which serves as your member profile. Within an hour, it will be placed on the list of members.",
           },
           "doneButton": {
               "type": "doneButton",
               "title": "Join WikiProject",
           },
        },
    },
};

Thank you. --Goldsztajn (talk) 23:09, 10 June 2020 (UTC)[reply]

 Done @Goldsztajn: the page has been created. Added "force=yes" to the request above, since it was getting categoried as wikitext/FP protected instead of in the IAdmin queue since the page had to be turned in to js style to trigger that queue. — xaosflux Talk 22:07, 17 June 2020 (UTC)[reply]