User:Chlod/Scripts/Deputy.js: Difference between revisions

Content deleted Content added
(bot/CD)
(bot/CD)
Line 346:
 
var version = "0.4.2";
var gitAbbrevHash = "60bc9e5e81fcbb";
var gitBranch = "main";
var gitDate = "Fri, 1 Sep 2023 0910:5813:3016 +0800";
var gitVersion = "0.4.2+g60bc9e5ge81fcbb";
 
/**
Line 6,547:
this.copiedTemplateRow[field] = value ?
window.moment(value, 'YYYY-MM-DD')
.locale(mw.config.get('enwgContentLanguage'))
.format('YYYY-MM-DDD MMMM Y') : undefined;
if (value.length > 0) {
this.fieldLayouts[field].setWarnings([]);
Line 7,681:
this.splitArticleTemplateRow[field] = value ?
window.moment(value, 'YYYY-MM-DD')
.locale(mw.config.get('enwgContentLanguage'))
.format('YYYY-MM-DDD MMMM Y') : undefined;
if (value.length > 0) {
fieldLayouts[field].setWarnings([]);
Line 8,193:
this.mergedFromTemplate[field] = value ?
window.moment(value, 'YYYY-MM-DD')
.locale(mw.config.get('enwgContentLanguage'))
.format('YYYY-MM-DDD MMMM Y') : undefined;
if (value.length > 0) {
fieldLayouts[field].setWarnings([]);
Line 8,428:
this.mergedToTemplate[field] = value ?
window.moment(value, 'YYYY-MM-DD')
.locale(mw.config.get('enwgContentLanguage'))
.format('YYYY-MM-DDD MMMM Y') : undefined;
if (value.length > 0) {
fieldLayouts[field].setWarnings([]);