User:Mike Dillon/Scripts/recentpages.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 30:
var cookieItems = historyCookie.split(",");
for (var n in cookieItems) {
historyItems.push(decodeURIComponent(cookieItems[in]));
}
}
Line 41:
for (var n in historyItems) {
var itemUrl = wgArticlePath.replace(/\$1/,
encodeURIComponent(historyItems[in]));
historyList.appendChild(li(
a({ href: itemUrl, title: historyItems[in] },
historyItems[in])));
}
}