מדיה ויקי:Gadget-TemplatesExternalLinks.js: הבדלים בין גרסאות בדף
אופסי! |
PalPost כמו כולנה |
||
| שורה 72: | שורה 72: | ||
"חבצלת": [1,2,22,3,7,0,23], | "חבצלת": [1,2,22,3,7,0,23], | ||
"המליץ": [1,2,22,3,7,0,23], | "המליץ": [1,2,22,3,7,0,23], | ||
"PalPost": [1,2,22,3,7,0,23], | |||
'תנ"ך': [8,9,10], | 'תנ"ך': [8,9,10], | ||
"nrg": [1,2,3,4,0,19,20], | "nrg": [1,2,3,4,0,19,20], | ||
| שורה 82: | שורה 83: | ||
"NFC":[1,2,3,4], | "NFC":[1,2,3,4], | ||
"Onlife":[1,2,3,4], | "Onlife":[1,2,3,4], | ||
"TheMarker":[1,2,3,4], | "TheMarker":[1,2,3,4], | ||
"ynet":[1,2,3,4,0,5,25], | "ynet":[1,2,3,4,0,5,25], | ||
| שורה 189: | שורה 189: | ||
// these guys are all the same - it's best to handle them as such. | // these guys are all the same - it's best to handle them as such. | ||
var historic = {"דבר": "DAV", "מעריב": "MAR", "הצבי": "HZV", "הצפירה": "HZF", "המגיד": "MGD", "המליץ": "HMZ", "חבצלת": "HZT"}; | var historic = {"דבר": "DAV", "מעריב": "MAR", "הצבי": "HZV", "הצפירה": "HZF", "המגיד": "MGD", "המליץ": "HMZ", "חבצלת": "HZT", "PalPost": "PLS"}; | ||
var histregex = {regex: /=HISTNAME\/(\d{4}\/\d{1,2}\/\d{1,2})(?:.*&EntityId=|\/\d+\/)(Ar|Ad|Pc)(\d+)/i, params:[3,7,4], replace: [[/%2F/gi, '/']]}; | var histregex = {regex: /=HISTNAME\/(\d{4}\/\d{1,2}\/\d{1,2})(?:.*&EntityId=|\/\d+\/)(Ar|Ad|Pc)(\d+)/i, params:[3,7,4], replace: [[/%2F/gi, '/']]}; | ||
for (var template in historic) { | for (var template in historic) { | ||