מדיה ויקי:Gadget-wikibugs-patrol.js: הבדלים בין גרסאות בדף
Maintenance: mw:RL/MGU - Updated deprecated user.tokens key |
מ 11 גרסאות של הדף wikipedia:he:מדיה_ויקי:Gadget-wikibugs-patrol.js יובאו |
||
| (גרסת ביניים אחת של משתמש אחר אחד אינה מוצגת) | |||
| שורה 31: | שורה 31: | ||
var summ = prompt('כותרת הדיווח:', 'דיווח שאורכב ב-{{ס:'+'#זמןמ:d xg Y}}'); | var summ = prompt('כותרת הדיווח:', 'דיווח שאורכב ב-{{ס:'+'#זמןמ:d xg Y}}'); | ||
if(summ === null) return; | if(summ === null) return; | ||
var articleName = $(this).parents('h2').find('a:first').prop('title').replace(' (הדף אינו קיים)', ''), | var articleName = $(this).parents('h2').find('.mw-headline a:first').prop('title').replace(' (הדף אינו קיים)', ''), | ||
sectionNum = $(this).parent().find('a').attr('href').match(/section=(.*)/)[1], | sectionNum = $(this).parent().find('a').attr('href').match(/section=(.*)/)[1], | ||
api = new mw.Api(); | api = new mw.Api(); | ||
| שורה 58: | שורה 58: | ||
var summ = prompt('תקציר עריכה למחיקת הדיווח:'); | var summ = prompt('תקציר עריכה למחיקת הדיווח:'); | ||
if(summ === null) return; | if(summ === null) return; | ||
var articleName = $(this).parents('h2').find('a:first').prop('title').replace(' (הדף אינו קיים)', ''), | var articleName = $(this).parents('h2').find('.mw-headline a:first').prop('title').replace(' (הדף אינו קיים)', ''), | ||
sectionNum = $(this).parent().find('a').attr('href').match(/section=(.*)/)[1], | sectionNum = $(this).parent().find('a').attr('href').match(/section=(.*)/)[1], | ||
api = new mw.Api(); | api = new mw.Api(); | ||