מדיה ויקי:Gadget-TemplatesExternalLinks.js: הבדלים בין גרסאות בדף

כרגיל
TheMarker1
שורה 153: שורה 153:
"imdb name": [],
"imdb name": [],
"imdb company": [],
"imdb company": [],
"Google book": []
"Google book": [],
"TheMarker1": [1,2,3,4]
};
};
for (var key in templatesDic)
for (var key in templatesDic)
שורה 233: שורה 234:
"imdb name": {regex: /name\/nm(\d+)/i, params: [1]},
"imdb name": {regex: /name\/nm(\d+)/i, params: [1]},
"imdb company": {regex: /company\/co(\d+)/i, params: [1]},
"imdb company": {regex: /company\/co(\d+)/i, params: [1]},
"Google book" : {regex: /id=([^&]*)/, params: [1]}
"Google book" : {regex: /id=([^&]*)/, params: [1]},
"TheMarker1": {regex: /themarker\.com\/([^\?]+)/i, params: [3]}
}
}