Utente:Codicorumus/MostraModifiche.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
add rawcontinue URL parameter to make this work with the recent API change - see https://lists.wikimedia.org/pipermail/wikitech-l/2015-June/081931.html
m Maintenance: Replacing legacy global variable (phab:T72470)
 
Riga 82:
function mostraModificheLoadDiff(oldid,diffDir)
{
var url = "/w/index.php?title=" + encodeURIComponent(mw.config.get('wgPageName'));
url += "&diff=" + diffDir;
url += "&oldid=" + oldid;
Riga 204:
{
var url = "/w/api.php?action=query&rawcontinue=&prop=revisions&format=xml";
url += "&titles=" + encodeURIComponent(mw.config.get('wgPageName')) + "&rvprop=ids|timestamp|user|comment";
url += "&rvlimit=" + revCount;
if (rvStartId != 0) url += "&rvstartid=" + rvStartId;