מדיה ויקי:Gadget-TemplatesExternalLinks.js: הבדלים בין גרסאות בדף
שֵם והערה. |
לאייל הקורא יש כמה צורות קישור (טל, אתה יכול להסביר את זה?) |
||
| שורה 127: | שורה 127: | ||
var regexes = { | var regexes = { | ||
"nrg": {regex: /\/online\/([^\/]+)\/ART([^\/]+)\/([^\.]+).html/i, params:[6,7,3]}, | "nrg": {regex: /\/online\/([^\/]+)\/ART([^\/]+)\/([^\.]+).html/i, params:[6,7,3]}, | ||
"Google book": { regex: /\/books\?id=([^&]+)/i, params:[1]}, | "Google book": { regex: /\/books\?id=([^&]+)/i, params:[1]}, | ||
"NFC": {regex: /Archive\/([^\.]+)\.html/i, params:[3]}, | "NFC": {regex: /Archive\/([^\.]+)\.html/i, params:[3]}, | ||
| שורה 136: | שורה 135: | ||
"TheMarker": {regex: /http:\/\/(?:www\.){0,1}themarker\.com\/tmc\/article\.jhtml\?ElementId=([^&\/\.]+)/i, params:[3]}, | "TheMarker": {regex: /http:\/\/(?:www\.){0,1}themarker\.com\/tmc\/article\.jhtml\?ElementId=([^&\/\.]+)/i, params:[3]}, | ||
"ynet": {regex: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00.html/i, params:[7,6,3]}, | "ynet": {regex: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00.html/i, params:[7,6,3]}, | ||
"Mooma": {regex: /\?ArtistId=(\d+)/i, params:[1]}, | |||
"HebrewBooksPage": {regex: /pdfpager\.aspx\?.*req=(\d+).*&pgnum=(\d+)/i, params:[3,5]}, | |||
"בחדרי חרדים" : { regex: /\/Article\.aspx\?id=(\d+)/i, params:[3]}, | |||
"וואלה!": {regex: /news\.walla\.co\.il\/?w=\/(\d+)(?:\/)(\d+)/i, params:[6,2]}, | "וואלה!": {regex: /news\.walla\.co\.il\/?w=\/(\d+)(?:\/)(\d+)/i, params:[6,2]}, | ||
"גלובס": {regex: /\/news\/article.aspx\?did=(\d+)/i, params:[3]}, | "גלובס": {regex: /\/news\/article.aspx\?did=(\d+)/i, params:[3]}, | ||
"כלכליסט": {regex: /\/articles\/(\d+),7340,L-(\d+),00/i, params:[6,3]}, | "כלכליסט": {regex: /\/articles\/(\d+),7340,L-(\d+),00/i, params:[6,3]}, | ||
"נענע10": {regex: /http:\/\/([a-z]*)\.nana10\.co\.il\/Article\/\?ArticleID=(\d+)/i, params:[6,3]}, | "נענע10": {regex: /http:\/\/([a-z]*)\.nana10\.co\.il\/Article\/\?ArticleID=(\d+)/i, params:[6,3]}, | ||
"דבר": {regex: /=DAV\/(\d{4}\/\d{1,2}\/\d{1,2})&EntityId=(Ar|Ad|Pc)(\d+)/i, params:[3,6,4]}, | "דבר": {regex: /=DAV\/(\d{4}\/\d{1,2}\/\d{1,2})&EntityId=(Ar|Ad|Pc)(\d+)/i, params:[3,6,4]}, | ||
"אנציקלופדיה ynet": {regex: /\/yaan\/0,7340,L-(\d+)-([^-]*)-FreeYaan,00.html/i, params:[2,3]}, | "אנציקלופדיה ynet": {regex: /\/yaan\/0,7340,L-(\d+)-([^-]*)-FreeYaan,00.html/i, params:[2,3]}, | ||
| שורה 147: | שורה 148: | ||
"בלדד השוחי": {regex: /ArticleID(\d*)/i, params:[1]}, | "בלדד השוחי": {regex: /ArticleID(\d*)/i, params:[1]}, | ||
"בשבע": {regex: /Article.aspx\/(\d+)\//i, params:[3]}, | "בשבע": {regex: /Article.aspx\/(\d+)\//i, params:[3]}, | ||
"האייל הקורא": {regex: / | "האייל הקורא": {regex: /story(?:_|\?id=)(\d+)/i, params:[3]}, | ||
"הידען": {regex: /hayadan\.org\.il\/([^\/]*)/i, params:[3]}, | "הידען": {regex: /hayadan\.org\.il\/([^\/]*)/i, params:[3]}, | ||
"המאסף": {regex: /notimportant\.co\.il\/?p=(\d+)/i, params:[3]}, | "המאסף": {regex: /notimportant\.co\.il\/?p=(\d+)/i, params:[3]}, | ||
| שורה 173: | שורה 174: | ||
":אנצ דעת": {regex: /value\.asp\?id1=(\d+)/i, params:[1]}, | ":אנצ דעת": {regex: /value\.asp\?id1=(\d+)/i, params:[1]}, | ||
"דעת": {regex: /(?:www\.)?daat\.ac\.il\/(.*)/i, params:[2]}, | "דעת": {regex: /(?:www\.)?daat\.ac\.il\/(.*)/i, params:[2]}, | ||
"פנאי פלוס": {regex: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00\.html/i, params:[7,6,3]} | "פנאי פלוס": {regex: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00\.html/i, params:[7,6,3]} | ||