מדיה ויקי:Gadget-TemplatesExternalLinks.js: הבדלים בין גרסאות בדף
problematic. כרגע רק "דעת" - בעתיד אולי תהיינה עוד. |
. |
||
| שורה 1: | שורה 1: | ||
//אשף תבניות קישורים | //אשף תבניות קישורים | ||
function createTemplate(doc) { | function createTemplate(doc) { | ||
| שורה 119: | שורה 118: | ||
"תכלת":[1,2,3,4], | "תכלת":[1,2,3,4], | ||
"אנצ דעת":[3,27], | "אנצ דעת":[3,27], | ||
"דעת":[1,39, | "דעת":[1,39,2], | ||
"ויקישיבה":["שם הערך בויקישיבה"], | "ויקישיבה":["שם הערך בויקישיבה"], | ||
"HebrewBooksPage": [1,8,3,4,40], | "HebrewBooksPage": [1,8,3,4,40], | ||
| שורה 195: | שורה 194: | ||
var popup = window.open("", "", "resizable=1,height="+height+",width=550,left="+left+",top="+top); | var popup = window.open("", "", "resizable=1,height="+height+",width=550,left="+left+",top="+top); | ||
var doc = popup.document; | var doc = popup.document; | ||
doc.problematic = regexDict && regexDict.problematic && true; | |||
copyAttributes(doc, { title: " הוספת תבנית: " + templateName, dir: "rtl", templateName: templateName, allFields:[] } ); | copyAttributes(doc, { title: " הוספת תבנית: " + templateName, dir: "rtl", templateName: templateName, allFields:[] } ); | ||
var body = doc.body; | var body = doc.body; | ||
| שורה 269: | שורה 269: | ||
body.appendChild(b); | body.appendChild(b); | ||
doc.refCheckBox.onchange(); | doc.refCheckBox.onchange(); | ||
} | } | ||