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

From Test Wiki
Content deleted Content added
test
experimental bullshit
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-error": "Due to an error, your unblock request could not be parsed. You can try to submit an <b>unblock</b> request manually by pasting the following to your talk page:<br /><code>{{unblock | reason=Your reason here ~~" + "~~}}</code><br />If you are having difficulties, please 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 <b>unblock</b> [[request]] manually by pasting the following to your talk page:<br /><code>{{unblock | reason=Your reason here ~~" + "~~}}</code><br />If you are having difficulties, please 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",
"captcha-placeholder": "Enter the letters here",
"captcha-placeholder": "Enter the letters here",
Line 343: Line 343:
if (!ui.mainStatusLayout || !ui.mainStatusLayout.isElementAttached()) {
if (!ui.mainStatusLayout || !ui.mainStatusLayout.isElementAttached()) {
ui.fieldset.addItems([
ui.fieldset.addItems([
ui.mainStatusLayout = new OO.ui.FieldLayout(ui.mainStatusArea = new OO.ui.MessageWidget())
ui.mainStatusLayout = new OO.ui.FieldLayout(ui.mainStatusArea = new OO.ui.LabelWidget({
label: $('<div>')
.append(linkify(message))
}), {
align: 'top'
})
]);
]);
}
}