„Szerkesztő:AntiVandal/recent2.js” változatai közötti eltérés

Tartalom törölve Tartalom hozzáadva
AntiVandal (vitalap | szerkesztései)
aNincs szerkesztési összefoglaló
AntiVandal (vitalap | szerkesztései)
aNincs szerkesztési összefoglaló
1. sor:
// -*- mode:java; coding:utf-8 -*-
 
/*
 
66 ⟶ 68 sor:
window.getWatchlist=function() {
window.gettingWatchlist=true;
recent2.download({url: 'http://hu.wikipedia.org/wiki/SpeciálisSpecial:Watchlist/edit',
onSuccess: processWatchlist, onFailure: function () { recent2.runOnce(getWatchlist, 15000); return true; }});
}
90 ⟶ 92 sor:
recent2.runOnce.timers=[];
 
var feed='http://hu.wikipedia.org/w/index.php?title=SpeciálisSpecial:Recentchanges&feed=rss';
 
window.newOutputDiv=function(klass, position, immortal) {
510 ⟶ 512 sor:
window.maybeStart=function() {
var loc=document.location.href;
if (RegExp('User:AntiVandal[A-Za-z0-9_]*/Friss[_ ]v%C3%A1ltoztat%C3%A1sok[_ ]sz%C5%B1r%C3%A9se','i').test(loc)) {
recent2.filter_badwords=true;
recent2.runOnce(marvin, 1000);
}
else if (RegExp('User:AntiVandal[A-Za-z0-9_]*/Minden[_ ]friss[_ ]szerkeszt%C3%A9s','i').test(loc)) {
recent2.filter_badwords=false;
recent2.runOnce(marvin, 1000);
}
else if (RegExp('User:AntiVandal[A-Za-z0-9_]*/Legut%C3%B3bbi[_ ]anonim[_ ]szerkeszt%C3%A9sek','i').test(loc)) {
recent2.filter_anonsOnly=true;
recent2.runOnce(marvin, 1000);
}
else if (RegExp('User:AntiVandal/Figyel%C5%91lista[_ A-Za-z0-9_]sz%C5%B1r%C3%A9se*/Figyel', 'i').test(loc)) {
recent2.filter_watchlist=true;
recent2.runOnce(marvin, 1000);