User:Chaotic Enby/Unblock wizard.js: Difference between revisions
From Test Wiki
Content deleted Content added
Chaotic Enby (talk | contribs) rm debugs |
Chaotic Enby (talk | contribs) No edit summary |
||
| Line 68: | Line 68: | ||
"status-redirecting": "Submission succeeded. Redirecting you to your talk page ...", |
"status-redirecting": "Submission succeeded. Redirecting you to your talk page ...", |
||
"status-redirecting-utrs": "Submission succeeded. Redirecting you to UTRS ...", |
"status-redirecting-utrs": "Submission succeeded. Redirecting you to UTRS ...", |
||
"status-not-blocked": "You are not autoblocked.", |
|||
"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.", |
||
"captcha-label": "Please enter the letters appearing in the box below", |
"captcha-label": "Please enter the letters appearing in the box below", |
||
| Line 374: | Line 375: | ||
location.href = "https://utrs-beta.wmflabs.org/public/appeal/account"; |
location.href = "https://utrs-beta.wmflabs.org/public/appeal/account"; |
||
}, config.redirectionDelay); |
}, config.redirectionDelay); |
||
} else if (blockType == "Autoblock" && !("id" in block)) { |
|||
setMainStatus('warning', msg('status-not-blocked')); |
|||
} else { |
} else { |
||
for(var [i, label] of questionLabels.entries()){ |
for(var [i, label] of questionLabels.entries()){ |
||