User:Daniel Quinlan/Scripts/RangeHelper.js: Difference between revisions

Content deleted Content added
improve user talk page fetching and error handling
fetch more contributions when searching for talk pages if the page is reloaded
Line 296:
async function displayRangeTalk(ip) {
async function getUserTalkPages(ip) {
const reloaded = performance.getEntriesByType('navigation')[0]?.type === 'reload';
const url = `/wiki/Special:Contributions/${ip}?limit=${reloaded ? 1000 : 250}`;
const userTalk = new Set();
const abortController = new AbortController();