משתמש:מ. רובין/ברוך הבא.js – הבדלי גרסאות
יצירת דף עם התוכן "$(() => { const userToolLinks = document.querySelectorAll(".mw-usertoollinks"); userToolLinks.forEach((element) => { const noContributes = element.querySelector( "a.mw-usertoollinks-contribs.new" ); const noTalk = element.querySelector("a.mw-usertoollinks-talk.new"); if (noContributes != null || noTalk == null) return; const talkPage = noTalk.title.replace("(הדף אינו קיים)", ""); const span = document.createEleme..." |
API |
||
| שורה 29: | שורה 29: | ||
utf8: 1, | utf8: 1, | ||
}; | }; | ||
$.getJSON(" | $.getJSON("/api.php", params, function (data) { | ||
if (data.query.pages["-1"]) { | if (data.query.pages["-1"]) { | ||
$.ajax({ | $.ajax({ | ||