מדיה ויקי:Gadget-TemplatesExternalLinks.js: הבדלים בין גרסאות בדף
העין השביעית |
תמיכה במילונים פרטיים |
||
| שורה 140: | שורה 140: | ||
if (typeof(templatesDic[key][i]) == "number") | if (typeof(templatesDic[key][i]) == "number") | ||
templatesDic[key][i] = constants[templatesDic[key][i]]; | templatesDic[key][i] = constants[templatesDic[key][i]]; | ||
if (typeof privateTemplates === "object") | |||
copyAttributes(templatesDic, privateTemplates); | |||
return templatesDic; | return templatesDic; | ||
} | } | ||
| שורה 205: | שורה 207: | ||
regexes[template] = lr; | regexes[template] = lr; | ||
} | } | ||
if (typeof privateRegexes === "object") | |||
copyAttributes(regexes, privateRegexes); | |||
return regexes[templateName]; | return regexes[templateName]; | ||
} | } | ||