מייבאים כמותיים, בדוקי עריכות אוטומטית, ביוראקראטן, אינטערפעיס רעדאקטארן, emailconfirmed, אינטערפעיס אדמיניסטראַטאָרן, מנטרים, סיסאפן, צוות טכני, מייבאים, מעדכנים, אספקלריה רעדאקטארן
102,362
רעדאגירונגען
ק (חכמי מעדיעוויקי שטעלן עס נישט צו ביים רעדאגירן) צייכן: צוריקדריי |
אין תקציר עריכה |
||
| שורה 238: | שורה 238: | ||
}, | }, | ||
articleOrgChecks: function () { | articleOrgChecks: function () { | ||
this.descriptionInsert(); | |||
this.interwikiInsert(); | |||
this.titleOrderCheck(); | this.titleOrderCheck(); | ||
this.checkRefs(); | this.checkRefs(); | ||
| שורה 1,211: | שורה 1,213: | ||
} | } | ||
this.textbox.value = wikitext; | this.textbox.value = wikitext; | ||
} | |||
}, | |||
descriptionInsert: function () { | |||
var wikitext = this.textbox.value; | |||
// check whether description is empty | |||
if (!wikitext.includes('{דעסקריפציע|')) { | |||
// insert description | |||
var desc = prompt('ווילט איר צולייגן דעסקריפציע?\nשטעלט אריין א שילדערונג מיט געציילטע ווערטער'); | |||
if (desc) { | |||
this.textbox.value = '{' + '{דעסקריפציע|' + desc + '}}\n' + wikitext; | |||
chectTyTool.addSummary('צוגעלייגט דעסקריפציע'); | |||
} | |||
} | |||
}, | |||
interwikiInsert: function () { | |||
var wikitext = this.textbox.value; | |||
// check whether hebrew is not lnked | |||
if (!wikitext.toLowerCase().includes('[' + '[he:')) { | |||
// insert interlink | |||
var inter = prompt('ווילט איר פארבינדן צו המכלול העברי?\nשטעלט אריין דעם נאמען פון דארטיגן ערך'); | |||
if (inter) { | |||
this.textbox.value = wikitext + '\n[' + '[he:' + inter + ']]'; | |||
chectTyTool.addSummary('צוגעלייגט אינטערשפראך לינק'); | |||
} | |||
} | } | ||
}, | }, | ||
| שורה 1,271: | שורה 1,297: | ||
rawLinks: function () { | rawLinks: function () { | ||
var wikitext = this.textbox.value.replaceAll('רוי:', ''); | var wikitext = this.textbox.value.replaceAll('רוי:', ''); | ||
this.textbox.value = wikitext; | if (wikitext != this.textbox.value) { | ||
this.textbox.value = wikitext; | |||
chectTyTool.addSummary('אראפגענומען דירעקטע רוי לינקס'); | |||
} | |||
}, | }, | ||
overlinkify: function () { | overlinkify: function () { | ||
רעדאגירונגען