Wikipedia:Monobook.js/LiveRC.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
aggiorno usando api.php al posto di query.php (ormai non piu' funzionante)
Riga 1 396:
if (document.getElementById('stopLive').checked) return;
 
var yurik = xmlreq.responseXML.getElementsByTagName('yurikapi')[0];
 
if (yurik.firstChild.nodeName == "error") return;
Riga 1 437:
if (document.getElementById('stopLive').checked) return;
 
var yurik = xmlreq.responseXML.getElementsByTagName('yurikapi')[0];
 
if (yurik.firstChild.nodeName == "error") return;
Riga 1 556:
if (lstHidden[rc.user] && !mitigating) continue;
 
wpajax.http({url: wgServer + wgScriptPath + '/queryapi.php?titles=' + encodeURIComponent(rc.title) + '&whataction=query&prop=redirects|categories&redirects&format=xml',
onSuccess: getRedirCat, rc: rc });
}
Riga 1 619:
log.state += SYSOP;
 
wpajax.http({url: wgServer + wgScriptPath + '/queryapi.php?titles=' + encodeURIComponent(log.title) + '&whataction=query&prop=redirects|categories&redirects&format=xml',
onSuccess: getRedirCat2, log: log });
}