אונטערשייד צווישן ווערסיעס פון "מעדיעוויקי:Common.js/externalsmaker.js"

אפדעיט
(ניש איז ניש)
(אפדעיט)
שורה 43: שורה 43:
.replace(/ |\u202B-\u202d/gm, " "
.replace(/ |\u202B-\u202d/gm, " "
.replace(/\s+/gm, ' '))
.replace(/\s+/gm, ' '))
.replace('—', '-')
.replace(/&[mn]dash;/g, '-')
.replace('"', '"')
.replace('"', '"')
.replace(' ', ' ')
.replace('״', '"')
.replace('׳', "'")
.replace(/(\n|\r)/g, ' ')
.replace(/=/g, "{{=}}")
.replace(/=/g, "{{=}}")
.replace(/''/g, '"')
.replace(/''/g, '"')
.replace(/((?<!עיתונות)\|\|?)/gm, function (x) { return "{{" + x.replace(/\|/g, "!") + "}}"; })
.replace(/((?<!עיתונות)\|\|?)/gm, function (x) { return "{{" + x.replace(/\|/g, "!") + "}}"; })
.replace(/[\u200B\u200E\u200F\u2028\u202A\u202B\u202C\u202D\u202E]/g, ''); // remove invisible Unicode control characters
.replace(/[\u200B\u200E\u200F\u2028\u202A\u202B\u202C\u202D\u202E]/g, '') // remove invisible Unicode control characters
.replace(/ {2,}/g, ' ');
}
}


שורה 547: שורה 552:
{ telem: ".calcalistArticleHeader_footer .date", date: '.'}
{ telem: ".calcalistArticleHeader_footer .date", date: '.'}
]
]
]
},
{
hostname: "newmedia.calcalist.co.il",
params: [
{ str: 'מוסף כלכליסט' },
{ telem: ".credit" },
[
{ telem: "div.head-container > h1.head-2" },
{ attr: ['meta[property="og:title"]', 'content'], remove: [' | מוסף כלכליסט'] }
],
{ url: 1, match: /\.il\/magazine-(.*?)\.html/ }
]
]
},
},