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

From Test Wiki
Content deleted Content added
No edit summary
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-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.",
"captcha-label": "Please enter the letters appearing in the box below",
"captcha-label": "Please enter the letters appearing in the box below",
Line 376: Line 376:
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)) {
} else if (!("id" in block)) {
setMainStatus('warning', msg('status-not-blocked'));
setMainStatus('warning', msg('status-not-blocked'));
} else {
} else {