Content deleted Content added
(bot/CD) |
(bot/CD) |
||
Line 3,579:
var version = "0.4.2";
var gitAbbrevHash = "
var gitBranch = "main";
var gitDate = "
var gitVersion = "0.4.2+
/**
Line 4,060:
return __awaiter(this, void 0, void 0, function* () {
if (sectionId == null) {
if (this.closed && this.rows.some(r =>
throw new
});▼
}
return MwApi.action.postWithEditToken({
Line 4,195 ⟶ 4,194:
}
}), (error) => {
OO.ui.alert(error.message, {
title: mw.msg('deputy.session.section.failed')
▲ });
console.error(error);
saveContainer.classList.remove('active');
Line 4,204 ⟶ 4,206:
const closingWarning = DeputyMessageWidget({
classes: ['dp-cs-section-unfinishedWarning'],
type: '
label: mw.msg('deputy.session.section.
});
closingWarning.toggle(false);
const updateClosingWarning = (() => {
this.saveButton.setDisabled(incomplete);
closingWarning.toggle(incomplete);
});
const closingCommentsField = new OO.ui.FieldLayout(this.closingComments, {
Line 4,237 ⟶ 4,241:
else {
closingWarning.toggle(false);
this.saveButton.setDisabled(false);
this.rows.forEach((row) => {
row.removeEventListener('update', updateClosingWarning);
Line 13,547 ⟶ 13,552:
"deputy.session.section.closeComments": "Archiving comments",
"deputy.session.section.closeHelp": "Your signature will automatically be included.",
"deputy.session.section.
"deputy.session.section.closeWarn": "You have unsaved changes. Close the section without saving?",
"deputy.session.section.stop": "Stop session",
Line 13,553 ⟶ 13,558:
"deputy.session.section.failed": "Failed to save section",
"deputy.session.section.missingSection": "The target section is missing from the case page.",
"deputy.session.section.sectionIncomplete": "The target section still has unreviewed rows.",
"deputy.session.section.conflict.title": "Edit conflict",
"deputy.session.section.conflict.help": "Someone else edited the page before you. Deputy will restart to load the new case content. Your changes will be preserved.",
Line 13,581 ⟶ 13,587:
"deputy.session.row.checked.talk": "talk",
"deputy.session.row.checked.contribs": "contribs",
"deputy.session.revision.assessed": "Mark as assessed",
"deputy.session.revision.cur": "cur",
"deputy.session.revision.prev": "prev",
|