User:Chaotic Enby/Unblock wizard.js: Difference between revisions
From Test Wiki
Content deleted Content added
Chaotic Enby (talk | contribs) No edit summary |
Chaotic Enby (talk | contribs) custom button |
||
| Line 57: | Line 57: | ||
"clarification-label": "Is there anything specific you want to ask about your block?", |
"clarification-label": "Is there anything specific you want to ask about your block?", |
||
"submit-label": "Submit", |
"submit-label": "Submit", |
||
"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§ion=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> 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§ion=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", |
||
| Line 67: | Line 68: | ||
"editsummary-main": "Submitting using [[Wikipedia:Unblock wizard]]", |
"editsummary-main": "Submitting using [[Wikipedia:Unblock wizard]]", |
||
"status-redirecting": "Submission succeeded. Redirecting you to your talk page ...", |
"status-redirecting": "Submission succeeded. Redirecting you to your talk page ...", |
||
"status-redirecting-utrs": " |
"status-redirecting-utrs": "Redirecting you to UTRS ...", |
||
"status-not-blocked": "You are not currently blocked.", |
"status-not-blocked": "You are not currently blocked.", |
||
"status-error": "Due to an error, your unblock request could not be parsed. You can try to submit an unblock request manually by pasting the following on [[Special:MyTalk|your talk page]]:<br /><code>{{unblock | reason=Your reason here ~~" + "~~}}</code><br />If you are having difficulties, please [https://utrs-beta.wmflabs.org/ make a request through UTRS] and inform them of the issues you are encountering.", |
"status-error": "Due to an error, your unblock request could not be parsed. You can try to submit an unblock request manually by pasting the following on [[Special:MyTalk|your talk page]]:<br /><code>{{unblock | reason=Your reason here ~~" + "~~}}</code><br />If you are having difficulties, please [https://utrs-beta.wmflabs.org/ make a request through UTRS] and inform them of the issues you are encountering.", |
||
| Line 224: | Line 225: | ||
ui.itemsLayout.push(ui.submitLayout = new OO.ui.FieldLayout(ui.submitButton = new OO.ui.ButtonWidget({ |
ui.itemsLayout.push(ui.submitLayout = new OO.ui.FieldLayout(ui.submitButton = new OO.ui.ButtonWidget({ |
||
label: msg('submit-label'), |
label: blockType == "IP_hardblock" ? msg('utrs-label') : msg('submit-label'), |
||
flags: [ 'progressive', 'primary' ], |
flags: [ 'progressive', 'primary' ], |
||
}))); |
}))); |
||