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

Content deleted Content added
mNo edit summary
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879)
 
(One intermediate revision by one other user not shown)
Line 25:
wfAddMsg("es", "noPageHistoryText", "Ningún historial de páginas");
 
addOnloadHook$(function () {
// Set defaults for variables
if (!pageHistoryCookieName) pageHistoryCookieName = "pageHistory";
Line 124:
}
writeCookie(pageHistoryCookieName, historyCookie,
{ "path": "/", "expiresInDays": pageHistoryExpiresInDays });
});