משתמש:Bharel/סקריפט 64/AllTemplates.js – הבדלי גרסאות
תוכן שנמחק תוכן שנוסף
אין תקציר עריכה |
אין תקציר עריכה |
||
שורה 1: | שורה 1: | ||
/* |
|||
Each template is an object with the following attributes: |
|||
name: template name to show as the link text |
|||
template: template's page name (to be included in user talk) |
|||
description: hover description |
|||
The following attributes are optional: |
|||
watch: To watch or unwatch user talk page. |
|||
noPage: Don't include the page as first argument in the template. |
|||
title: By default, the new section's title is the page name. |
|||
Override the default title naming and put this one instead. |
|||
noTitle: Don't create a new section when adding the template. |
|||
Does not work with title. |
|||
noLinkTitle: Section title should not be a link to the page. |
|||
Does not work with title. |
|||
askExtra: |
|||
Object with one of the following: |
|||
confirm: confirm dialog. |
|||
Accepting will add param to template |
|||
prompt: prompt dialog. |
|||
Submitting will adds param together with prompt value |
|||
*/ |
|||
{ |
{ |
||
"deletionWarnings": [ |
"deletionWarnings": [ |
||
שורה 24: | שורה 45: | ||
}, |
}, |
||
{ |
{ |
||
"name": "אומנם", |
|||
"template": "ס:אומנם", |
|||
"noPage": true, "noTitle": true, "anon": true |
|||
}, |
}, |
||
{ |
{ |
||
"name":"הוספת שטויות", |
|||
"template":"ס:הוספת שטויות לדפים", |
|||
"noPage":true, "noTitle":true, "anon": true |
|||
}, |
|||
{ |
|||
"name":"שם בעייתי", |
|||
"template":"שם בעייתי", |
|||
"noPage":true, "anon": false |
|||
}, |
|||
{ |
|||
"name":"השחתה", |
|||
"template":"השחתה", |
|||
"noPage":true, "anon": true |
|||
} |
} |
||
], |
], |
גרסה מ־02:13, 11 בינואר 2019
/*
Each template is an object with the following attributes:
name: template name to show as the link text
template: template's page name (to be included in user talk)
description: hover description
The following attributes are optional:
watch: To watch or unwatch user talk page.
noPage: Don't include the page as first argument in the template.
title: By default, the new section's title is the page name.
Override the default title naming and put this one instead.
noTitle: Don't create a new section when adding the template.
Does not work with title.
noLinkTitle: Section title should not be a link to the page.
Does not work with title.
askExtra:
Object with one of the following:
confirm: confirm dialog.
Accepting will add param to template
prompt: prompt dialog.
Submitting will adds param together with prompt value
*/
{
"deletionWarnings": [
{"name":"הבל", "template": "הבל", "description":"הוספת אזהרת הבל", "noLinkTitle": true},
{"name":"נמחק", "template": "נמחק", "description":"הוספת תבנית מחיקה", "noLinkTitle": true},
{"name":"ניסוי נמחק", "template": "נמחק ניסויים", "description":"הוספת תבנית מחיקה של ניסוי", "noLinkTitle": true},
{"name":"פרסום", "template": "פרסומת", "description":"הוספת תבנית פרסומת", "noLinkTitle": true},
{"name":"הועתק", "template": "העתקה", "description":"הוספת אזהרת העתקה"},
{"name":"תרגום מכונה", "template": "תרגום מכונה", "description":"הוספת אזהרת תרגום מכונה", "noLinkTitle": true}
],
"blockWarnings": [
{
"name":"נחסמת", "template": "נחסמת",
"description":"הודעה למשתמש שנחסם",
"askExtra": {"prompt": "סיבת החסימה", "param": "|"},
"noPage": true,
"title": "נחסמת"
},
{
"name": "כתובת IP חסומה",
"template": "ס:משתמש:Bharel/תבניות/כתובת IP חסומה",
"description": "הודעה לIP שנחסם לטווח ארוך",
"noPage": true, "prepend":true, "noTitle": true, "anon": true
},
{
"name": "אומנם",
"template": "ס:אומנם",
"noPage": true, "noTitle": true, "anon": true
},
{
"name":"הוספת שטויות",
"template":"ס:הוספת שטויות לדפים",
"noPage":true, "noTitle":true, "anon": true
},
{
"name":"שם בעייתי",
"template":"שם בעייתי",
"noPage":true, "anon": false
},
{
"name":"השחתה",
"template":"השחתה",
"noPage":true, "anon": true
}
],
"rollbackWarnings": [
{"name":"אזהרה", "template": "אזהרה לרשום",
"description":"הוספת תבנית אזהרה", "watch": false, "anon": false},
{"name":"אזהרה", "template": "אזהרה",
"description":"הוספת תבנית אזהרה", "watch": false, "anon": true},
{"name":"לך", "template": "לך",
"description":"הוספת תבנית לך", "watch": false},
{"name":"ניסוי", "template": "ניסויים",
"description":"הוספת תבנית ניסויים", "watch": false},
{"name":"בוטל", "template": "בוטל",
"description":"הוספת תבנית בוטל",
"askExtra": {"prompt": "סיבת הביטול", "param": "|סיבה="}, "watch": true},
{"name":"חזרה", "template": "חזרה על עריכה",
"description":"הוספת תבנית חזרה על עריכה"},
{"name":"פרסום", "template": "פרסומת",
"description":"הוספת תבנית פרסומת", "watch": false},
{"name":"שגיאה", "template": "שגיאה",
"description":"הוספת תבנית שגיאה", "watch": false},
{"name":"העתקה", "template": "העתקה",
"description":"הוספת תבנית העתקה",
"askExtra": {"prompt": "מקור", "param": "|"}, "watch": false, "anon": true},
{"name":"העתקה", "template": "העתקה לרשום",
"description":"הוספת תבנית העתקה", "anon": false,
"askExtra": {"prompt": "מקור", "param": "|"}, "watch": false},
{"name":"הסבר", "template": "הסבר",
"description":"הוספת תבנית הסבר",
"askExtra": {"confirm": "בוטל ? (ביטול=לא)", "param": "|בוטל=כן"}, "watch": true},
{"name":"שימוש בשיחה", "template": "שימוש בדף השיחה",
"description":"הוספת תבנית שימוש בדף השיחה", "watch": false},
{"name":"מילון", "template": "מילון",
"description":"הוספת תבנית מילון", "watch": false, "anon": true},
{"name":"מילון", "template": "מילון לרשום", "anon": false,
"description":"הוספת תבנית מילון", "watch": false},
{"name":"סגנון", "template": "סגנון",
"description":"הוספת תבנית סגנון", "watch": false},
{"name":"ויקיזציה", "template": "ויקיזציה",
"description":"הוספת תבנית ויקיזציה", "watch": false},
{"name":"טעות", "template": "טעות",
"description":"הוספת תבנית טעות", "watch": false},
{"name":"לא במקום", "template": "לא במקום",
"description":"הוספת תבנית לא במקום", "watch": false},
{"name":"נייטרליות", "template": "נייטרליות",
"description":"הוספת תבנית נייטרליות", "watch": false},
{"name":"קישור מבוטל", "template": "קישור מבוטל",
"description":"הוספת תבנית קישור מבוטל"},
{"name":"משוב שגוי", "template": "ס:משוב שגוי",
"description":"הוספת תבנית משוב שגוי", "watch": false},
{"name":"מחקת שיחה", "template": "מחקת שיחה",
"description":"הוספת תבנית מחקת שיחה", "watch": false},
{"name":"בה", "template": "בה",
"description":"הוספת תבנית ברוך בואך",
"noPage": true, "noTitle": true, "anon": false},
{"name":"תודה", "template": "תודה לרשום",
"description":"הוספת תבנית תודה", "anon": false},
{"name":"תודה", "template": "תודה",
"description":"הוספת תבנית תודה", "anon": true},
{"name":"הזמנה", "template": "הזמנה",
"description":"הוספת תבנית הזמנה", "anon": true},
{"name":"הצטרפו אלינו", "template": "הצטרפו אלינו",
"description":"הוספת תבנית הצטרפו אלינו", "anon": true},
{"name":"התנחלות", "template": "התנחלות",
"description":"הוספת תבנית התנחלות"}
]
}