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

update
(אפדעיט)
(update)
שורה 149: שורה 149:
params: [
params: [
{ str: 'mynet3' },
{ str: 'mynet3' },
{ telem: '.MynetBreadcrumbsComponenta a:first', remove: ['MYNET ', 'mynet ', 'מיינט '], func:function(s) { return s=='עפולה ועמק'?'העמק':s; } },
{ attr: ["meta[property='channel-name']", "content"] , remove: ['MYNET ', 'mynet ', 'מיינט '], func:function(s) { return s=='עפולה ועמק'?'העמק':s; } },
{ telem: 'div.authors' },
{ telem: 'div.authors' },
{ telem: 'h1.mainTitle' },
{ telem: 'h1.mainTitle' },
שורה 191: שורה 191:
{ attr: ["meta[name='author']", "content"] }
{ attr: ["meta[name='author']", "content"] }
],
],
{ telem: 'header h1' },
[
{ telem: 'header h1' },
{ attr: ['meta[property="og:title"]', 'content'] }
],
{ url: 1, match: /([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/, addParam: 'gift' },
{ url: 1, match: /([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/, addParam: 'gift' },
[
[
שורה 335: שורה 338:
params: [
params: [
{ str: 'בחדרי חרדים' },
{ str: 'בחדרי חרדים' },
{ telem: 'div.meta-info.article-place .date:first > a' },
{ ldjson: { key:'author' } },
{ elem: '.article-heading h1:first' },
{ attr: ["meta[property='og:title']", "content"] },
[
[
{ url: 1, match: /news\/(\d+)/ },
{ url: 1, match: /news\/(\d+)/ },
{ var: 'userid' }
{ var: 'userid' }
],
],
{ telem: 'div.meta-info.article-place .date:first', date: '/' }
{ ldjson: { key:'datePublished' } }
]
]
},
},
שורה 531: שורה 534:
{ attr: ["meta[property='article:published']", "content"], date:['-',[2,1,0]] },
{ attr: ["meta[property='article:published']", "content"], date:['-',[2,1,0]] },
{ telem: ".author-bar li:eq(1), .h3_date, div.art__info time", date: '.' },
{ telem: ".author-bar li:eq(1), .h3_date, div.art__info time", date: '.' },
{ telem: ".inner_bar", date:'/'}
{ telem: ".inner_bar", date:'/'},
{ telem: 'time', remove: [ /\d\d\:\d\d\, / ], removeDatePadding: true }
],
],
{ url: 1, match: /\/\/(.*?).themarker/i, defvalue: "www" }
{ url: 1, match: /\/\/(.*?).themarker/i, defvalue: "www" }