MediaWiki:Gadget-formWizard/WikiProject Occupational Safety and Health/Join
Appearance
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* New member form for WikiProject Occupational Safety and Health */
//<nowiki>
var formsGadgetConfig = {
"create": {
"config":{
"post-edit": "Welcome to WikiProject Occupational Safety and Health!",
"new-page": true,
"namespace": "Wikipedia",
"portal-page": "WikiProject_Occupational_Safety_and_Health",
"page-template": "",
"infobox": "Template:WikiProjectCard",
"talkpage-template": "",
"page-home": "User:" + mw.user.getName().replace(' ', '_') + "/WikiProjectCards",
"dialog-title": "Join WikiProject Occupational Safety and Health!",
"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 will 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_Occupational_Safety_and_Health",
"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": "What would you like help with? (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",
},
},
},
};