מדיה ויקי:Common.js/externalsmaker.js – הבדלי גרסאות
אין תקציר עריכה |
hageula: add premative support for non-news sections |
||
| שורה 101: | שורה 101: | ||
params: [ | params: [ | ||
{ str: 'קישור הגאולה' }, | { str: 'קישור הגאולה' }, | ||
{ str: location.href, match: /hageula.com\/ | { str: location.href, match: /hageula.com\/[^/]+\/([^/]+)\/\d+\.html/ }, | ||
{ str: location.href, match: /hageula.com\/ | { str: location.href, match: /hageula.com\/[^/]+\/[^/]+\/(\d+)\.html/ }, | ||
{ telem: 'h1:first' }, | { telem: 'h1:first' }, | ||
{ elem: ['a[href^="/author"]', 'parent', 'text'], remove:"מערכת האתר"}, | { elem: ['a[href^="/author"]', 'parent', 'text'], remove:"מערכת האתר"}, | ||
{ telem: 'table.Aborder tr:first td:last div', split:'.', func:dateFormat} | { telem: 'table.Aborder tr:first td:last div', split:'.', func:dateFormat}, | ||
{ str: location.href, match: /hageula.com\/([^/]+)\/[^/]+\/\d+\.html/, defvalue:'news'} | |||
] | ] | ||
}, | }, | ||