מדיה ויקי:Gadget-quickLinker.js: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 51: שורה 51:
  this.safeMode = safeMode;
  this.safeMode = safeMode;
  this.skipsCounter = 0;
  this.skipsCounter = 0;
  this.starttimestamp = null;
  this.timestamp = null;
  QuickEditorDialog.super.call( this, config );
  QuickEditorDialog.super.call( this, config );
}
}
שורה 85: שורה 87:
// Set up contents based on data
// Set up contents based on data
    this.searchData = data.searchData.query;
    this.searchData = data.searchData.query;
    this.starttimestamp = data.searchData.curtimestamp;
this.nextPage();
this.nextPage();
  }, this );
  }, this );
שורה 119: שורה 122:
minor: 1,
minor: 1,
basetimestamp: this.timestamp,
basetimestamp: this.timestamp,
starttimestamp: this.starttimestamp,
text: this.text,
text: this.text,
tags: 'quick linker'
tags: 'quick linker'
שורה 172: שורה 176:
this.curPage = page.title;
this.curPage = page.title;
this.text = pagecontent.replace(context, newContext)
this.text = pagecontent.replace(context, newContext)
this.timestamp = page.timestamp;
this.timestamp = page.revisions[0].timestamp;
}
}
else {
else {
שורה 250: שורה 254:
prop: 'revisions',
prop: 'revisions',
rvprop: 'content|timestamp',
rvprop: 'content|timestamp',
indexpageids: 1
indexpageids: 1,
curtimestamp: 1
});
});
}
}