User:Chaotic Enby/Unblock wizard.js: Difference between revisions

From Test Wiki
Content deleted Content added
fix
updates
Line 9: Line 9:
*
*
* Author: [[User:Chaotic Enby]] (derived from a script by [[User:SD0001]])
* Author: [[User:Chaotic Enby]] (derived from a script by [[User:SD0001]])
* Licence: MIT
* Licence: MIT (dual-licensed with CC-BY-SA 4.0 and GFDL 1.2)
*/
*/


Line 57: Line 57:
"submit-label": "Submit",
"submit-label": "Submit",
"utrs-label": "Go to UTRS",
"utrs-label": "Go to UTRS",
"footer-text": "<small>If you are not sure about what to enter in a field, you can skip it. If you need help, you can ask on <b>[[Special:MyTalk|your talkpage]]</b> with <b>{{[[Template:Help me|Help me]]}}</b> or get live help via <b>[[WP:IRCHELP|IRC]]</b> or <b>[[WP:DISCORD|Discord]]</b>.<br>Facing some issues in using this form? <b>[/w/index.php?title=Wikipedia_talk:Unblock_wizard&action=edit&section=new&preloadtitle=Issue%20with%20submission%20form&editintro=Wikipedia_talk:Unblock_wizard/editintro Report it]</b>.</small>",
"footer-text": "<small>If you are not sure about what to enter in a field, you can skip it. If you need help, you can ask on <b>[[Special:MyTalk|your talkpage]]</b> with <b>{{[[Template:Help me|Help me]]}}</b> or get live help via <b>[[WP:IRCHELP|IRC]]</b>.<br>Facing some issues in using this form? <b>[/w/index.php?title=Wikipedia_talk:Unblock_wizard&action=edit&section=new&preloadtitle=Issue%20with%20submission%20form&editintro=Wikipedia_talk:Unblock_wizard/editintro Report it]</b>.</small>",
"submitting-as": "Submitting as User:$1",
"submitting-as": "Submitting as User:$1",
"validation-notitle": "User not found",
"validation-notitle": "User not found",
Line 224: Line 224:
}
}
ui.itemsLayout.push(new OO.ui.FieldLayout(ui.itemsInput[ui.itemsInput.length - 1], {
ui.itemsLayout.push(new OO.ui.FieldLayout(ui.itemsInput[ui.itemsInput.length - 1], {
label: msg(label + '-label'),
label: msg(label + '-label') + (required[label] ? " (*)" : ""),
align: 'top',
align: 'top',
// help: msg(label + '-helptip'),
// help: msg(label + '-helptip'),