מדיה ויקי:Gadget-TemplatesExternalLinks.js: הבדלים בין גרסאות בדף
. |
. |
||
| שורה 180: | שורה 180: | ||
"ספר פרויקט גוטנברג": {regex: /ebooks\/(\d+)/i, params:[3]}, | "ספר פרויקט גוטנברג": {regex: /ebooks\/(\d+)/i, params:[3]}, | ||
"תכלת": {regex: /article\.php\?id=(\d+)/i, params:[3]}, | "תכלת": {regex: /article\.php\?id=(\d+)/i, params:[3]}, | ||
":אנצ דעת": {regex: /value\.asp\?id1=(\d+)/i, params:[1] | ":אנצ דעת": {regex: /value\.asp\?id1=(\d+)/i, params:[1]}, | ||
"דעת": {regex: /(?:www\.)?daat\.ac\.il\/(.*)/i, params:[2]}, | "דעת": {regex: /(?:www\.)?daat\.ac\.il\/(.*)/i, params:[2, , problematic:1]}, | ||
"פנאי פלוס": {regex: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00\.html/i, params:[7,6,3]} | "פנאי פלוס": {regex: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00\.html/i, params:[7,6,3]} | ||
} | } | ||
| שורה 194: | שורה 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 | doc.problematic = regexDict && regexDict.problematic; | ||
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; | ||