בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,362
רעדאגירונגען
אין תקציר עריכה |
אין תקציר עריכה |
||
| (4 צווישנדיגע ווערסיעס פונעם זעלבן באַניצער נישט געוויזן) | |||
| שורה 1: | שורה 1: | ||
/* This code | /* This code runs in different sites as bookmarklet */ | ||
function wikiit(event, force_popup) { | function wikiit(event, force_popup) { | ||
window.$ = window.jQuery; | window.$ = window.jQuery; | ||
| שורה 122: | שורה 122: | ||
if (window.location.host.includes("hamichlol")) { | if (window.location.host.includes("hamichlol")) { | ||
getWikiLink(); | if (getWikiLink()) { | ||
if (window.old$) { window.$ = window.old$; } | |||
return; | |||
} | |||
} | } | ||
| שורה 130: | שורה 133: | ||
var data = [ | var data = [ | ||
{ | { | ||
hostname: /yediot(h)?(.ynet)?\.co\.il/, | hostname: /yediot(h)?(.ynet)?\.co\.il/, | ||
| שורה 410: | שורה 403: | ||
[ | [ | ||
{ url: 1, match: /news\/(\d+)/ }, | { url: 1, match: /news\/(\d+)/ }, | ||
{ var: 'userid' } | |||
], | |||
{ ldjson: { key:'datePublished' } } | |||
] | |||
}, | |||
{ | |||
hostname: "www.kore.co.il", | |||
params: [ | |||
{ str: 'כל רגע' }, | |||
{ ldjson: { key:'author' } }, | |||
{ attr: ["meta[property='og:title']", "content"], remove:[' - כל רגע'] }, | |||
[ | |||
{ url: 1, match: /viewArticle\/(\d+)/ }, | |||
{ var: 'userid' } | { var: 'userid' } | ||
], | ], | ||
| שורה 1,929: | שורה 1,935: | ||
return k + '=' + cleanText(jQuery.trim(decodeURIComponent($('<a />').html(v).text()))); | return k + '=' + cleanText(jQuery.trim(decodeURIComponent($('<a />').html(v).text()))); | ||
}).join('|') + '}}'; | }).join('|') + '}}'; | ||
if (window.addWikiNote) gresult = '{{הערה|' + gresult + '}}'; | |||
if (prompt("דרוקן OK וועט קאפּירן דעם מוסטער:", gresult) != null) { | if (prompt("דרוקן OK וועט קאפּירן דעם מוסטער:", gresult) != null) { | ||
$('<input>').val(gresult).appendTo('body').select();document.execCommand('copy'); | $('<input>').val(gresult).appendTo('body').select();document.execCommand('copy'); | ||
רעדאגירונגען